When records from loaded gridview1 are checked and moved to gridview2, I need the record to delete in the grdiview1 each time.
Hi,
Please find attached aspx web page and code behind which loads grdiview1 from a datatable. When each record is checked and selected in gridview1 and the button is selected to move the record to grdiview2, I need for the checked record in Gridview1 to delete and not show any longer.
How can this be done with vb coding inside the code behind file. I have attached the web form aspx page and the web form code behind page using vb.
This application is using the Northwind database.
My actual application using this little application as a guide will load a datatable which will fill a grdiview from a stored procedure. When I select the record in gridview1, I need the record to move to gridview2 ,but delete out each time which indicates something has happened with this record. Moving-aspx.docx Moving-aspx-vb.docx MovingwebConfigurationFile.docx
I used the "gvRow" but I am getting an error message that there can't be a delete with an SQL DataSource. You have to indicate somehow in a command for the gridview.
The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications
ASKER
I am getting a blue squiggly line on dvRow saying "dvrow" has not been declared. Does the dvrow need declaring with a Dim statement somewhere?
aspnerd_55