Liverpoololympia.com

Just clear tips for every day

Lifehacks

How do I get GridView data in RowCommand event?

How do I get GridView data in RowCommand event? Below is the code for getting the selected Row in Gridview using RowCommand Event. protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == “selectproduct”) { textBox1.Text = Convert.ToString(e.CommandArgument.ToString()); } if Read more…