SgDotNet
Singapore Professional .NET User Group -For Cool Developers

GridView - Deletion Failed

rated by 0 users
This post has 0 Replies | 1 Follower

Top 50 Contributor
Posts 81
mythios Posted: 02-28-2008 10:09 AM

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 fine
The [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?

 

 

Page 1 of 1 (1 items) | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems