Posted on: 1/19/2012 9:56:16 PM | Views : 260

I have a form with 4 txt fields and one gridview.. bound to nothing
I have a few goals to accomplish with this "not bound" grid view.
-Delete a incorrect entry,
-populate grid view on load from sql
-save to sql from the data in the gridview.
Currently I can't delete a row, because commandbuttons in the grid view don't allow a onclick method...
how can I get around this?
This is what I'm doing to manually populate the grid....

 public partial class WebForm1 : System.Web.UI.Page
    {
       protected void Page_Load(object sender, EventArgs e)
       {
           if (!IsPostBack)
           {
               DataTable dt = new DataTable("ProductItems");
Go to the complete details ...