Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Location
    Philippines
    Posts
    12

    Unanswered: VB6 and datagrid

    hello Sir.. (i dont know if i am in the place of posting this question..hehehe)

    btw. in my vb6 form i have textbox, command button and datagrid,
    now i want to add the content of textbox to datagrid when i clicked the command button..

    thnx in advance...
    "More Heads Are Better Than One"

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Welcome to the forum!

    I'm moving your post to the Visual Basic topic - you should recieve better help from there
    George
    Home | Blog

  3. #3
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    The datagrid is always bound to the underlying recordset.
    Why not allow the user to type the text directly into the datagrid?

    Otherwise, the issue is locating the grid cell to which you will be updating...

    (you could update the underlying recordset, then refresh the grid)
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


  4. #4
    Join Date
    May 2009
    Location
    Philippines
    Posts
    12
    Quote Originally Posted by loquin
    The datagrid is always bound to the underlying recordset.
    Why not allow the user to type the text directly into the datagrid?

    Otherwise, the issue is locating the grid cell to which you will be updating...

    (you could update the underlying recordset, then refresh the grid)
    Thanks for ur reply sir..

    btw, my datagrid is not connected to any database and i dont want connect it...

    i just want only display what i type in textbox..(is this impossible sir? if yes then i will switch to msflexgrid.)


    thnx in advanced
    "More Heads Are Better Than One"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •