L
Loading name...
hey
asp.net 2.0
I have a GridView which get its data from a SqlDataSource object on the
webpage. This GridView consist of 1 column (I removed the id column because
the user don't need to see it. Maybe the Update need this column?)
I have enabled updating on the GridView. In Sql Server 2005 I created a new
stored procedure which takes 2 parameters: id and the new value.
My problem is that I don't know how to specify the parameter.for the "new
value", I know how to specify the id (using command and parameter editor)
How do I specify the parameter for this "new value" (the change the user
made to the field)?
Maybe there is a better way of doing this, please come with suggestion
Best Regards
asp.net 2.0
I have a GridView which get its data from a SqlDataSource object on the
webpage. This GridView consist of 1 column (I removed the id column because
the user don't need to see it. Maybe the Update need this column?)
I have enabled updating on the GridView. In Sql Server 2005 I created a new
stored procedure which takes 2 parameters: id and the new value.
My problem is that I don't know how to specify the parameter.for the "new
value", I know how to specify the id (using command and parameter editor)
How do I specify the parameter for this "new value" (the change the user
made to the field)?
Maybe there is a better way of doing this, please come with suggestion
Best Regards