关于数据添加修改的问题 i think you'd betton use the sp,that's simple.the rest question:存在就修改,不存在就插入,ref related help. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这个最好在存储过程中做Declare @Count intSelect @Count=Count(UserName) From UserInfoIF @Count=0BEGIN...插入ENDIF @Count>0BEGIN...更新END vbscript ????????vbscript 不行的。 我还是不明白,.net用vb的语法 使用dataadapterdap.fill(dt)if dt.rows.count=0 then dim dr as new datarowdr=dt.newrow()dr.item(i)=数据dt.rows.add(dr)else //存在end if C#关于js调用后台方法的问题 ASP.NET网络路径转义问题 web.config 是否可以指定 默认时区? 希望有才的人帮我解释一下这段代码!不怎么看得懂,谢谢! Intelligencia.UrlRewriter URL地址重写问题 初涉缓存和静态页面的生成地问题~ 找到一个过滤字符的类,如何来调用他呢???新手提问(就是如何在一个CS中调用另一个CS中的函数什么) 关于web开发界面排版的问题 使用表单验证遇到的奇怪问题 怎样Datagrid中的linkbutton怎样调用javascript XML 这东西真混蛋。 SqlDataReader错误
Declare @Count int
Select @Count=Count(UserName) From UserInfoIF @Count=0
BEGIN
...插入
ENDIF @Count>0
BEGIN
...更新END
vbscript 不行的。
dap.fill(dt)
if dt.rows.count=0 then
dim dr as new datarow
dr=dt.newrow()
dr.item(i)=数据
dt.rows.add(dr)
else
//存在
end if