Browse by Tags

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...
1 Comments
Filed under: , , , ,
 
02 May 2009
Solution to the “Format of the initialization string does not conform to specification starting at index 0.” Exception
You are probably using the wrong DbConnection class. If you are using Access then make sure you use OleDbConnection, not SqlConnection…and vice versa. Alternatively you could be referencing your MDB file wrong. Here’s the proper way: <connectionStrings> Read More...
2 Comments
Filed under: , , , ,
 
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...
1 Comments
Filed under: , ,
 
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...
1 Comments
Filed under: , ,
 
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...
0 Comments
Filed under: , ,
 
17 February 2009
Delete all Outlook RSS Feeds
My Outlook RSS Feeds were in a really funky state this morning.  I had to create a new profile and I had RSS Sync enabled.  When that is the case Outlook re-adds all Feeds that you have ever added to the machine back into your profile even if Read More...
0 Comments
Filed under: , , , ,
 
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...
1 Comments
Filed under: , , , ,
 
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...
07 March 2007
Reflector add-ins now on CodePlex.com
Lutz Roeder's Reflector add-ins are now on www.CodePlex.com http://www.codeplex.com/reflectoraddins Read More...
1 Comments
Filed under: ,
 
Page view tracker