| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 957 人关注过本帖
标题:[原创]
只看楼主 加入收藏
chj18888
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2005-6-22
收藏
 问题点数:0 回复次数:2 
[原创]
各位大虾,在中如何连接SQLserver2000数据库??
搜索更多相关主题的帖子: 数据库 
2005-06-22 13:01
cql
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2005-4-17
收藏
得分:0 
名词空间:Imports System.Data.SqlClient
Dim Con As New SqlConnection("data source=服务器名称或者IP地址(127.0.0.1);initial catalog=所要连接的数据库名称(Northwind);user id=帐户;password=密码")
Con.Open()

/pa?p=1:123440016:10" 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://wpa./pa?p=1:123440016:10');}" onmousewheel="return imgzoom(this);" alt="" />/msgrd?V=1&Uin=123440016&Site=im.&Menu=yes" target="_blank">点击这里给我发消息
2005-06-22 14:04
程序人
Rank: 2
等 级:新手上路
威 望:3
帖 子:195
专家分:0
注 册:2005-4-5
收藏
得分:0 
刚学的话,就先用dataadapter让windows自动生成连接代码,你可以复制一下就可以了

洒家靠!悟空:我给你说过N遍了,叫你不要说我帅!虽然我承认我很帅!!
2005-06-22 14:28
快速回复:[原创]
数据加载中...
 
   



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

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