try this
protected void btnSub_Click(object sender, EventArgs e)
{
try
{
string filename = FileUpload1.FileName;
FileUpload1.PostedFile.SaveAs(Server.MapPath("~\\Uploadform\\" + filename.Trim()));
string path = "~\\Uploadform\\" + filename.Trim();
SqlConnection con = new SqlConnection(str);
cmd = new SqlCommand("Insert into Circular(title,type,url1) values('" + txttitle.Text + "','" + txttype.Text + "','" + path + "')", con);
lblinfo.Text = " Uploaded Successfully ";
cmd.CommandType = CommandType.Text;
con.Open();
cmd.ExecuteNonQuery();
con.Close();
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}