“ xecuteReader”返回复数/非标量值。使用`` ExecuteScalar ‘’方法代替:
SqlCommand command = new SqlCommand(sqlquery, connection);fNameTextBox.Text = command.ExecuteScalar().ToString();
欢迎分享,转载请注明来源:内存溢出
“ xecuteReader”返回复数/非标量值。使用`` ExecuteScalar ‘’方法代替:
SqlCommand command = new SqlCommand(sqlquery, connection);fNameTextBox.Text = command.ExecuteScalar().ToString();
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)