HELP! How can I assign SQL Result to ASP.Net variables?

Discussion in 'C#' started by JEP_Dude, Dec 23, 2009.

  1. #1
    Hey there!

    How is it possible to assign the results of an SQL query to variables in ASP.Net in VS 2008? I know how to write from VB.Net to SQL. But how can I read back the contents of an SQL DB file with a program other than SQL Server? How is this done?

    May you have a blessed day as the Lord wills.

    JEP
     
    JEP_Dude, Dec 23, 2009 IP
  2. avkluki

    avkluki Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What do you use for getting result from SQL - DataReader or DataSet ?
     
    avkluki, Dec 24, 2009 IP
  3. JEP_Dude

    JEP_Dude Peon

    Messages:
    121
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I use neither at this stage. Which would you suggest?
     
    JEP_Dude, Dec 24, 2009 IP
  4. nikes

    nikes Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can use DataReader for selecting values to ASP.net variables.If you need more hep PM me the details or Refer My Link
     
    nikes, Dec 26, 2009 IP