Skip to content
Loading
How can i get checked row value ?
 TestingWebForm.aspx.cs
  1. protected void Page_Load(object sender, EventArgs e)  
  2. {  
  3.     if (!this.IsPostBack)  
  4.     {  
  5.         DataTable dt = new DataTable();  
  6.         dt.Columns.AddRange(new DataColumn[2] { new DataColumn("Id"), new DataColumn("Country") });  
  7.         dt.Rows.Add(1, "United States");  
  8.         dt.Rows.Add(2, "India");  
  9.         dt.Rows.Add(3, "France");  
  10.         dt.Rows.Add(4, "Russia");  
  11.         GridView1.DataSource = dt;  
  12.         GridView1.DataBind();  
  13.     }  

0