I have a stored proc were I want to insert a GUID (user id) into a table in MS SQL but I keep getting an error about the hyphen \'-\' that is part of the guid value, here\'s
Try using this:
sql_cmd.Parameters.AddWithValue ("@Company_ID",**Guid.Parse**("00000000-0000-0000-0000-000000000000");
That will take a simple string rep. and turn it into a GUID obj.