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 .net framework used for?
How we can add the CSS in ASP.Net MVC?
Where is tempdata stored?
I want ask from plz smaple example code for Biztalkk server
Explain bundle.config in mvc4?
Is .net core faster than .net framework?
how to disable the lazy loading framework?
Mention what is the difference between “ActionResult” and “ViewResult” ?
What are action filters?
What is main objective of asp.net mvc 4 or what is new in mvc4 ?
What are bundling & minification features in asp.net mvc 4?
What is the use .glimpse in mvc?
What is entity sql? : Entity framework
Which filter executes first in an asp.net mvc application?
In Server how to check whether model has error or not in ASP.Net MVC