Click here to Skip to main content
15,923,273 members
Home / Discussions / Database
   

Database

 
GeneralRandom data Pin
vuthaianh26-Feb-05 17:00
vuthaianh26-Feb-05 17:00 
GeneralRe: Random data Pin
NeverHeardOfMe27-Feb-05 11:32
NeverHeardOfMe27-Feb-05 11:32 
GeneralRe: Random data Pin
vuthaianh28-Feb-05 15:08
vuthaianh28-Feb-05 15:08 
GeneralRe: Random data Pin
NeverHeardOfMe2-Mar-05 22:45
NeverHeardOfMe2-Mar-05 22:45 
QuestionHow to serialize the database (SQL Server) Pin
oohungoo26-Feb-05 15:18
oohungoo26-Feb-05 15:18 
QuestionCan I create an Access type database from ADO/C# .NET? Pin
MitchellBaldwin26-Feb-05 6:07
MitchellBaldwin26-Feb-05 6:07 
AnswerRe: Can I create an Access type database from ADO/C# .NET? Pin
Mike Ellison26-Feb-05 8:09
Mike Ellison26-Feb-05 8:09 
AnswerRe: Can I create an Access type database from ADO/C# .NET? Pin
Mike Ellison26-Feb-05 8:13
Mike Ellison26-Feb-05 8:13 
GeneralRe: Can I create an Access type database from ADO/C# .NET? Pin
MitchellBaldwin26-Feb-05 10:53
MitchellBaldwin26-Feb-05 10:53 
GeneralPopulating textbox(s) from Column(s) Pin
WindSailor25-Feb-05 14:04
WindSailor25-Feb-05 14:04 
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 

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.