Thursday, July 03, 2008

When you set a DataGrid’s datasoure to a LinqDataSource control you still need to handle the paging event in your code behind file.  It’s also worth noting that the DataGrid does not use the Linq skip and take paging functionality.  The DataGrid will simply request all results and page them in memory.

When you over load the OnSelecting event you do not need to specify a datacontext or TableName or other query specific properties.

posted by Aaron Fischer on Thursday, July 03, 2008 4:01:54 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Sunday, May 20, 2007
posted by Aaron Fischer on Sunday, May 20, 2007 7:44:55 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Saturday, April 21, 2007

I was having some trouble figuring out how to use the new ado.net entity framework in the last March Orcas CTP, but leave it to Scott to have all the answers.  Scott has posted a nice video covering

  • new asp.net WYSIWYG HTML designer.
  • create classes's from the ORM designer.
  • Intellisense for LINQ.

full detailed blog post.  And you can find the video here.

posted by Aaron Fischer on Saturday, April 21, 2007 1:33:48 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Friday, April 20, 2007

You can find the updated LINQ samples for both VB and C# here

posted by Aaron Fischer on Friday, April 20, 2007 1:47:59 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

Incase you missed it yesterday Soma announced the release of Orcas Beta 1, it can be downloaded here.

posted by Aaron Fischer on Friday, April 20, 2007 1:43:03 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Saturday, March 31, 2007

I was taking a look at Scott Guthrie's Developing Data-Driven Web Applications using LINQ.  This is going to make life a little less dreary.

I like the second to the  last line results.Skip(startRow).Take(10);

posted by Aaron Fischer on Saturday, March 31, 2007 2:03:28 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]