Well, the answer depends on the level of user interactivity you wish
to offer. For instance, a simple search interface can be constructed
using a single textbox and a button. A more complex interface would
involve a textbox that displays an autocomplete/autosuggest dropdown
as the user types in search keywords allowing the user to narrow down
the search. A still more complex interface would be an Advanced Search
page that allows the user to customize the search according to a set
of clearly defined parameters.

As for the results of the search, they again depend on the level of
detail you need to show (and any interactivity you wish to allow).
Typically however, results would be links to other pages therefore,
any control that derives from TemplateControl could suffice. My
favourite in this regard has always been the Repeater and DataList
controls. I would not go with the Datagrid/GridView unless you require
sophisticated paging/sorting (of the UI kind) or edit/delete
functionality.

On Aug 5, 3:11 pm, Vikas K M <[email protected]> wrote:
> Hi,
>
> I am developing a portal where a user searches for data from tables in
> database. This may fetch a few to more rows.
>
> Which is the best way to do this.
>
> 1.       Label and text box
>
> 2.       Datagrid
>
> Please let me know if there is any other way to achieve this in a more
> better way.
>
> Thanks,
>
> --
> Regards,
> Vikas

Reply via email to