Results 1 to 6 of 6

Thread: newbie question.. please help..

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2005
    Location
    Philippines
    Posts
    32

    newbie question.. please help..

    Guyz,

    i am using a dataAdapter and ms access in database..how can i insert the value of data into label?.. without using a datagrid? could you give me some sample?



    thankz...

  2. #2

    Thread Starter
    Member
    Join Date
    Aug 2005
    Location
    Philippines
    Posts
    32

    Re: newbie question.. please help..

    nevermind the fist thread.. just want to know if it is possible to insert the value of my datagrid in label? please help...

  3. #3
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: newbie question.. please help..

    This shoud do it:
    label.text = Datagrid.rows(row#).item(Col#)
    TPM

    Add yourself to the VBForums Frappr Map!!

  4. #4

    Thread Starter
    Member
    Join Date
    Aug 2005
    Location
    Philippines
    Posts
    32

    Re: newbie question.. please help..

    bro..
    i try the code u gave me but their is an error.. 'rows' is not a member of 'System.Web.UI.WebControls.DataGrid'.
    Label6.Text = DataGrid.rows(2).item(3)

    what should i do???

  5. #5
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: newbie question.. please help..

    My bad, it's datatable, not datagrid. Just call the table thats in your grid.
    TPM

    Add yourself to the VBForums Frappr Map!!

  6. #6

    Thread Starter
    Member
    Join Date
    Aug 2005
    Location
    Philippines
    Posts
    32

    Re: newbie question.. please help..

    its ok i know what dt is.. i dont use datagrid..so its ok... thanks a lot man!

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