vb.net - Visual Basic 2010 - Create a class where the user can enter variables in then save it to reference in a table later -
vb.net - Visual Basic 2010 - Create a class where the user can enter variables in then save it to reference in a table later -
unfortunately me book brought on visual basic 2010 doesn't cover , can't find solved anywhere else.
as part of coursework need create programme , within programme need have used 2 classes.
the classes similar if can one, can other. have form lots of info entry boxes when fill in info online. have name, address etc, in different boxes , click save , you're done.
i want take different variables entered , save them class, because i'll saving more 1 figured i'd need database each time come in new client client id needs go one, 0001, 0002 etc. want view , able sort entries in table on separate form.
can offer step step guide this.
if not utilize code , seek , explain help me out hell of lot. understand coding , stuff don't need explain loops , iterations , code means.
thank much in advance.
what need do:
create class has members info want retain.
whenever user adds new information, create 1 such above mentioned object, populate info entered , maintain these objects in programme (eg array, list etc) should take care of entering info , maintaining them life span of application.
but need save database. utilize separate object that, 1 object take care of saving info in database in order decouple components. in case, new object have method take input parameter 1 of objects mentioned @ point 1 , save info database. also, utilize edit function, deed pretty much same but, instead of insert, perform edit. same object have additional method loading info database , populate list - mentioned @ point 2 - maintain in application can extend object delete functionality, if needed.
good luck!
vb.net visual-studio-2010 class
Comments
Post a Comment