CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    70

    adding row to datagridview programatically

    Hi,
    I am using VB 2005, In my form,
    1. a datagridview is placed, which is filled from a table on FOam_Load().

    2. form contains other some text controls also. user types into the text box, and when a
    button is pressed, some data stored into the database.

    3. My requiremnt is, when user click on button data stored into the database also
    display in the datagridview, without calling the entire row from the datasource

    is possible?
    VB.Net 2005, Net Framework 2.0

  2. #2
    Join Date
    Aug 2005
    Location
    Spain!
    Posts
    149

    Re: adding row to datagridview programatically

    Try adding the data from the textbox in the same dataset that is assigned in the Datagridview.

  3. #3
    Join Date
    Aug 2008
    Posts
    70

    Re: adding row to datagridview programatically

    could you please post me the code required
    VB.Net 2005, Net Framework 2.0

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: adding row to datagridview programatically

    According to specs? Just figure out the best way to do it, and then create the app, test it, and then give it to you? Would that be too much trouble?

    You can hire someone that would gladly do that for you, but not on this site.

    We help people figure out why their code doesn't work. If you tried to do the work, and were to run into a problem, we could probably help.

    If you have another week off (and our help), you should be able to figure out anything that was discussed in class, even if you were sleeping...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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