View Single Post
  #1 (permalink)  
Old May 18th, 2007, 12:37 AM
akhilhp akhilhp is offline
Authorized User
 
Join Date: Nov 2006
Location: Mandi, Himachal Pradesh, India.
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to akhilhp
Default Worked on ASP 2005 but new to VB 2005

Dear friends,

I have experience in ASP 2005 and recently got a project in VB 2005. I am facing following shifting headaches:

1. In ASP I could use aqldatareader as datasource to drop down list, but in VB it is giving error.
2. I have imagined that app.config file is somewhat equivalent to web.config file. In ASP if I define some connection string say by name MyString then I can use following commands:

dim MyConStr as string = WebConfigurationManager.ConnectionStrings("MyStrin g").connectionString

con = new sqlconnection(MyConStr)

the connection establishes.
What is equivalent in VB 2005..

Please answer these two querries, I have lot more which will be coming after.

Akhilesh
Reply With Quote