取“编号”列的最大值,是不是这样写的啊??
这样写还是取不出来啊: string strSQL = "select max(studentid) from studentinfo";
SqlCommand cmd = new SqlCommand(strSQL, conn);
cmd.ExecuteScalar();
想把最大值副给一个变量,怎么弄?
2007-07-22 13:17
2007-07-22 14:48
2007-07-22 16:17
2007-07-22 18:43
2007-07-23 18:00