H
Hezal
Hi,
I am trying to add a new record to a table but everytime I click the button,
somehow it saves the record twice...
I've created a stored procedure to insert records into a table and I called
that procedure in the code that I attached to a button click.
Here is the event handler code which is created automatically:
this.AddCustomer.Click += new System.EventHandler(this.AddCustomer_Click);
I checked the stored procedure and the code attached to the button and I
can't see what is wrong.
I would appreciate any suggestions for any possible solution. Thanks.
I am trying to add a new record to a table but everytime I click the button,
somehow it saves the record twice...
I've created a stored procedure to insert records into a table and I called
that procedure in the code that I attached to a button click.
Here is the event handler code which is created automatically:
this.AddCustomer.Click += new System.EventHandler(this.AddCustomer_Click);
I checked the stored procedure and the code attached to the button and I
can't see what is wrong.
I would appreciate any suggestions for any possible solution. Thanks.