Browse by Tags

All Tags » LINQ (RSS)

Entity Framework Code-First to Provide Replacement for ASP.NET Profile Provider by Ken Cox [MVP]

A while back, I coordinated a project to add support for the SQL Table Profile Provider in ASP.NET 4 Web Applications.  We urged Microsoft to improve ASP.NET’s built-in Profile support so our workaround wouldn’t be necessary. Instead, Microsoft plans...

Display ‘–Select–’ in an ASP.NET DropDownList by Ken Cox [MVP]

A purchaser of my book writes: “I would like a drop down list to display the text: "-Select-" initially instead of the first value of the data it is bound to.” Here you go…   <%@ Page Language="VB" %> <script runat="server">...

Converting VB LINQ to C# LINQ by Ken Cox [MVP]

VB.Net to C# Converter is one of the few conversion tools that knows about LINQ and lambdas and the other 3.5 stuff. I turned to a trial version of the product after going in circles on this VB code conversion: Dim q = From c In dc.Categories, _ p In...
Filed under: , , ,

Request for a Better FindControl Method in ASP.NET by Ken Cox [MVP]

<rant> I'm spending hours trying to get a reference to a FileUpload control that's inside an InsertTemplate which is inside a Panel which is inside a Listview which is inside a Panel in an ASP.NET ContentPlaceHolder. It's crazy to have to figure...
Filed under: , ,

LINQing Up at the Victoria Code Camp by Ken Cox [MVP]

I'll be speaking on the topic "LINQ: Simplifying Data Handling in ASP.NET" at the Victoria .NET CodeCamp on January 26th. It's going to be a great (free!) day with expert presenters that include Beth Massi and Richard Campbell . Here's the abstract...

Expression of type 'System.Data.Linq.Table(Of xxx)' is not queryable by Ken Cox [MVP]

I don't recall getting this error so often in Visual Web Developer 2008 Beta 2 or the release candidate: Expression of type 'System.Data.Linq.Table(Of xxx)' is not queryable. Make sure you are not missing an assembly reference and/or namespace import...

Is 'Thingy' Okay When Talking LINQ? by Ken Cox [MVP]

Hey gang, I need some support here. I'm in the author review phase of ASP.NET 3.5 For Dummies . In a chapter on LINQ, an editor wants me to change 'Thingy' to "a more concrete noun". Here's an example heading: Narrowing the thingys with a Select...

LINQ and WCF Services by Ken Cox [MVP]

My friend Kirk has a very interesting post that uses LINQ to turn an XML RSS feed into a JSON service using WCF . (Wow, this is acronym heaven!) The piece has good information about techniques using .NET 3.5 including LINQ to XML (including XDocument...
Filed under: , , , ,
More Posts