Hi Team,
While inserting a new row in the radgridview, we are getting an error (Data Exception 'Column' does not allow nulls) in RadGridview 2023.1.314.40.
Except first 2 parameters the remaining params are throwing an error. Please refer the attached screenshot and code block below . Could you please help to solve this issue?
Note: Its working fine in Telerik.WinControls.GridView.dll 2013.3.1127.40
private void BtnInsertNPAPrice_Click(object sender, EventArgs e)
{
try
{
if (GridView.Rows.Count > 0)
{
if (GridView.DataSource != null && ((DataTable)GridView.DataSource).Rows.Count > 0)
{
this.GridView.Rows.Add("Test", "875", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
}
}
catch (Exception ex)
{
RadMessageBox.Show(ex.Message, Common.ErrorMsgHeader, MessageBoxButtons.OK, RadMessageIcon.Error);
}
}
Thanks
Rajkannan