p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Visual Basic 2005 Basics (http://p2p.wrox.com/forumdisplay.php?f=137)
-   -   Worked on ASP 2005 but new to VB 2005 (http://p2p.wrox.com/showthread.php?t=58032)

akhilhp May 18th, 2007 12:37 AM

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


All times are GMT -4. The time now is 10:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.