hello every one i am facing error of telril UI when i want to show data on textboxes oncell click
here is my code
- private void radGridView1_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
- {
- if (e.RowIndex >=0)
- {
- DataGridViewRow row = this.radGridView1.Rows[e.RowIndex];
- txtaddbookID.Text=row.Cells["bookID"].Value.ToString();
- txtbookName.Text = row.Cells["BookName"].Value.ToString();
- txtBookPrice.Text = row.Cells["bookPrice"].Value.ToString();
- txtBookQuantity.Text = row.Cells["bookCount"].Value.ToString();
- }
- }
tahnks in advance