TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Simon Bradley
NA
3
0
Comments on database connection method
Dec 22 2009 5:45 AM
Hi there,
I was wondering if i could use database connection code in the global.asax like the following. I'm doing my first .net web app currently.
public static DatabaseConnection Connection
{
get
{
string connectionString =
"Initial Catalog = ??????????; Integrated " +
"Security = true; Network Library = ????????; " +
"Packet Size = 4096";
return new DatabaseConnection("Data Source = ????????; " + connectionString);
}
}
Any comments would be much appreciated chaps.
Reply
Answers (
2
)
How to work with FileUpload Control
need a good Example for Prtial Class in C#