Browse by Tags
All Tags
»
asp.net
»
c#
(RSS)
.net
access
ajax
clr
codeplex
error messages
excel
job postings
linq
masterpages
mdbf
mobile
pagemethods
pdc2008
resources
scriptservice
silverlight
solution
sql
videos
virtualpathprovider
wap
web applications
02 May 2009
Solution to the “You tried to assign the Null value to a variable that is not a Variant data type.” Exception
By default the DataSource wizard passes parameters for AutoNumber primary keys. If you are getting this error: You tried to assign the Null value to a variable that is not a Variant data type. Then you need to remove that default parameter. This is what
Read More...
06 April 2009
Solution to “Operation must use an updateable query” Exception when writing to an Access Database from ASP.NET
Could be a couple of things: The file is marked as read-only. Right click on file, uncheck “read only”. The application pool identity doesn’t have write permissions to the folder that contains the MDB. Find the identity of the application pool (using
Read More...
03 April 2009
Mobile Browser Detection in ASP.NET
Before last week the only two viable Mobile Browser Detection options were: WURFL – Great for non-.NET solutions. .NET APIs lack support DeviceAtlas – Great for .NET solutions, but it’s starts at $99/server/year. DeviceAtlas claims to have
Read More...
13 March 2009
Access Database Membership, Profile, Role and Personalization Providers for ASP.NET
ASP.NET doesn’t ship with Membership, Profile, Role or Personalization providers out of the box. Imar Spaanjaars has a great article on how to setup a site using the “Sample Access Providers” provided by Microsoft. http://imar.spaanjaars.com/ http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=404
Read More...
03 March 2009
The simplest DataSet to Excel solution
Tim Mackey has a very simple method for converting DataSets to Excel spreadsheets. http://tim.mackey.ie/HowtoExportADatasetToExcelCAspnet.aspx Thanks Tim!
Read More...
23 February 2009
Binding Hierarchical DataSets to TreeView Controls
OOB the ASP.NET TreeView control doesn’t support binding to Hierarchical DataSets. Ralph Varjabedian created a HierarchicalDataSet class to help with this. Read more about it here . Here’s a snippet…it’s simple to implement: TreeView1.DataSource
Read More...
19 February 2009
How to reuse TreeNodeCollection in Windows Forums apps
I’m creating an app and need the same data set for two tree views. Nodes.AddRange only works with a TreeNode[] and the TreeNodeCollection is read-only and doesn’t have a ctor. I first tried something like this: TreeNode[] nodes = new TreeNode[treeView1.Nodes.Count];
Read More...
05 November 2008
PDC Wrapup - My fav sessions
PDC was great this year! Here's a quick list of my favorite sessions of technologies and products that Social Bookmarking will use soon... Stuff we'll use this year: Velocity ADO.NET Data Services Visual Studio 2010 C# 4.0 j Query MVC ASP.NET 4.0 ....Next
Read More...
17 April 2008
Short and Sweet "Silverlight 2.0, LINQ and WCF in 5 Minutes" Video
Download Source This is the first video in my new "Short and Sweet" video series. I'm going to continue with Silverlight, LINQ and WCF path for the series. Please ping me if you have an idea for a future video. This video takes you through the minimum
Read More...
25 November 2007
LINQ and Web Application Connection Strings
It's usually a good idea to seperate Biz Layer Objects and Data Access Objects into seperate assemblies, but when you do that and use LINQ to SQL (.dbml) files the DataContext object default ctor uses the Settings file that is automattically generated
Read More...
12 June 2007
MSDN/TechNet is looking for senior Web Developers
My team, MSDN/TechNet, is looking for 3 senior developers. This is a great opportunity to come help us innovate using latest Microsoft technologies. Please send your resume to ideodevj@microsoft.com to be considered for this position. MSDN and TechNet
Read More...
27 March 2007
Embedded MasterPage with VirtualPathProvider and Resource files
Piyush Shah , a dev on my team, developed a way to embed MasterPages in assemblies using VirtualPathProvider and Resource files. It's a really slick way of reusing master pages for multiple applications. Read more here: http://blogs.msdn.com/shahpiyush/archive/2007/03/09/Sharing-Master-Pages-amongst-Applications-by-Embedding-it-in-a-Dll_2E00_.aspx
Read More...
25 March 2007
Web Application Projects do not support dynamic Profile class generation
I found out the hard way that Web Application Projects do not support dynamic class generation for profile providers. For now you need to use the "WebSite" type project instead of WAP or you can use this ASP.NET WebProfile Generator add-in . I'm trying
Read More...
06 March 2007
Solution to "is null or not an object" error with ScriptService
I just spent the last few hours trying to track down why I kept getting an "is null or not an object" error when setting up a service with a ScriptService attribute. I started my coding with a PageMethods implementation, but moved to a ScriptReference
Read More...
Home
About
Email
Jon Gallant's Blog
dev lead @ microsoft
RSS 2.0
Atom 1.0
Recent Posts
Solution to an Unresponsive Zune Pad
Boot Windows Server 2008 R2 from SAN using Thin Provision (Virtual Provision) using EMC storage.
Solution to the exception: "the data necessary to complete this operation is not yet available"
Solution to the Windows Task Scheduler “Start only if the following network connection is available”
How To Send a Text Message from ATT.com
Tags
.net
access
ajax
announcements
asp.net
audio
blackjack
blend
blogs
bookmarks
c#
clr
codeplex
codes
commerce server
community
config
debug
delicious
dns
error messages
errors
excel
facebook
freerice
gridview
howto
ie
iis
images
ipv4
job postings
Learning
linq
linux
mailmessage
masterpages
mdbf
media
mix08
mobile
mobiledev
msdn
msdn/technet
music
open mic
orcas
outlook
pagemethods
pdc2008
poverty
resources
rss
scriptservice
search
silverlight
social networking
solution
sql
sql server 2008
sqlxml
system.net
technet
tfs
topblogs
videos
virtual pc
virtualpathprovider
visual studio
wap
wav
web applications
webdev
windows
windows 7
windows media player
windows mobile
windows server
wmp
wpf/e
xml
zune
Archives
December 2009 (3)
November 2009 (5)
June 2009 (6)
May 2009 (2)
April 2009 (4)
March 2009 (7)
February 2009 (5)
November 2008 (4)
September 2008 (7)
August 2008 (4)
May 2008 (1)
April 2008 (3)
March 2008 (4)
February 2008 (2)
December 2007 (3)
November 2007 (1)
September 2007 (1)
August 2007 (2)
July 2007 (2)
June 2007 (2)
May 2007 (6)
April 2007 (1)
March 2007 (7)
February 2007 (4)
January 2007 (4)
December 2006 (1)
November 2006 (8)
October 2006 (6)
August 2006 (2)
July 2006 (4)
June 2006 (6)
April 2006 (4)
March 2006 (7)
February 2006 (1)
September 2005 (1)
August 2005 (1)
October 2004 (5)
Search
Blogs
Piyush Shah's Blog
These postings are provided "AS IS" with no warranties, and confer no rights.