|
-
Mar 17th, 2005, 09:27 AM
#1
Thread Starter
Hyperactive Member
Search Option
i am trying to create a search option, the user inputs the product name and i want to performa search to return two tables in the dbase. This is all okay.
when displaying the found data, come will be in textboxes, comboboxes and also a datagrid. Do i need to assign each column individually eg:
txt1.Text = Product Details.Lname
combo1.Text = ProductDetails.Town
and in the datagrid
datagrid.column(0) = ProductDetails.Salary
can i do it lik this? is there a similar way to do it???
-
Mar 17th, 2005, 09:59 AM
#2
Re: Search Option
Dunno much about DataGrids, but if you assign it to a table don't the columns come up automatically?
-
Mar 17th, 2005, 10:14 AM
#3
Thread Starter
Hyperactive Member
Re: Search Option
with the storage mode u assign the grid to an array.. i have created the columns for the grid manually, not assigned it directly to any table..... cos i thought i wod have to edit names anyway!
-
Mar 17th, 2005, 10:20 AM
#4
Re: Search Option
OK, I'm really out of my depth here but just an idea, can you iterate through the table's fields and assign each to a column index?
-
Mar 17th, 2005, 10:25 AM
#5
Thread Starter
Hyperactive Member
Re: Search Option
yeah dats wot i thought of, was just wondering if there was a easier way to be honest, il try it and let u no
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
|