Click here to Skip to main content
15,913,408 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: background-image Issue Pin
Brendan Vogt9-May-07 20:27
Brendan Vogt9-May-07 20:27 
AnswerRe: background-image Issue Pin
Guffa9-May-07 20:56
Guffa9-May-07 20:56 
GeneralRe: background-image Issue Pin
Brendan Vogt9-May-07 21:04
Brendan Vogt9-May-07 21:04 
AnswerRe: background-image Issue Pin
Guffa10-May-07 5:33
Guffa10-May-07 5:33 
AnswerRe: background-image Issue Pin
N a v a n e e t h9-May-07 16:39
N a v a n e e t h9-May-07 16:39 
QuestionCan i have two Databases for single web application? Pin
SasiP9-May-07 8:37
SasiP9-May-07 8:37 
AnswerRe: Can i have two Databases for single web application? Pin
Colin Angus Mackay9-May-07 11:51
Colin Angus Mackay9-May-07 11:51 
AnswerRe: Can i have two Databases for single web application? Pin
RodEffect9-May-07 13:08
RodEffect9-May-07 13:08 
Yep - I use two databases for the ASP.Net ap I am working on, just need to define two connection strings, I use:

Dim conn As New SqlConnection("Server=SERVER;" & _
"Database=DATABASE1;User ID=nottelling;Password=nottelling")

Dim conn2 As New SqlConnection("Server=SERVER;" & _
"Database=DATABASE2;User ID=nottelling;Password=nottelling")

(this may not be the best way to do it, but it works)

also, remember you can query two databases in a single SQL query if they are on the same server

Dim SignedOutCommand As New SqlCommand("Select S.StaffID, S.InTime, S.HaveMob, I.FirstName, I.LastName FROM WhereAreYou.dbo.StaffOut S, Infobase.dbo.Staff I WHERE S.StaffID = I.StaffID ORDER BY I.FirstName", conn)

is one of my commands.

Hope this helps!
Questionsharing web pages accross applications Pin
adern9-May-07 7:26
adern9-May-07 7:26 
QuestionIssues in Word Automation Pin
Sankara Narayana9-May-07 4:43
Sankara Narayana9-May-07 4:43 
QuestionError using System.Configuration.NameValueSectionHandler Pin
bensalins9-May-07 4:08
bensalins9-May-07 4:08 
QuestionApplying stylesheet to ajax autocompleteextender [modified] Pin
Sandeep_Kumbhar9-May-07 2:36
Sandeep_Kumbhar9-May-07 2:36 
QuestionRandom Draw Pin
Sam Heller9-May-07 2:23
Sam Heller9-May-07 2:23 
AnswerRe: Random Draw Pin
Tarakeshwar Reddy9-May-07 3:14
professionalTarakeshwar Reddy9-May-07 3:14 
GeneralRe: Random Draw Pin
Sam Heller9-May-07 3:25
Sam Heller9-May-07 3:25 
GeneralRe: Random Draw Pin
Tarakeshwar Reddy9-May-07 3:32
professionalTarakeshwar Reddy9-May-07 3:32 
GeneralRe: Random Draw Pin
Sam Heller9-May-07 3:33
Sam Heller9-May-07 3:33 
GeneralRe: Random Draw Pin
Tarakeshwar Reddy9-May-07 3:45
professionalTarakeshwar Reddy9-May-07 3:45 
QuestionHow to get a PopUp Pin
Spunky Coder9-May-07 2:05
Spunky Coder9-May-07 2:05 
AnswerRe: How to get a PopUp Pin
varshavmane9-May-07 2:26
varshavmane9-May-07 2:26 
AnswerRe: How to get a PopUp Pin
varshavmane9-May-07 2:28
varshavmane9-May-07 2:28 
QuestionASP Grid Pin
speedy_gonzalas9-May-07 2:04
speedy_gonzalas9-May-07 2:04 
AnswerRe: ASP Grid Pin
varshavmane9-May-07 2:20
varshavmane9-May-07 2:20 
GeneralRe: ASP Grid Pin
speedy_gonzalas9-May-07 18:32
speedy_gonzalas9-May-07 18:32 
GeneralRe: ASP Grid Pin
varshavmane9-May-07 20:06
varshavmane9-May-07 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.