标题:麻烦帮我看看sql语句这样写对吗??
取消只看楼主
heanzhjn
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2007-11-26
 问题点数:0 回复次数:0 
麻烦帮我看看sql语句这样写对吗??
DataGridItem t = e.Item;
   string ItemName = ((TextBox)t.FindControl("TextBox4")).Text;
   string TypeName =((DropDownList)t.FindControl("DropDownList3")).SelectedValue.ToString();
   string SZName =((DropDownList)t.FindControl("DropDownList4")).SelectedValue.ToString();
   string ShowName = ((TextBox)t.FindControl("TextBox5")).Text;
   string sql = "update  TrafficTable set TrafficItemName='" + ItemName + "',TrafficeType='" + TypeName + "',TrafficeFixation='" + SZName + "',TrafficeExplain='" + ShowName + "' where TrafficID=" + ();
搜索更多相关主题的帖子: sql 语句 麻烦 
2007-11-26 21:23



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-188601-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.246891 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved