首页新闻找找看学习计划

rstDB.Fields(rstDB.Fields(j).Name)=Request(rstDB.Fields(j).Name) 用.NET如何表示

0
悬赏园豆:5 [已关闭问题] 关闭于 2013-06-09 09:50

strSql = "SELECT top 1 * FROM tbInfo "
Set rstDB = DataToRsStatic(conn, strSql)

rstDB.AddNew
fieldCount = rstDB.Fields.Count
rstDB.Fields("AdminUser")=session("UserName")
For j = 9 to fieldCount - 1
if Request(rstDB.Fields(j).Name)<>"" then
rstDB.Fields(rstDB.Fields(j).Name)=Request(rstDB.Fields(j).Name)
end if
next

rstDB.Fields("UserName")=session("UserName")
rstDB.Fields("CreateTime")=now()
rstDB.Update
Set rstDB = nothing

 

那句加粗的代码用.NET如何表示?

hamigua的主页 hamigua | 初学一级 | 园豆:4
提问于:2013-06-08 14:14
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册