Insert a new record (asp .net & c#)
<p>I'm a newbie to asp .net and c# world. I'm trying to insert a very new record into a simple task manager database table, tasks (name, description, priority, start_date, end_date)</p>

<p>Here is my Task.cs and add.aspx code:
<a href="http://pastie.org/691005" rel="nofollow">http://pastie.org/691005</a></p>

<p>When I submit the form, it just redirect me back to the Default.aspx page. Is there anyway to debug the inside the Insert method of Task.cs? How can I output the sql query from within the Task.cs file? I'm using Microsoft SQL express.</p>

<p>Thank you</p>
