aspdotnet connection Sql server
来源:互联网 发布:经济学的书 知乎 编辑:程序博客网 时间:2024/04/28 17:28
<%@ Page Language="vb" %>
<%@ Import Namespace = "System.Data" %>
<%@ Import Namespace = "System.Data.SQL" %>
<html>
<head>
<script runat=server>
Sub Page_Load(ByVal Sender As Object, ByVal e As EventArgs)
'On Error Resume Next
Dim cn As SQLConnection
cn = New SQLConnection("server=localhost;uid=sa;pwd=;database=pubs;")
cn.Open()
If cn.State = 1 Then
lblReturnCode.Text = "The Connection State is: " & cn.State & " - Connection Succeeded"
Else
lblReturnCode.Text = "The Connection State is: " & cn.State & " - Connection Failed"
End If
End Sub
</script>
</head>
<body>
<asp:Label id="lblReturnCode" Runat=server />
</body>
</html>
- aspdotnet connection Sql server
- aspdotnet connection database compare
- aspdotnet
- SQL Server connection strings
- SQL server connection KeepAlive
- SQL Server Connection Basics
- Sql server 2005 connection string
- SQL server connection KeepAlive[转]
- SQL Server JDBC Connection Errors: Error establishing socket, connection refused...
- Connection strings for SQL Server 2008
- Connection strings for SQL Server 2008
- 有关SQL server connection KeepAlive 的FAQ
- Connection strings for SQL Server 2008
- Java jdbc Connection sql server And Oracle
- JDBC 连接SQL Server:Connection refused: connect
- SQL Server 连接加密 (1) -- SQL Server connection encyption
- SQL Server 连接加密 (2) -- SQL Server connection encyption
- SQL Server 连接加密 -- SQL Server connection encyption
- 迷茫
- 批处理文件,窗口中显示
- 加密解密程序
- 浙大教授郑强对科技和教育的反思
- 揭密:美军超级黑客特种部队
- aspdotnet connection Sql server
- aspdotnet connection database compare
- bolg申请成功 发文庆贺
- python Database API Specification v2.0
- asp.net connection database compare bewteen ado.net Managed provider to ado.net sql managed provider
- TOCMAT的web.xml详解(转贴)
- 电脑自动重启原因分析
- SQL Server CHARINDEX和PATINDEX详解
- A-M进程列表