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
which are the key concepts of entity data model?
How do I install .net framework?
Explain the 'page lifecycle' of an ASP.NET MVC?
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
What are the advantages of mvc over asp.net?
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
What is MVVM design pattern?
Can any particular component of .net framework 3.0 be removed?
Mention the core components of .net framework?
Do you know about the new features in ASP.Net MVC 4 ?
What is domain class model?
what is client wins and store wins mode in entity framework concurrency?
How does �side by side� work for the .net framework 3.0?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
Explain the new features added in version 4 of mvc (mvc4)?