My Linq to Sql Insert code seems to work fine but I don't get a record in the database
- by Alex
Here is my code. In the debugger, I can see that the code is running. No errors are thrown. But, when I go back to the table, no row has been inserted. What am I missing??
protected void submitButton_Click(object sender, EventArgs e)
{
CfdDataClassesDataContext db = new CfdDataClassesDataContext();
string sOfficeSought =…