Must declare the scalar variable "@x_id".
i got this problem during "gridview.databind".
i dun know where i supposed declare the scalar variable.
after im doing some research, i got some solution are
1-InsertCommand.Parameters.Add("@x_id", SqlDbType.Int).Value = x_id.Value and
2-during select query if using where clause, the variable must same name with field..like 'select.......where x_id=@x_id.' it will not function if 'select.......where x_id=@xxx_id.'
both of it i already add and change in my coding..but it still error...
anyone can help me or fix it...??
|