Results 1 to 10 of 10

Thread: datagrid [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    datagrid [RESOLVED]

    I am filling up a datagrid using a dataset on the page load event. The user is going to click on a row and I need the value of certain fields in that row. How can I get those values of the row they click on?
    VB Code:
    1. Dim cmdView As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter("select * from pcms.pcms_pcard_transaction_header ", objCon)
    2.         ds = New DataSet()
    3.         cmdView.Fill(ds, "cards")
    4.         dgView.DataSource = ds
    5.         dgView.DataMember = "cards"
    Last edited by EyeTalion; Apr 22nd, 2003 at 07:44 AM.
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

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