santhosh_ms3
New member
- Joined
- Jun 3, 2012
- Messages
- 1
- Programming Experience
- Beginner
I have a datagrid which has one custom column(List Box) which should be populated from the resultset of a SQL Stored Procedure. I used dataset to handle and assign the values to custom column(List Box). List box is populating from the dataset but i'm unable to show the default(actual) value in the listbox column instead its populating empty initially. what could be the problem. i set displaymember and valuemember properties to the customcolumn in the datagrid.
With Customgrid
If ds.tables(0).Rows.Count > 0 then
.Displaymember = "description"
.Valuemember = "description"
.DataSource = ds.Tables(0)
Is there anything to do with? whay the actual value for the row in datagrid is not showing from list box ?
With Customgrid
If ds.tables(0).Rows.Count > 0 then
.Displaymember = "description"
.Valuemember = "description"
.DataSource = ds.Tables(0)
Is there anything to do with? whay the actual value for the row in datagrid is not showing from list box ?