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 the 'page life cycle' of an ASP.NET MVC?
What is a razor file?
What is RouteConfig.cs in ASP.Net MVC 4?
What is basic authentication in web api?
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
How do I use partial view?
What is clr? How does work clr & wht is work of clr?
Explain the request flow in asp.net mvc framework?
What is the domain object?
How to Create an Intranet Site Using ASP.NET MVC?
What are action filters?
Does windows 10 need .net framework?
What is meant by domain model?
My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?
What are the 2 ways of adding constraints to a route?