Dot Net Framework Question:

How to bind table colum with gridview column?

Tweet Share WhatsApp

Answer:

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" );
}

Download Dot Net Framework PDF Read All 22 Dot Net Framework Questions
Previous QuestionNext Question
How to update one of my table in database at 4pm every day how it is possible?When i am using Ajax controls (update panel), Is page events all are executed or only some events are executed? which page events are executed?