SQL 2005 connection to ASP.NET

How to connect SQL 2005 Database to ASP.NET in codes

Page 1 of 1

3 Replies - 4026 Views - Last Post: 15 April 2010 - 05:05 AM Rate Topic: -----

#1 su_ma_2010   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 13-April 10

SQL 2005 connection to ASP.NET

Posted 13 April 2010 - 10:16 AM

:red_indian: Can someone tell me how to connect asp.net web page to SQL SERVER 2005 Management studio express in codes??????????????????????/
Is This A Good Question/Topic? 0
  • +

Replies To: SQL 2005 connection to ASP.NET

#2 gehres   User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 17
  • Joined: 28-October 09

Re: SQL 2005 connection to ASP.NET

Posted 13 April 2010 - 08:13 PM

Hi Su_ma_2010,
We could use a bit more information on what you are trying to do here. Are you working on a local environment or trying to connect to a shared or remote SQL Server?
Was This Post Helpful? 0
  • +
  • -

#3 b.ihde   User is offline

  • D.I.C for life
  • member icon

Reputation: 45
  • View blog
  • Posts: 1,070
  • Joined: 29-September 08

Re: SQL 2005 connection to ASP.NET

Posted 14 April 2010 - 01:04 AM

LMGTFY^^

Watch the w3schools entry to get an idea how to start what you re trying to do ;)

Ben

This post has been edited by b.ihde: 14 April 2010 - 01:04 AM

Was This Post Helpful? 0
  • +
  • -

#4 sammy1234   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 2
  • Joined: 15-April 10

Re: SQL 2005 connection to ASP.NET

Posted 15 April 2010 - 05:05 AM

View Postsu_ma_2010, on 13 April 2010 - 09:16 AM, said:

:red_indian: Can someone tell me how to connect asp.net web page to SQL SERVER 2005 Management studio express in codes??????????????????????/




use sqlconnection con=new sqlconnection("put ur Connection string here");
and lets follow the Ado.net
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1