How to bind table coloum with gridview column
Answer Posted / amit
hi,
you use gridview content click event, in this you do like that
if (dgvCustomers.CurrentRow.Index != -1)
{
if (dgvCustomers.CurrentCell.OwningColumn.Name == "eventype")
if (Convert.ToString(dgvCustomers.CurrentCell.Value) ==
"1")
{ msgbox.show("Hello World ..."); }
}
else
{
MessageBox.Show("Hi its amit" );
}
| Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
What is orm entity framework?
What is mapping in entity framework? : Entity framework
explain how you can load related entities in ef (entity framework)?
What is an asynchronous controller in asp.net mvc?
what is split entity?
Is dapper faster than entity framework?
What are the two ways to add constraints to a route?
what do you mean by table-per-hierarchy?
How do I install .net framework?
How can I tell what .net framework is installed?
What is needed for running an application built on winfx on the .net framework 3.0?
how to disable the lazy loading framework?
what is entity sql?
What is partialview in asp.net mvc?
what is eager loading?