Posted on: 11/21/2013 4:30:13 PM | Views : 765

Hi,
Found sample girdview c# codes with add, edit, delete functions.
When i set "Display edit button" to "false" getting this error on this row
// Here we'll add a blank row to the returned DataTable DataRow dr = dt.NewRow(); dt.Rows.InsertAt(dr, 0); //Creating the first row of GridView to be Editable GridView1.EditIndex = 0; GridView1.DataSource = dt; GridView1.DataBind(); //Changing the Text for Inserting a New Record ((LinkButton)GridView1.Rows[0].Cells[0].Controls[0]).Text = "Insert"; How can i set this row to display insert link button to end of the gridview row?
Thanks

Go to the complete details ...