Member
420 Points
137 Posts
May 21, 2016 08:41 AM|Junfeng Dai|LINK
Hi Lexi85,
Exception Details: System.Data.SqlClient.SqlException: Must declare the scalar variable "@Type".
According to your description and exception, I suggest that your could reconfigure SqlDataSource control to include Type field.
For more information, click here to refer about Using Parameters with the SqlDataSource Control
Member
420 Points
137 Posts
Re: need a add a fixed value to gridview column
May 21, 2016 08:41 AM|Junfeng Dai|LINK
Hi Lexi85,
According to your description and exception, I suggest that your could reconfigure SqlDataSource control to include Type field.
For more information, click here to refer about Using Parameters with the SqlDataSource Control
Junfeng Dai