PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Search Criteria in gridview

Reply

Search Criteria in gridview

 
Thread Tools Rate Thread
Old 03-04-2006, 04:32 AM   #1
=?Utf-8?B?U2VvayBCZWU=?=
Guest
 
Posts: n/a
Default Search Criteria in gridview


Dear Experts,

I would like to have a listing of my current table records based on certain
search criterias to list out in the gridview control.

However, I have tried to use the built-in filtering function from the
datasource. It is not exactly what I wanted. I have more than 1 search
criterias and want to have the filtering based on the condition I set through
the controls in the form. This may be a combination of 1 search condition or
more. I would like to know whehter the gridview control or datasource control
able me to set the search condition dynamically based on the only the
conditions I set in the form controls. Example of the search criterias that I
have in the form are:
- Date Range: From date and time (Textbox control) , To date and time
(Textbox)
- Status : Dropdownlist control
- Department : dropdownlist control


Please advise.

Many thanks in advance.

Regards,
SB


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off