SQL Error when trying to get an ID - C#