H
HockeyFan
protected void gvAuthorizedSigners_RowCommand(object sender,
GridViewCommandEventArgs e)
{
if (e.CommandName == "EmptyInsert")
{
odsAuthorizedSigners.Insert();
return;
}
if (e.CommandName == "Insert")
{
odsAuthorizedSigners.Insert();
return;
}
}
How do I findcontrol the ObjectDataSource for this gridview.
Normally, it wouldn't be necessary, but since this RowCommand event
can happen with any instance of the gridview, since that are multiples
(since it's inside a repeater), how do I find the ObjectDataSource?
GridViewCommandEventArgs e)
{
if (e.CommandName == "EmptyInsert")
{
odsAuthorizedSigners.Insert();
return;
}
if (e.CommandName == "Insert")
{
odsAuthorizedSigners.Insert();
return;
}
}
How do I findcontrol the ObjectDataSource for this gridview.
Normally, it wouldn't be necessary, but since this RowCommand event
can happen with any instance of the gridview, since that are multiples
(since it's inside a repeater), how do I find the ObjectDataSource?