Dot Net Framework Question:

Download Job Interview Questions and Answers PDF

How to bind table colum with gridview column?

Dot Net Framework Interview Question
Dot Net Framework Interview Question

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 Interview Questions And Answers PDF

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?