|
-
Jul 27th, 1999, 05:42 PM
#1
Thread Starter
New Member
I made a form with a DataGrid control (that's bound to my Customer Table) and it works fine.
What I want to do now is sorting every columns in that DataGrid or let users type something in a TextBox in order to search for a record (that matches of course).
To do that, I put as many textbox as columns.
Example
TextBox
Code [] Name[] City[]
DataGrid
Code Name City
0001 Arnaud Paris
0002 Tom Madrid
If the Code_TextBox got the focus, I want the DataGrid being sorted by code.
If user type something in the Name_TextBox, I want the DataGrid being sorted by Name and the cursor reposition to the first record that matches in the DataGrid.
Any idea ?!?
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
|