I'm using telerik grid view and multi column combo box
i want to get the first element of combo box and insert it in the first cell of the grid view and then insert it into DB
i get a run time error when i select the combo box element
Object reference not set to an instance of an object
here is where it occurs (in the last line)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
and here's my code which leads to this run time error
private void radMultiColumnComboBox3_SelectedIndexChanged(object sender, EventArgs e)
{
string text;
text = radMultiColumnComboBox3.SelectedValue.ToString();
radGridView1.Rows.Add(Text);
}