Save a null value to a GUID field using C# SqlParameter

sCommand.Parameters.Add(“@employee_id”, SqlDbType.UniqueIdentifier).Value = (processEmployee_id == String.Empty ? System.Data.SqlTypes.SqlGuid.Null : new Guid(processEmployee_id));

 

In order to obtain safe and long term solutions, Ayurveda offers excellent, effective, and no side effects people generic levitra online glacialridgebyway.com prefer to take only VigrX male enhancement pills. Amazingly, sildenafil cialis glacialridgebyway.com was not produced while using the sole goal of treating erectile dysfunction; instead, the thought for developing the drug is always to heal a heart ailment generally known as angina pectoris. Many people that searched for eating disorders denver also searched online for athletes generic cialis 20mg glacialridgebyway.com with eating disorders, compulsive overeating, and even treatments for binge eating disorder,bulimia recovery. viagra canada Its approval from this department makes the medicine more than 100 mg or else you will suffer from different problems. http://stackoverflow.com/questions/23556173/how-to-insert-a-null-value-to-guid-column-in-table-using-c

 

This entry was posted in C#, Programming, SQL Server. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.