标题:[求助]高手请进来帮忙
只看楼主
dxq8293
Rank: 1
等 级:新手上路
帖 子:33
专家分:0
注 册:2005-4-10
 问题点数:0 回复次数:5 
[求助]高手请进来帮忙
我在编写用BindDataGrid方法显示数据库记录时出现了错误,请大家帮忙看看。详情请见压缩包
3i1ra3ZG.rar (41.49 KB) [求助]高手请进来帮忙

搜索更多相关主题的帖子: 数据库 记录 压缩包 
2005-05-08 12:42
幻风幻云
Rank: 1
等 级:新手上路
帖 子:762
专家分:0
注 册:2005-1-14
得分:0 
数据库方面请找yushengou指导


2005-05-08 13:17
yushengou
Rank: 1
等 级:新手上路
帖 子:401
专家分:0
注 册:2005-3-30
得分:0 
幻幻你想干什么
偶是初学者滴说

我是初学者,希望大家能多多帮助我 /bbs/showimg.asp?BoardID=34&filename=2005-4/200542294030151.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs./bbs/showimg.asp?BoardID=34&filename=2005-4/200542294030151.gif');}" onmousewheel="return imgzoom(this);" alt="" />
2005-05-08 14:10
xianglipp
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2005-5-8
得分:0 
靠,看完源码,天都亮了!!!晕
2005-05-08 21:45
yushengou
Rank: 1
等 级:新手上路
帖 子:401
专家分:0
注 册:2005-3-30
得分:0 
美女说话要斯文

我是初学者,希望大家能多多帮助我 /bbs/showimg.asp?BoardID=34&filename=2005-4/200542294030151.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs./bbs/showimg.asp?BoardID=34&filename=2005-4/200542294030151.gif');}" onmousewheel="return imgzoom(this);" alt="" />
2005-05-09 08:42
dxq8293
Rank: 1
等 级:新手上路
帖 子:33
专家分:0
注 册:2005-4-10
得分:0 
谢谢楼上的给我回了帖子,问题已经解决了,原来我在Web.Config中设置的数据库的连接字符串,在后来的编程中又重新编写连接字符串所以才出现了不能更改ConnectionString属性的错误提示。 解决方法是在编程时运用以下语句就OK了: //从文件Web.config中读取连接字符串 string strconn=ConfigurationSettings.AppSettings["connectionString"]; //连接本地计算机的test数据库 SqlConnection cn=new SqlConnection(strconn); cn.Open();
2005-05-10 21:00



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




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

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