I created a WebPage and insert a DetailView and GridView Control each.
Both Control using the same SQLDatasource which connect to a SQL Server MDF [Employee] DataTable
DetailView - List All Employee Records - Have Enabling Inserting function for creating New Employee Records
GridView - List All Employee Records - Have [Enabling Editing] and Enabling Deleting] option
The [Inserting] function for Detail View is working fineThe [Editing] function for Gridview is working fine too Except for the [Deleting] function for Gridview, it throw an exception error --> Must declare the scalar variable "@EmployeeID".
Any1 can advise how to fix this error?