Results 1 to 2 of 2

Thread: how to show data in a grid?

  1. #1

    Thread Starter
    Hyperactive Member temp_12000's Avatar
    Join Date
    Jan 2004
    Location
    LA, USA
    Posts
    411

    Question how to show data in a grid?

    how to show data in a grid using VB .NET? I found some examples using datagrid, however, the data I have is not in a database! It is in an array (2D). However can I show this 2D array in a data grid or table by VB .NET? in VB6, I use MSFlexGrid and fill the cell value one by one. However, I can not find out how to use FlexGrid in . NET.

    thanks



  2. #2
    Lively Member
    Join Date
    Sep 2002
    Location
    Belgium
    Posts
    99
    Check this article :

    ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbtskbindingthedatagridcontroltoanadodataset.htm

    I suggest that you can read the array into a datatable and then databind it to the datagrid.

    HTH

    Bjorn

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