Click here to Skip to main content
16,004,919 members
Home / Discussions / C#
   

C#

 
AnswerRe: RichTextBox not display the right string? Pin
Hawk33721-Apr-05 15:30
Hawk33721-Apr-05 15:30 
GeneralRe: RichTextBox not display the right string? Pin
Snowjim21-Apr-05 22:36
Snowjim21-Apr-05 22:36 
GeneralRe: RichTextBox not display the right string? Pin
Snowjim22-Apr-05 4:00
Snowjim22-Apr-05 4:00 
GeneralRe: RichTextBox not display the right string? Pin
Snowjim22-Apr-05 4:11
Snowjim22-Apr-05 4:11 
AnswerRe: RichTextBox not display the right string? Pin
leppie22-Apr-05 6:42
leppie22-Apr-05 6:42 
GeneralReg Ex Pin
mvermef21-Apr-05 13:00
mvermef21-Apr-05 13:00 
GeneralRe: Reg Ex Pin
leppie21-Apr-05 19:46
leppie21-Apr-05 19:46 
GeneralPopulating an XSD Dataset Pin
SignMan35921-Apr-05 11:10
SignMan35921-Apr-05 11:10 
I am trying to convert over a Crystal Reports report from using a database to using a dataset. That part seems to have gone along just fine. I followed the instruction Microsoft gives for doing that and also for creating an XSD dataset (which is how I was able to convert the report). I'm sure to most of you, the solution to my problem is simple.

Here's my problem: I don't know how to get data into that dataset. I can't use the standard method of creating an OdbcDAtaAdapter and doing a Fill into the DataSet. I've tried, it doesn't work. I keep getting the following error if I try:

Fill: SelectCommand.Connection property has not been initialized.

Here's the command that generates the error:

daDalyORHED.Fill(dsDalyData1, "orhed");

Here are the relevent parts of the code:

daDalyORHED = new OdbcDataAdapter("SELECT * FROM PUB.orhed orhed WHERE OrdNum = '" + strOrdNum + "'", connDaly);
connDaly = new OdbcConnection("DRIVER=MERANT 3.60 32-BIT Progress SQL92 v9.1D;UID=userid;HOST=siifpa001;PORT=apluslvsv;DB=apluslv;PWD=password");
dsDalyData dsDalyData1 = new dsDalyData();

Obviously, dsDalyData is the name of my XSD dataset.

Can anybody please help me get my DataSet populated? It's kinda useless without that. Big Grin | :-D


--In a world without fences, who needs Gates?
GeneralRe: Populating an XSD Dataset Pin
Carl Mercier21-Apr-05 15:21
Carl Mercier21-Apr-05 15:21 
GeneralRe: Populating an XSD Dataset Pin
Hrashita Triapthi21-Apr-05 21:23
Hrashita Triapthi21-Apr-05 21:23 
GeneralHelp Plz in that e-mail client Pin
SherKar21-Apr-05 9:26
SherKar21-Apr-05 9:26 
GeneralRe: Help Plz in that e-mail client Pin
John Fisher22-Apr-05 7:45
John Fisher22-Apr-05 7:45 
Questionbyte[] ? Pin
Snowjim21-Apr-05 9:02
Snowjim21-Apr-05 9:02 
AnswerRe: byte[] ? Pin
Dave Kreskowiak21-Apr-05 10:13
mveDave Kreskowiak21-Apr-05 10:13 
GeneralRe: byte[] ? Pin
Snowjim21-Apr-05 11:25
Snowjim21-Apr-05 11:25 
Generalstarting and stopping processes Pin
Mridang Agarwalla21-Apr-05 7:29
Mridang Agarwalla21-Apr-05 7:29 
GeneralRe: starting and stopping processes Pin
Dave Kreskowiak21-Apr-05 10:06
mveDave Kreskowiak21-Apr-05 10:06 
GeneralRe: starting and stopping processes Pin
Polis Pilavas22-Apr-05 10:13
Polis Pilavas22-Apr-05 10:13 
Generaldetecting net connection Pin
Mridang Agarwalla21-Apr-05 7:18
Mridang Agarwalla21-Apr-05 7:18 
GeneralRe: detecting net connection Pin
Dave Kreskowiak21-Apr-05 10:02
mveDave Kreskowiak21-Apr-05 10:02 
GeneralRe: detecting net connection Pin
Mridang Agarwalla21-Apr-05 18:13
Mridang Agarwalla21-Apr-05 18:13 
GeneralRe: detecting net connection Pin
tawammar22-Apr-05 0:27
tawammar22-Apr-05 0:27 
GeneralRe: detecting net connection Pin
Polis Pilavas22-Apr-05 10:26
Polis Pilavas22-Apr-05 10:26 
GeneralRe: detecting net connection Pin
tawammar23-Apr-05 2:27
tawammar23-Apr-05 2:27 
GeneralRe: detecting net connection Pin
tawammar23-Apr-05 6:09
tawammar23-Apr-05 6:09 

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.