Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
GeneralRe: Lines disappear Pin
ssoffline16-Oct-06 6:07
ssoffline16-Oct-06 6:07 
GeneralRe: Lines disappear Pin
Christian Graus16-Oct-06 6:13
protectorChristian Graus16-Oct-06 6:13 
GeneralRe: Lines disappear Pin
ssoffline16-Oct-06 6:26
ssoffline16-Oct-06 6:26 
GeneralRe: Lines disappear Pin
Christian Graus16-Oct-06 7:42
protectorChristian Graus16-Oct-06 7:42 
GeneralRe: Lines disappear Pin
ssoffline16-Oct-06 17:54
ssoffline16-Oct-06 17:54 
AnswerRe: Lines disappear Pin
sam#16-Oct-06 5:54
sam#16-Oct-06 5:54 
GeneralRe: Lines disappear Pin
ssoffline16-Oct-06 6:02
ssoffline16-Oct-06 6:02 
QuestionHelp with TYPED datasets Pin
Ian543216-Oct-06 3:22
Ian543216-Oct-06 3:22 
Hi there, I wonder if anyone can help... i have a small issue with typed datasets, specifically my row (see below) variable has intellisense for my fields as it should because its a typed dataset... but ds.LOB.Rows[0]. etc etc.. i can't seem to get the fields to show up

Basically i am trying to add certain data from Row 0 from ds and ds1 ... they both only have 1 row ... to a new row in ds2... the new row in ds2 shows all its typed fields... but the ds and ds1 do not..

of course if do the old fashioned way of row.Value = ds.LOB.Rows[0]["myField"].ToString() then it works ....

Every single dataset below is a typed dataset.

Here is what is happening
CD.LOBDataSet ds = new CD.LOBDataSet();
CD.LODDataSet ds1 = new CD.LODDataSet();

ds.Merge(testdata.Data); // testdata is just a class with a dataset
ds1.Merge(testdata.Data1); // testdata is just a class with a dataset

// Now I have data in ds and ds1 ..
// i have proved there is data there...

// Now going to add data to ds2 from ds/ds1
CD.LOTempDataSet ds2 = new CD.LOTempDataSet();


CD.LOTempDataSet.LOTempRow row;
row = ds2.LOTemp.NewLOTempRow();

// below both field names Description and Value show up in intellisense as it is a typed dataset

row.Description = "This is a test!";
row.Value = ds.LOB.Rows[0]. // this line.. row.Value is a field and has intellisense but ds.LOB doesn't

Any help anyone can offer would be gratefully appreciated

Thanks in advance

Ian
AnswerRe: Help with TYPED datasets Pin
Judah Gabriel Himango16-Oct-06 4:50
sponsorJudah Gabriel Himango16-Oct-06 4:50 
GeneralRe: Help with TYPED datasets Pin
Ian543216-Oct-06 6:05
Ian543216-Oct-06 6:05 
GeneralRe: Help with TYPED datasets Pin
Judah Gabriel Himango16-Oct-06 7:42
sponsorJudah Gabriel Himango16-Oct-06 7:42 
GeneralRe: Help with TYPED datasets Pin
Ian543218-Oct-06 2:36
Ian543218-Oct-06 2:36 
Questionc# Pin
daniela ion16-Oct-06 3:02
daniela ion16-Oct-06 3:02 
AnswerRe: c# Pin
Yustme16-Oct-06 3:10
Yustme16-Oct-06 3:10 
GeneralRe: c# [clickety police] Pin
Colin Angus Mackay16-Oct-06 5:50
Colin Angus Mackay16-Oct-06 5:50 
AnswerRe: c# Pin
albCode16-Oct-06 3:41
albCode16-Oct-06 3:41 
AnswerRe: c# Pin
MCSD-Gandalf16-Oct-06 4:46
MCSD-Gandalf16-Oct-06 4:46 
QuestionDo you prefer data binding or doing it yourself? Pin
3DoorsDown16-Oct-06 2:29
3DoorsDown16-Oct-06 2:29 
AnswerRe: Do you prefer data binding or doing it yourself? Pin
Judah Gabriel Himango16-Oct-06 4:51
sponsorJudah Gabriel Himango16-Oct-06 4:51 
AnswerRe: Do you prefer data binding or doing it yourself? Pin
Amar Chaudhary16-Oct-06 9:05
Amar Chaudhary16-Oct-06 9:05 
QuestionHow to Set Focus to a cell on DataGridView Control [modified] Pin
ASysSolvers16-Oct-06 2:19
ASysSolvers16-Oct-06 2:19 
AnswerRe: How to Set Focus to a cell on DataGridView Control Pin
sam#16-Oct-06 2:49
sam#16-Oct-06 2:49 
GeneralRe: How to Set Focus to a cell on DataGridView Control Pin
ASysSolvers16-Oct-06 3:00
ASysSolvers16-Oct-06 3:00 
GeneralRe: How to Set Focus to a cell on DataGridView Control Pin
sam#16-Oct-06 3:24
sam#16-Oct-06 3:24 
QuestionCan't find System.Configuration.ConfigurationManager Pin
ZeedijkMike16-Oct-06 1:56
ZeedijkMike16-Oct-06 1:56 

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.