|
-
Sep 6th, 2005, 07:26 PM
#1
Thread Starter
Member
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...
-
Sep 6th, 2005, 07:40 PM
#2
Thread Starter
Member
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...
-
Sep 6th, 2005, 07:49 PM
#3
Re: newbie question.. please help..
This shoud do it:
label.text = Datagrid.rows(row#).item(Col#)
TPM
Add yourself to the VBForums Frappr Map!!
-
Sep 6th, 2005, 08:03 PM
#4
Thread Starter
Member
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???
-
Sep 6th, 2005, 10:05 PM
#5
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!!
-
Sep 6th, 2005, 11:27 PM
#6
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|