ASP.NET C# Must declare the scalar variable

后端 未结 6 1767
一生所求
一生所求 2021-01-17 23:56

I am trying to populate a GridView using a method called PopulateGrid() (below) but keep getting the same server error "Must Declare the scalar variable "@QUALID&q

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-18 00:50

    If using dropdown list you need to add selected value inside :

    SelectedValue='<%# Bind ("QUALID") %>'
    

提交回复
热议问题