how to use flex grid rowset feature??

This is a discussion on how to use flex grid rowset feature?? within the Windows Programming forums, part of the Platform Specific Boards category; hi all; ı dont know this is right place to ask if not sorry.... I use microsoft flexgrid on on ...

  1. #1
    Registered User mergoktas's Avatar
    Join Date
    Sep 2003
    Posts
    2

    Question how to use flex grid rowset feature??

    hi all;
    ı dont know this is right place to ask if not sorry....
    I use microsoft flexgrid on on my MFC project and use mysql db to store my datas..
    I would to like ask that is there any methods or any way to set microsoft flex grid rows accordingly rownumber or and how can I use this features of that grid ..

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    You can also use ADO to wrap around the ODBC connection as long as you have a datasource setup.

    If you then use the Microsoft Hierarchical FlexGrid control you should be able to bind the ADO Recordset object to it. I did this a while ago and it took some fiddling, but it worked.

    Here's some info, but it's VB. It should give you an idea

    http://msdn.microsoft.com/library/de...ridcontrol.asp

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Oh..and this shouldnt be on the C board. MFC is C++, and Windows based

    I'll move it

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    If your interested, I threw this together in VC++Net.

    It's an MFC app that allows you to browse tables in an access database and then apply the contents of the table to a Hierarchical FlexGrid.

    There's a little ADO COM stuff and even a little ADOX code to browse the tables in the database

    MFC provides the wrapper class for the FelxGrid and the VC++ #import directive creates classes for the ADO library and the ADOX library.

    Have a look through to see if it gives any ideas
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. More Windows Trouble
    By samGwilliam in forum Windows Programming
    Replies: 9
    Last Post: 04-12-2005, 10:02 AM
  2. Cleaning up a Grid of Memory
    By Epo in forum C++ Programming
    Replies: 9
    Last Post: 02-25-2005, 09:23 AM
  3. Find a word in a 2d grid
    By The_Kingpin in forum C++ Programming
    Replies: 2
    Last Post: 02-24-2005, 04:38 PM
  4. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 03:41 AM
  5. DataGrid or MS Flex grid, is there one in C++ ??
    By Digs in forum Windows Programming
    Replies: 1
    Last Post: 10-30-2003, 12:43 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21