\"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
always bind dataset with table index to gridview...
ex. gridgrdCommunication.Table[0]; as metioned above by Tsilb
second way you intentionally write..
gridgrdCommunication.DataSourceID = String.Empty; gridgrdCommunication.DataSource=ds; gridgrdCommunication.DataBind();