Re: filtering DataGrid on the fly
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 08:25:31 -0400
michael sorens wrote:
I am well-versed in Windows Forms but am new to Web Forms with
ASP.NET. I want to create a simple application that loads all rows of
a SQLServer table into a DataGrid, then allow the user to filter the
rows on-the-fly via entry in a TextBox. I have done this in a WinForm
application by setting the BindingSource.Filter property to an
appropriate 'where' clause and by capturing the changed property I am
able to dynamically filter the rows with each keystroke. Can this be
done in a WebForm application? (If not by each keystroke, I could
make do with a submit button.)
There was no way for you to know it (except maybe by browsing through
some of the previous questions before posting yours - always a
recommended practice), but this is a classic asp newsgroup. ASP.Net is
a different technology from classic ASP. While you may be lucky enough
to find a dotnet-savvy person here who can answer your question, you
can eliminate the luck factor by posting your question to a newsgroup
where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
There are also forums at www.asp.net where you can find a lot of people
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- Follow-Ups:
- Re: filtering DataGrid on the fly
- From: Steven Cheng[MSFT]
- Re: filtering DataGrid on the fly
- References:
- filtering DataGrid on the fly
- From: michael sorens
- filtering DataGrid on the fly
- Prev by Date: Re: Unicode Website/Forms save to SQL-Server2000 Problem
- Next by Date: error messages in regards to connection strings
- Previous by thread: Re: filtering DataGrid on the fly
- Next by thread: Re: filtering DataGrid on the fly
- Index(es):