Click here to Skip to main content
15,904,638 members
Home / Discussions / Database
   

Database

 
GeneralRe: Populating textbox(s) from Column(s) Pin
numbrel26-Feb-05 4:20
numbrel26-Feb-05 4:20 
GeneralRe: Populating textbox(s) from Column(s) Pin
WindSailor28-Feb-05 23:38
WindSailor28-Feb-05 23:38 
GeneralRe: Populating textbox(s) from Column(s) Pin
numbrel1-Mar-05 3:53
numbrel1-Mar-05 3:53 
GeneralDatabase paging Pin
grea faflj25-Feb-05 5:49
grea faflj25-Feb-05 5:49 
GeneralRe: Database paging Pin
Jon Sagara25-Feb-05 7:02
Jon Sagara25-Feb-05 7:02 
GeneralSQL2000 RS Clarification Pin
mysorian25-Feb-05 3:28
professionalmysorian25-Feb-05 3:28 
GeneralADO.NET dataset w/o database Pin
scion780925-Feb-05 3:17
scion780925-Feb-05 3:17 
GeneralRe: ADO.NET dataset w/o database Pin
MitchellBaldwin25-Feb-05 9:52
MitchellBaldwin25-Feb-05 9:52 
Sure there is a way, and you probably missed it just because it's so easy. Just right-click and 'Add New Item' to your project in the Solution Explorer, select 'XML Schema' on the list and name your new typed dataset class. This will present the designer, and all you have to do then is drag elements from the Toolbox (or right-click and select the items you wish to add from the context menu). You can add constraints and relations the same way. Once you have the schema set up just add a new DataSet component to your form and select your schema as the desired type.

I think this is a great way to handle and present even program data that does not reside in a 'database' because you can take advantage of all of the great data binding features, Crystal Reports, etc. Another feature I use a lot is to save the data to an XML file using DataSet.WriteXml (and DataSet.ReadXml to bring data back in), which saves having to write your own code to persist data to disk (or wherever).

Hope this helps,

Mitchell
GeneralRe: ADO.NET dataset w/o database Pin
Anonymous28-Feb-05 4:44
Anonymous28-Feb-05 4:44 
GeneralSUM evaluating to NULL Pin
Rhys Gravell25-Feb-05 2:37
professionalRhys Gravell25-Feb-05 2:37 
GeneralRe: SUM evaluating to NULL Pin
Rhys Gravell25-Feb-05 3:26
professionalRhys Gravell25-Feb-05 3:26 
GeneralRe: SUM evaluating to NULL Pin
Anonymous25-Feb-05 14:29
Anonymous25-Feb-05 14:29 
GeneralRe: SUM evaluating to NULL Pin
Anonymous25-Feb-05 20:50
Anonymous25-Feb-05 20:50 
GeneralRe: SUM evaluating to NULL Pin
keepsmile25-Feb-05 23:12
keepsmile25-Feb-05 23:12 
GeneralSQL server problem (authetication) Pin
Anonymous24-Feb-05 23:40
Anonymous24-Feb-05 23:40 
Questionexec @SqlString ???? Pin
boruu24-Feb-05 21:19
boruu24-Feb-05 21:19 
AnswerRe: exec @SqlString ???? Pin
Colin Angus Mackay24-Feb-05 22:40
Colin Angus Mackay24-Feb-05 22:40 
GeneralRe: exec @SqlString ???? Pin
boruu24-Feb-05 22:59
boruu24-Feb-05 22:59 
GeneralData Access Design Pattern: OR Mapping tools Pin
devvvy24-Feb-05 20:14
devvvy24-Feb-05 20:14 
GeneralCopy table Pin
BuddelWilli24-Feb-05 10:25
BuddelWilli24-Feb-05 10:25 
GeneralRe: Copy table Pin
Yulianto.24-Feb-05 13:33
Yulianto.24-Feb-05 13:33 
GeneralOLEDB Connection Pin
Just Greeky Creek24-Feb-05 4:02
Just Greeky Creek24-Feb-05 4:02 
GeneralRe: OLEDB Connection Pin
Yulianto.24-Feb-05 13:35
Yulianto.24-Feb-05 13:35 
GeneralRe: OLEDB Connection. <b>SOLVED</b> Pin
Just Greeky Creek24-Feb-05 20:06
Just Greeky Creek24-Feb-05 20:06 
GeneralSQL Query Problem Pin
pjholliday23-Feb-05 3:33
pjholliday23-Feb-05 3:33 

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.