1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

How to connect ASP.Net 3.5 to SQL Database

Discussion in 'Web Design & Development' started by bretta91, Jan 3, 2011.

Thread Status:
Not open for further replies.
  1. bretta91

    bretta91 Thread Starter

    May 22, 2010
    [using vs2008 + SQL express +c#]
    Hello, im relatively new to web development and i need some guidance to connect the pages to the database:

    1. Connect the Forms (text boxes) to specific feilds in the database so that the entered data will be stored in the feild.

    2. Connect some text feilds (ex. prices, titles) to specific fields so that when the field is updated the website must be updated also.

    3. Connect some pictures (ex. product pictures) to image fields so that when the image is changed the website must get the new picture also.
  2. maneetpuri


    Oct 14, 2008

    define the Beow code in the web.config file

    <add name="connect" connectionString="Data Source=websenew;Initial Catalog=deenclick;user id=sa;password=GktpElsa123;" providerName="System.Data.SqlClient"/>

    Hope this helps,
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/972407

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice