Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
dotnw@hotmail.com #1
Gridview - how to delete row using stored procedure?
If I want to delete a row in a GridView control using a stored
procedure, what do the DeleteParameters look like?
Do I use an asp:ControlParameter?
Do I use an asp:Parameter?
I also thought perhaps trying to incorporate the GridView's
DataKeyNames property somehow - so, when you click on a row to delete,
it knows what the primary key is, and that would be the parameter to
feed in to the stored procedure..?
Thanks, regards, dnw.
dotnw@hotmail.com Guest
-
Stored Procedure
EXEC master..xp_cmdshell 'cscript c:\path\file.vbs' EXEC master..xp_cmdshell 'c:\path\file.exe' "Kannan" <gk_i@yahoo.com> wrote in message... -
stored procedure help
Hi all! I am in need of writing a few stored procedures. The first one is to create a stored procedure to recover a database from backup and the... -
GridView paging/sorting - will it work with stored procedures?
Can anyone tell me whether the new ASP.NET 2.0 GridView control supports sorting and paging when the data source is a SQL stored procedure, e.g.... -
Stored procedure from stored procedure
Is it possible to create a stored procedure from a stored procedure? When I attempt this inanity, it doesn't blow up until syntax error at the... -
Delete one stored procedure take 5 minutes
Dear Larry, The platform is B50 with 1GM RAM running with DB2 UDB 7.2.7. It seems that not a special stored procedure; however, the prolonged... -
dotnw@hotmail.com #2
Re: Gridview - how to delete row using stored procedure?
I got it, it's simple, it's just
<DeleteParameters>
<asp:Parameter Name="original_iIdent" Type="Int32" />
</DeleteParameters>
Where iIdent is the primary key col, for this example.
dotnw@hotmail.com Guest



Reply With Quote

