Hi all
I binding a datagrid by datasource property to a datatable.I determain datagrid columns by Columns property manualy. but when i run my project the columns of datatable is show in datagrid.But i want only columns that determains by column property shown in datagrid. Plz help me.
Thanks
Bechir BejaouiPosted Jun 3, 2008, 5:59 PM
Mubashir HassanPosted Jun 2, 2008, 5:14 AM
use
item template property and write code as
<%#DataBinder.Eval(Container.DataItem,"ColumnName">
Nader RafieePosted Jan 29, 2008, 8:37 AM
Hi My Freind.
I set the autogeneratecolumn to false . and create Columns by columns property. But records cannot show in datagrid.what problem ?
thanks
Blocked AccountPosted Jan 29, 2008, 1:31 AM
Set the property
AutoGenerateColumn = false
Happy Coding!!