locked
Tables in Visual Basic 2008 Express RRS feed

  • Question

  • I was thinking of creating a few tables in Visual Basic 2008 and I would like to know if the contain of the tables remain in the tables upon application close down ?

    When I restart the program, will the contain still be in the table or is it reset ??   I was hoping that it retains the contain for future use without restoring.

    Thank You,

    Saturday, December 18, 2010 4:28 PM

Answers

  • The short answer to your question is No.

    How to overcome that depends upon what you are putting in your tables.  For large quantities of data then use a database, for small quantities you could use My.Settings.

    • Proposed as answer by Xiong Wei, Jin Saturday, December 18, 2010 5:53 PM
    • Marked as answer by G70115 Saturday, December 18, 2010 5:54 PM
    Saturday, December 18, 2010 5:14 PM
  • Hi G70115,

    if you like to store the content of the tables the best way would be a data base.
    A second way is saving the values by My.Settings.
    Keep in mind, no control will do automatically what you do like to do with it.
    You are the programmer and you tell it what to do.


    Liebe Grüße Stefan | Cheers Stefan I'm using VB 2008 Express
    • Proposed as answer by Xiong Wei, Jin Saturday, December 18, 2010 5:53 PM
    • Marked as answer by G70115 Saturday, December 18, 2010 5:54 PM
    Saturday, December 18, 2010 5:35 PM

All replies

  • The short answer to your question is No.

    How to overcome that depends upon what you are putting in your tables.  For large quantities of data then use a database, for small quantities you could use My.Settings.

    • Proposed as answer by Xiong Wei, Jin Saturday, December 18, 2010 5:53 PM
    • Marked as answer by G70115 Saturday, December 18, 2010 5:54 PM
    Saturday, December 18, 2010 5:14 PM
  • Hi G70115,

    if you like to store the content of the tables the best way would be a data base.
    A second way is saving the values by My.Settings.
    Keep in mind, no control will do automatically what you do like to do with it.
    You are the programmer and you tell it what to do.


    Liebe Grüße Stefan | Cheers Stefan I'm using VB 2008 Express
    • Proposed as answer by Xiong Wei, Jin Saturday, December 18, 2010 5:53 PM
    • Marked as answer by G70115 Saturday, December 18, 2010 5:54 PM
    Saturday, December 18, 2010 5:35 PM