\"Both DataSource and DataSourceID are defined on \'grdCommunication\'. Remove one definition.\"
I just got this error today, the code has been working until this after
Try this:
DataSet dsActivity = objCompany.GetActivityDetails(); grdCommunication.DataSource = dsActivity.Tables[0]; grdCommunication.DataBind();