3
Answers

I got this error

Kiran Kumari

Kiran Kumari

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