how can i put automatically the new coming rows in sql database in a datagridview

  • 12 years ago

    new rows come in SQL database and i want this new rows come automatically in a datagridview.
    can any one help me? thanks in advance
     

  • 12 years ago

    You can use a Timer control and after n milliseconds you can fetch the Data again from database. For this purpose you can note down the last record ID on each refresh and load the next records.

     

    Regards,

    Arsalan Tamiz

    Visual Basic Development Issues

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Anyone who considers arithmetic methods of producing random digits is, of course, in a state of sin.” - John von Neumann