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
Does Tempdata hold the data for other request in ASP.Net MVC?
What is the use of the default route {resource}.axd/{*pathinfo} ?
What is entity graph? : Entity framework
Explain the difference between viewbag and viewdata in mvc?
What is .net framework used for?
What is renderbody?
Does .NET Framework support SAX?
What operating systems will the .net framework 3.0 be available for?
Is dapper faster than entity framework?
What is the full form of sp?
What is stateless model?
How do I install .net framework?
mention what is csdl, ssdl and msl sections in an edmx file?
What is the purpose of a web form?
What is ado.net data provider? : Entity framework