How to bind ADO recordset to MSHFlexGrid


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to bind ADO recordset to MSHFlexGrid

  1. #1
    RIshi Dhruv Guest

    How to bind ADO recordset to MSHFlexGrid


    Hi all,

    I have created a recordset using ADODB.Recordset (lets say rec). Now the
    problem is when i give .....

    set MSHFlexGrid1.Recordset = rec

    it only displays the first record in the recordset.

    Pls help me display all the records of the recordset in the grid.

    Waiting for ur assistance eagerly....

    Thanx in Adv.

  2. #2
    Chab Guest

    Re: How to bind ADO recordset to MSHFlexGrid



    hi,
    whenever u bind recordset to any control u should use the syntax like this
    set MSHFlexGrid1.Recordsource = rec

    i hope this will work
    try it!



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center