CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2001
    Posts
    87

    Ado /Datagrid current record number

    Somebody help pls..!!!
    How will I know the current record number in an ADODC recordset output in DataGrid control?
    It seems there is no property for that..
    Thanks for any helping hands

    Cecile


    The more u read, the more u do not know

  2. #2
    Join Date
    May 2001
    Location
    Lancashire, England
    Posts
    16

    Re: Ado /Datagrid current record number

    I am just using the datagrid control with an ADO recordset, and I believe you have to use the bookmark property for referencing which record you are looking at.

    Hope this is what you were after.

    Dave


  3. #3
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Ado /Datagrid current record number

    try with absoluteposition property of recordset (sorry, I do not know how to show it in dataGrid).

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured