Last post Feb 24, 2012 07:35 PM by ramesh.radam
Feb 24, 2012 02:18 PM|ramesh.radam|LINK
Hello can anybody tell me the steps to create a connection between applicaton to database in( C# and sql server2005 )
suggest me to write code methods a simple example application
Feb 24, 2012 02:23 PM|kartheek1307|LINK
first in webconfig..
<add name="sqlConnection" connectionString="Data Source=YOUR SERVERNAME;Initial Catalog=YOUR DB NAME;Integrated Security=True" />
Public Sub New()
' TODO: Add constructor logic here
Dim connectionString As String = ConfigurationManager.ConnectionStrings("sqlConnection").ConnectionString
SqlCon = New SqlConnection(connectionString)
Catch ex As Exception
Throw New Exception(ex.Message)
Feb 24, 2012 04:03 PM|ramiramilu|LINK
Do more google search to get to understand how to connect from asp.net to SQL....you may need to use words SqlConnection, SqlCommand or may be SqlDataSource etc...
Feb 24, 2012 07:35 PM|ramesh.radam|LINK
a wonderful URL that is forwared to me :i was gone throw it is very good and exterdinary message and easy to undestand.