I am now in a problem to prompt user at the first run of my program.
The Server is msSql Server 2008 R2 and Plaform vb.Net 2010. At the time of starting, the program starts to search the file, where the ConnectionString is saved. If it get then well else prompt to the user to get help to make the connection string.
User will choose the followings
1) Server / Host Name.
2) Windows Authentication or SQL Server Authentication
3) Database Name.
4) User Name & Password (For Server)
I am not understand where from I call it and how ?
Santanu Das
4
Junior Poster in Training
Recommended Answers
Jump to PostTry this:
if Not YourConnection.state = ConnectionState.Open Then 'promot user end if
All 4 Replies
oussama_1
39
Posting Whiz in Training
anthonydaly
16
Junior Poster in Training
SalmiSoft
102
Junior Poster
Santanu Das
4
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.