Asp.net how to correct the error
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5482806/asp-net-how-to-correct-the-error">Asp.net how to correct the error</a>  </p>
</blockquote>



<p>I'm designing my web page
 My code</p>

<pre><code>public partial class WebForm1 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Button1_Click(object sender, EventArgs e)
    {
    } 
     public void onflbload(object sender,EventArgs e)
     {
      // Create a byte[] from the input file

     int len =flbload.PostedFile.ContentLength; 
     byte[] pic = new byte[len];
     flbload.PostedFile.InputStream.Read (pic  , 0, len);
     // Insert the image and comment into the database

     SqlConnection connection = new SqlConnection( @"Data Source=DEVI\SQLEXPRESS; 
         Initial Catalog =cat; Integrated Security=SSPI");

    try
     {
        connection.Open ();
        SqlCommand cmd = new SqlCommand ("insert into tblphotosetting " 
        + "
(BillNo,CustomerName,Address,StartDate,EndDate,Systemurl,Numberofcopies,Amount,Total ) 
    values (@text, @text,@text,@text,@text,@pic,@text,@text,@text)", connection);
       cmd.Parameters.Add("@BillNo",TextBox1.Text);
       cmd.Parameters.Add("@CustomerName",TextBox2.Text);
       cmd.Parameters.Add("@Address",TextBox3.Text);
       cmd.Parameters.Add("@StartDate",Rdbsdate.SelectedDate);
       cmd.Parameters.Add("@EndDate",Rdbddate.SelectedDate);
       cmd.Parameters.Add ("@Systemurl", pic  );
       cmd.Parameters.Add("@Numberofcopies",TextBox7.Text);
       cmd.Parameters.Add("@Amount",TextBox8.Text);
       cmd.Parameters.Add("@Total",TextBox9.Text);


      cmd.ExecuteNonQuery ();
     }
   finally 
   {
    connection.Close ();
   }
 }
}
</code></pre>

<p>My error image and record are not store in my database</p>
