Don't concatenate strings. Not only does it cause problems like the one you are having, but it leaves you open to an SQL Injection attack, which could accidentally or deliberately destroy your database.
Instead, use parametrized queries:
try
{
con.Open();
SqlCommand cmd = new SqlCommand("UPDATE content SET pagetitle=@PT, description=@DS WHERE pagename=@PN", con);
cmd.Parameters.AddWithValue("@PT", TxtPagetitle.Text);
cmd.Parameters.AddWithValue("@DS", FreeTextBox1.Text);
cmd.Parameters.AddWithValue("@PN", ddlQuees.Text);
cmd.ExecuteNonQuery();
Up.Text = "Updated Successfullly";
bind();
}
catch
{
Up.Text = "not done";
}
finally
{
con.Close();
}
That should fix your problem!