I haven't done this before and need some guidance.
I need to collect the value from a hidden field on a GridView and pass that value to an SQL Server stored procedure in order to create a new row in the gridview and assign the foreign key value to the appropriate field in the underlying table.
Unfortunately I'm not conversant with C# so VB.Net examples etc. please.
I'm not really sure how to have the stored procedure locate and use the value either.
JayDubbya
Member
61 Points
57 Posts
Pass value from GridView field to stored procedure.
May 02, 2012 11:51 PM|LINK
Hi all.
I haven't done this before and need some guidance.
I need to collect the value from a hidden field on a GridView and pass that value to an SQL Server stored procedure in order to create a new row in the gridview and assign the foreign key value to the appropriate field in the underlying table.
Unfortunately I'm not conversant with C# so VB.Net examples etc. please.
I'm not really sure how to have the stored procedure locate and use the value either.