请问如何用vb.net读取access数据库某一字段的最后一条记录?
DimtablenameAsString="人员信息表"DimstrrAsStringstrr="selecttop1证件号码from人员信息表orderbyiddesc...
Dim tablename As String = "人员信息表"
Dim strr As String
strr = "select top 1 证件号码 from 人员信息表 order by id desc"
Commonmodule.SQLOpera(strr, tablename) 展开
Dim strr As String
strr = "select top 1 证件号码 from 人员信息表 order by id desc"
Commonmodule.SQLOpera(strr, tablename) 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询