assign value to a cell referencing by column name in itemdatabound
I would like to assign a value to a datagrid item using the column name
instead of using something like e.item.cell.text in itemdatabound
DataRowView rv = (DataRowView)e.Item.DataItem;
string strLocation = Convert.ToString(rv.Row["locationptr"].ToString())
I used dataitem to fetch, but i donno how to assign some value.
|All times are GMT. The time now is 08:41 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.