S
Steph
Hello,
Could you please give me an exemple how to add a dropdownlist in a datagrid.
With this following code, I bind a datatable to a datagrid, and add a new
column. but I can't add a dropdownlist... :
DataTable dt = new DataTable();
dt = myUser.getUsers();
// Add coll
dt.Columns.Add(new DataColumn("--- Roles ---"));
//Bind
DataGrid1.DataSource = dt;
DataGrid1.DataBind();
Thanks for your help
Steph
Could you please give me an exemple how to add a dropdownlist in a datagrid.
With this following code, I bind a datatable to a datagrid, and add a new
column. but I can't add a dropdownlist... :
DataTable dt = new DataTable();
dt = myUser.getUsers();
// Add coll
dt.Columns.Add(new DataColumn("--- Roles ---"));
//Bind
DataGrid1.DataSource = dt;
DataGrid1.DataBind();
Thanks for your help
Steph