G
Guest
Hi Guys,
I have a link button in TemplateField in a gridview called
"transactionListGridView" and when tying to run this:
protected void transactionListGridView_RowCommand(object sender,
GridViewCommandEventArgs e)
{
if (e.CommandName=="select")
{
string transactionID =
transactionListGridView.SelectedRow.Cells[1].Text;
messageLabel.Visible = true;
messageLabel.Text = xx;
}
}
it gives me this error message: "Object reference not set to an instance of
an object" do U know what could be the problem!!?
Cheers Guys.
I have a link button in TemplateField in a gridview called
"transactionListGridView" and when tying to run this:
protected void transactionListGridView_RowCommand(object sender,
GridViewCommandEventArgs e)
{
if (e.CommandName=="select")
{
string transactionID =
transactionListGridView.SelectedRow.Cells[1].Text;
messageLabel.Visible = true;
messageLabel.Text = xx;
}
}
it gives me this error message: "Object reference not set to an instance of
an object" do U know what could be the problem!!?
Cheers Guys.