Welcome to MSDN Blogs Sign in | Join | Help

December 2006 - Posts

Using application/user settings in C# 2.0

This is a quick post for using application or user settings in C# 2.0. I found most of the articles dealing with it in VB which is pretty easy. All you need to access a setting called "ServerName" in Visual Basic is this line My.Settings.ServerName="myServer"
Posted by Mohamed Sharaf | 10 Comments
Filed under:

Misleading error message when you create foreign key constraint

When you create new foreign key constraint in SQL Server 2005 and this constraint conflict with the data already exists in the tables, you will get an error message that might be misleading. Let's say that you have 2 tables (depts and employee) and you
Posted by Mohamed Sharaf | 1 Comments
Filed under:
 
Page view tracker