I'm trying to cast my object in vsnet 2005. Help!
protected void gvEventsEdit_RowDataBound(object sender, GridViewRowEventArgs
e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
GCS.Business.Event.Event mEvent = ((GCS.Business.Event.Event)e.Row.DataItem);
int ownerGuid = mEvent.EventOwnerGuid;
}
}
any ideas?