Sunday, November 23, 2014

asp.net find label text from gridview row

  category_entity.CategoryId = Convert.ToInt32(((Label)GridView1.Rows[e.RowIndex]
                               .FindControl("lblCategoryId")).Text);

No comments:

Post a Comment