Quantcast
Channel: VBForums - WPF, WCF, WF
Viewing all articles
Browse latest Browse all 256

DataSet VB.net in a WPF-application

$
0
0
Hi all,

I'm creating an app in which users can change information concerning existing streets.
I will be using an SQL database and I was wondering how I can fill a DataSet and when the app closes, write the DataSet in the SQL-database.
I normally use SQL commands (or previously oledbcommand), but an error is easily made and the amount of parameters is way to big to write that command.
My plan of action is...

Create a class named Street, with al the parameters in it (length, width, speedrestriction, construction-date,...)
A list Streetlist (Of Street) which contains all the streets found in the SQL table...And a table in a SQL database with the same name and parameters.
Everything works, but I can't figure out how to use a DataSet for read/write in a table.

Many thanks

Meindert

Viewing all articles
Browse latest Browse all 256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>