Hello Telerik Team,
i have some issues with the comobobox column of radgridview for winforms
here is the below code
GridViewComboBoxColumn colLithography = new GridViewComboBoxColumn();
colLithography.DataType = typeof(string);
colLithography.DataSource = dt; // dt is having only one Column called Name
colLithography.HeaderText = "Lithography";
colLithography.ValueMember = "Name";
colLithography.DisplayMember = "Name";
colLithography.FieldName = "Name";
//colLithography.DataType=
this.rGVPP.Columns.Insert(2, colLithography); // rGVPP is Radgridview
Above code perfectly added the values to the combobox
but now i want to save the gridview data to database,
So in Btn_Save click i am reading sending the gridview values to a query like below, observe the debug at break point which is the code
and in the quick watch window the value is null, throwing exception here
but my grid having values in all the cell, when i try to read the value of a particular cell of combobox column, its giving null value.
Please help me.
i have some issues with the comobobox column of radgridview for winforms
here is the below code
GridViewComboBoxColumn colLithography = new GridViewComboBoxColumn();
colLithography.DataType = typeof(string);
colLithography.DataSource = dt; // dt is having only one Column called Name
colLithography.HeaderText = "Lithography";
colLithography.ValueMember = "Name";
colLithography.DisplayMember = "Name";
colLithography.FieldName = "Name";
//colLithography.DataType=
this.rGVPP.Columns.Insert(2, colLithography); // rGVPP is Radgridview
Above code perfectly added the values to the combobox
but now i want to save the gridview data to database,
So in Btn_Save click i am reading sending the gridview values to a query like below, observe the debug at break point which is the code
and in the quick watch window the value is null, throwing exception here
but my grid having values in all the cell, when i try to read the value of a particular cell of combobox column, its giving null value.
Please help me.