Re: filtering DataGrid on the fly



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.


.