G
Guest
Howdy All,
I don't understand how to correct an error I encounter when trying to
control GridView DataBound data flow.
error CS0123: No overload for 'GridView2_DataBound' matches delegate
'System.EventHandler'
protected void GridView2_DataBound(object sender,
GridViewRowEventArgs e)
String PartImageLocation =
Convert.ToString(System.Web.UI.DataBinder.Eval(e.Row.DataItem,
"PartImageLocation"));
Code is normally generated for:
protected void GridView2_DataBound(object sender, EventArgs e)
Or another way to ask the same question is can I dig into the data via
EventArgs instead of GridViewRowEventArgs (and how?)
Many thanks for any help you can provide,
Dale E. Moore
I don't understand how to correct an error I encounter when trying to
control GridView DataBound data flow.
error CS0123: No overload for 'GridView2_DataBound' matches delegate
'System.EventHandler'
protected void GridView2_DataBound(object sender,
GridViewRowEventArgs e)
String PartImageLocation =
Convert.ToString(System.Web.UI.DataBinder.Eval(e.Row.DataItem,
"PartImageLocation"));
Code is normally generated for:
protected void GridView2_DataBound(object sender, EventArgs e)
Or another way to ask the same question is can I dig into the data via
EventArgs instead of GridViewRowEventArgs (and how?)
Many thanks for any help you can provide,
Dale E. Moore