Aug 17, 2012 05:01 PM|sdnd2000|LINK
Hi, I am trying to get a column which has 4 rows into an array. Here is my code which doesn't work. The error is "can not convert char to string ". I have to use string.
DataTable dt = new DataTable();
dt = this.FavoritesUtility.GetFavoriteGroupSearchResult(SearchText, SearchType, LimitToList, UseSearchOption, Guid.Empty, ref FavoriteGroupGrid.MyXMLInfoObject.LayoutXMLInfo, 0);
foreach (DataRow dr in dt.Rows)
string CellValue = dr["UserGUID"].ToString().ToArray();