Click here to Skip to main content
15,569,319 members
Home / Discussions / C#
   

C#

 
AnswerRe: internal and internal protected Pin
Pete O'Hanlon6-Aug-07 2:34
mvaPete O'Hanlon6-Aug-07 2:34 
GeneralRe: internal and internal protected Pin
Sonia Gupta6-Aug-07 2:41
Sonia Gupta6-Aug-07 2:41 
GeneralRe: internal and internal protected Pin
Pete O'Hanlon6-Aug-07 3:42
mvaPete O'Hanlon6-Aug-07 3:42 
GeneralRe: internal and internal protected Pin
originSH6-Aug-07 5:03
originSH6-Aug-07 5:03 
QuestionTake over a GUI of running program Pin
Morad Kobi5-Aug-07 23:21
Morad Kobi5-Aug-07 23:21 
AnswerRe: Take over a GUI of running program Pin
Hessam Jalali7-Aug-07 0:17
Hessam Jalali7-Aug-07 0:17 
Questionregarding xml's property dynamically Pin
praveenkumar palla5-Aug-07 22:51
praveenkumar palla5-Aug-07 22:51 
QuestionDataAdapter.Fill() Pin
blackjack21505-Aug-07 22:43
blackjack21505-Aug-07 22:43 
Hi.

I am using DataAdapter to retrieve some values in a database.
Normally, the DataSet which the DataAdapter fills will have one table and all the rows is there.

Is it possible that depending on the values fetched by the query operations, the rows are spread across multiple tables in the DataSet.

Here's an example:

ID         Name             Age             Gender
--------------------------------------------------
1          Andrew           29              M
2          Paul             12              M
3          Mary             25              F  
4          James            35              M
5          Heather          17              F 


I would like to retrieve all these rows from the DB using DataAdapter.Fill() method, BUT the DataSet which will be filled should have two tables: one with the guys and one with the girls.

Any suggestions?

Thanks.
AnswerRe: DataAdapter.Fill() Pin
Marek Grzenkowicz5-Aug-07 23:04
Marek Grzenkowicz5-Aug-07 23:04 
AnswerRe: DataAdapter.Fill() Pin
N a v a n e e t h5-Aug-07 23:49
N a v a n e e t h5-Aug-07 23:49 
AnswerRe: DataAdapter.Fill() Pin
Nouman Bhatti6-Aug-07 3:12
Nouman Bhatti6-Aug-07 3:12 
QuestionFind Out the executed page??? Pin
mimimimilaw5-Aug-07 22:08
mimimimilaw5-Aug-07 22:08 
QuestionCalling unmanaged DLL-methodes (winmm.dll) Pin
J. Holzer5-Aug-07 21:32
J. Holzer5-Aug-07 21:32 
AnswerRe: Calling unmanaged DLL-methodes (winmm.dll) Pin
m@u5-Aug-07 22:29
m@u5-Aug-07 22:29 
AnswerRe: Calling unmanaged DLL-methodes (winmm.dll) Pin
originSH5-Aug-07 22:57
originSH5-Aug-07 22:57 
QuestionODBC how to connect reomte SQL Server Pin
jason_mf5-Aug-07 21:16
jason_mf5-Aug-07 21:16 
AnswerRe: ODBC how to connect reomte SQL Server Pin
Guffa5-Aug-07 21:29
Guffa5-Aug-07 21:29 
QuestionCrystal Report working with generic collections Pin
Developer6115-Aug-07 21:01
Developer6115-Aug-07 21:01 
Question.NET dll and VB 6 ocx Pin
MozhdehQeraati5-Aug-07 20:34
MozhdehQeraati5-Aug-07 20:34 
QuestionDatabase to xml Pin
pavya_Cool5-Aug-07 20:22
pavya_Cool5-Aug-07 20:22 
AnswerRe: Database to xml Pin
aamironline5-Aug-07 21:57
aamironline5-Aug-07 21:57 
GeneralRe: Database to xml Pin
pavya_Cool5-Aug-07 22:02
pavya_Cool5-Aug-07 22:02 
GeneralRe: Database to xml Pin
blackjack21505-Aug-07 22:45
blackjack21505-Aug-07 22:45 
GeneralRe: Database to xml Pin
T.EDY5-Aug-07 23:14
T.EDY5-Aug-07 23:14 
GeneralRe: Database to xml Pin
pavya_Cool5-Aug-07 23:32
pavya_Cool5-Aug-07 23:32 

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.