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如何表示?