Results 1 to 6 of 6

Thread: [RESOLVED] VB.Net Windows Application for Library (SQL-lite)

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2017
    Posts
    6

    Resolved [RESOLVED] VB.Net Windows Application for Library (SQL-lite)

    I am developing a Windows Library application using VB.NET and SQLlite. The application will be individually placed on PCs in the Library.

    Books are categorised based on topics.

    User will be given a combobox with topics. When a topic is selected, a list should be displayed on the right side with summary of all books in that topic.

    The summary will sometimes be long text. On clicking a summary, another windows with all book details will be displayed.

    My query is below

    1). Which is the best control to display long text with text wrap (other than data grid)
    2. Does data grid allows text wraping?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: VB.Net Windows Application for Library (SQL-lite)

    Quote Originally Posted by binumathew View Post
    1). Which is the best control to display long text with text wrap (other than data grid)
    It doesn't sound like a DataGridView would be appropriate for the summary part. I would think that you'd want to use a Label or perhaps a TextBox with its ReadOnly property set to True.
    Quote Originally Posted by binumathew View Post
    2. Does data grid allows text wraping?
    Not by default. The DataGridView is very customisable though, so you can achieve much with a bit or a lot of work.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2017
    Posts
    6

    Re: VB.Net Windows Application for Library (SQL-lite)

    Dear jmcilhinney,

    Thank you for your quick response.

    But will DataGridView slow down the system? Since many records will be there, should you prefer FlexGrid or something which is lighweight and easily customizable.

    thank you, Binu

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: VB.Net Windows Application for Library (SQL-lite)

    Quote Originally Posted by binumathew View Post
    Since many records will be there, should you prefer FlexGrid or something which is lighweight and easily customizable.
    That is a misconception. A DataGridView generally doesn't contain any controls. It's only when you start editing a cell that a control is created and embedded, and that control is either discarded after the editing session or reused if another cell of the same type is edited afterwards. It's efficient because it simply renders the appearance of controls on the screen but there are no actual controls to slow things down.

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2017
    Posts
    6

    Re: VB.Net Windows Application for Library (SQL-lite)

    Dear jmcilhinney,

    Thank you very much for the quick response again. i will take your advise.

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2017
    Posts
    6

    Re: VB.Net Windows Application for Library (SQL-lite)

    Dear jmcilhinney,

    Thank you very much for the quick response again. i will take your advise.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width