Geeks With Blogs
Adrian Hara Working through the .NET maze February 2007 Entries
How to OR multiple conditions in (d)Linq
I've been playing a bit with (d)Linq lately so there are probably some related blog posts coming this way :). Today, for example, I was trying to get the logic for a search form to work. The form is pretty basic, allowing the user to search a books library based on several fields, like Title, Author, Publisher etc. The search should tokenize the input from each field and then build the final condition by OR-ing the conditions for each field together, provided that something was entered in that search ......

Posted On Tuesday, February 20, 2007 6:02 PM

Asp.net dynamic control catch-up gotcha
Today I experienced what I believe to be a classic asp.net dynamically loaded controls gotcha. Here's the scenario: I have one page with a panel on it like so: <asp:Panel ID="pnlGrid" runat="server"></asp:... ...plus I have a user control, GridControl.ascx, like so: <asp:GridView ID="gv" runat="server" AutoGenerateColumns="false" Width="100%"> <Columns> <asp:TemplateField HeaderStyle-VerticalAlign="... <HeaderTemplate>Fooba... <ItemTemplate><%# ......

Posted On Monday, February 19, 2007 10:16 AM

Copyright © Adrian Hara | Powered by: GeeksWithBlogs.net