Click here to Skip to main content
15,896,606 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Is this even possible: populating a Grid w/Sql and Oracle in same query Pin
led mike26-Aug-08 7:17
led mike26-Aug-08 7:17 
AnswerRe: Is this even possible: populating a Grid w/Sql and Oracle in same query Pin
Mark J. Miller26-Aug-08 8:28
Mark J. Miller26-Aug-08 8:28 
You have two options as I see it.

1) Use a DataSet. Create a connection to each Db (oracle and sql server) and use a dataadapter to add the data you need from each database to the same dataset. Then join the DataTable objects by creating a DataRelation object. Then filter the results on one of the tables (Select, Find or use DataView) and then you can use the datarelation to navigate between the tables on a row-by-row basis(OnRowDataBound).

2) From SQL Server create a linked server reference to the Oracle server (there may be a way to to the inverse of this as well, but I've never worked with Oracle so I don't know). See this reference: http://www.sqlmag.com/Article/ArticleID/49687/sql_server_49687.html[^]. Once that's setup, you can query the two databases from a single select statement.


AnswerRe: Is this even possible: populating a Grid w/Sql and Oracle in same query Pin
Abhishek Sur26-Aug-08 10:48
professionalAbhishek Sur26-Aug-08 10:48 
QuestionLoading an ascx control in DotNetNuke Pin
Rocky#26-Aug-08 5:46
Rocky#26-Aug-08 5:46 
QuestionURL rewrite Pin
C. L. Phillip26-Aug-08 4:55
C. L. Phillip26-Aug-08 4:55 
AnswerRe: URL rewrite Pin
Mark J. Miller26-Aug-08 5:38
Mark J. Miller26-Aug-08 5:38 
GeneralRe: URL rewrite [modified] Pin
C. L. Phillip26-Aug-08 7:48
C. L. Phillip26-Aug-08 7:48 
GeneralRe: URL rewrite Pin
Mark J. Miller26-Aug-08 8:18
Mark J. Miller26-Aug-08 8:18 
GeneralRe: URL rewrite Pin
C. L. Phillip26-Aug-08 8:52
C. L. Phillip26-Aug-08 8:52 
QuestionProblem with page post back Pin
Gretna26-Aug-08 4:44
Gretna26-Aug-08 4:44 
AnswerRe: Problem with page post back Pin
Christian Graus26-Aug-08 11:45
protectorChristian Graus26-Aug-08 11:45 
GeneralRe: Problem with page post back Pin
Gretna26-Aug-08 23:45
Gretna26-Aug-08 23:45 
QuestionASP.net 1.1 to 2.0 Migration Issue(of xsd files) Pin
pashitech26-Aug-08 4:43
pashitech26-Aug-08 4:43 
Questionweb service error Pin
arkiboys26-Aug-08 4:15
arkiboys26-Aug-08 4:15 
AnswerRe: web service error Pin
LongRange.Shooter26-Aug-08 10:06
LongRange.Shooter26-Aug-08 10:06 
QuestionBind("") for sub objects Pin
Brendan Vogt26-Aug-08 3:55
Brendan Vogt26-Aug-08 3:55 
AnswerRe: Bind("") for sub objects Pin
Gamzun1-Sep-08 21:43
Gamzun1-Sep-08 21:43 
QuestionCrystal Report - Toolbar navigation vanishes the viewer! Pin
Blumen26-Aug-08 2:59
Blumen26-Aug-08 2:59 
AnswerRe: Crystal Report - Toolbar navigation vanishes the viewer! Pin
Blumen26-Aug-08 3:37
Blumen26-Aug-08 3:37 
GeneralRe: Crystal Report - Toolbar navigation vanishes the viewer! Pin
Mohammad Al Hoss26-Aug-08 3:51
Mohammad Al Hoss26-Aug-08 3:51 
GeneralRe: Crystal Report - Toolbar navigation vanishes the viewer! Pin
Blumen26-Aug-08 18:40
Blumen26-Aug-08 18:40 
Questionflash in asp.net Pin
Subin Alex26-Aug-08 1:59
Subin Alex26-Aug-08 1:59 
AnswerRe: flash in asp.net Pin
AhsanS26-Aug-08 2:04
AhsanS26-Aug-08 2:04 
AnswerRe: flash in asp.net Pin
Subin Alex26-Aug-08 2:12
Subin Alex26-Aug-08 2:12 
GeneralRe: flash in asp.net Pin
AhsanS26-Aug-08 18:00
AhsanS26-Aug-08 18:00 

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.