MyControl.GetType().FullName =
"System.Web.UI.WebControls.DropDownList"
MyDDL = MyControl
DBInsert.CommandText = "Insert Into SurveyResponses " +
"(SurveyQuestionID, SurveyResponse) " +
"values (" +
Mid(MyDDL.ID, 2) + ", " +
"'" +
Replace(MyDDL.SelectedItem.Text, "'", "''") +
"')"
"System.Web.UI.WebControls.DropDownList"
MyDDL = MyControl
DBInsert.CommandText = "Insert Into SurveyResponses " +
"(SurveyQuestionID, SurveyResponse) " +
"values (" +
Mid(MyDDL.ID, 2) + ", " +
"'" +
Replace(MyDDL.SelectedItem.Text, "'", "''") +
"')"
解决方案 »
- 关于ASP。NET AD编成!懂得帮帮 !不了解 的吼一下!有分!
- 菜鸟问关于http module的问题
- 如何定位页面滚动到最下面,要求不能用锚点
- 大家睬睬这个网站的分类表该如何设计?巨难,数据库版没人答!急死人!!!
- 急!~制作报表的问题
- asp.net + access写数据库提示的错误,什么原因
- 急!how to create an organization chart in visio from database using asp.net(c#)
- session传值不添加路径 能正常用获取到信息 但会有什么遗留问题
- uploadify3.2插件,文件上传,firefox,http error(401)
- 我想在ASP。NET中写客户端脚本,如何做
- :(
- 是不是安装了,vs.net 其他的都可以不用装了?就可以运行.net 的程序了?
''中的第一个'就是一个转义符