ComboBoxColumn in Datagrid
-
Hi Well I really need a dummy's manual about ComboBoxColumn in a Datagrid, I try to do it, but still doesn't work, I made this: 1 - I added a ComboBoxColum class from MSDN. 2 - I added a TableStyle to my datagrid, this datagrid's datasource is a dataview. The MappingName is empty?? :confused: 3 - I made a instance of the ComboBoxColum class, and I added it to the TableStyle. 4 - I binded the ComboBoxColum to a table. In theory is all, or no?? And what it doesn't work??? Thanks ---- hxxbin
-
Hi Well I really need a dummy's manual about ComboBoxColumn in a Datagrid, I try to do it, but still doesn't work, I made this: 1 - I added a ComboBoxColum class from MSDN. 2 - I added a TableStyle to my datagrid, this datagrid's datasource is a dataview. The MappingName is empty?? :confused: 3 - I made a instance of the ComboBoxColum class, and I added it to the TableStyle. 4 - I binded the ComboBoxColum to a table. In theory is all, or no?? And what it doesn't work??? Thanks ---- hxxbin
Refer to following article....it might help http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp Thanks Ruchi
-
Refer to following article....it might help http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp Thanks Ruchi
http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp[^]
Microsoft MVP, Visual C# My Articles
-
Refer to following article....it might help http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp Thanks Ruchi
Yeah, I try this too, but I look my problem is with the MappingName, into my TableStyle I can't choose anything, and if type something the datagrid isn't works, like I know the MappingName is the table to used (a DataMember), but I'm working with a DataView, so don't use DataMember, and I can't use a Mapping Name :(. I must try to develop the datagrid form again from zero :sigh: or what?? ---- hxxbin
-
Yeah, I try this too, but I look my problem is with the MappingName, into my TableStyle I can't choose anything, and if type something the datagrid isn't works, like I know the MappingName is the table to used (a DataMember), but I'm working with a DataView, so don't use DataMember, and I can't use a Mapping Name :(. I must try to develop the datagrid form again from zero :sigh: or what?? ---- hxxbin
try tableStyle.MappingName = dataView.Table.TableName;
-
try tableStyle.MappingName = dataView.Table.TableName;
-
I got it, I made the datagrid works with a DataTable :-D Now I will try with the DataView X| Thanks, I'll try your comment. ---- hxxbin