Results 1 to 2 of 2
  1. #1

    Thread Starter
    New Member free's Avatar
    Join Date
    Apr 2017

    DataGridView Show

    Show DataGridView when you click the Save Input Data button
    But do not show other records in the database

    is it possible ??


  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Sydney, Australia

    Re: DataGridView Show

    That doesn't actually make sense. Please provide a FULL and CLEAR description of the problem. Assume that too many words is better than not enough.

    As some general advice, a DataGridView is only going to display the items in is data source so if you don't want it to display some of the records in your database then don't add them to, or remove them from, your data source. If that's not practical, you can bind a DataTable to the grid via a BindingSource and set the Filter of that to exclude certain rows.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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