想写个循环让每增加一个用户userID增加1
for (int i = 0; i++; )
{ db.AddUser( i,straccount, strPwd, RadioButtonList1.SelectedIndex, dpl_question.SelectedIndex, str); }但是不正确
还是改数据库呢?本人菜鸟级,求高手解答,谢谢!
------解决方案--------------------------------------------------------
你要相应修改AddUser的代码。
------解决方案--------------------------------------------------------