try using
SqlDataAdapter [
^]
SqlCommand sqlCommand = new SqlCommand();
SqlDataAdapter da = new SqlDataAdapter(sqlCommand);
DataTable dt = new DataTable();
da.Fill(dt);
if (dt.Rows.Count == 1)
{
Session["Cus_name"] = Convert.ToString(dt.Rows[0][0]);
Session["Cus_email"] = Convert.ToString(dt.Rows[0][1]);
Session["Cus_pass"] = Convert.ToString(dt.Rows[0][2]);
Session["Cus_phone"] = Convert.ToString(dt.Rows[0][3]);
Session["Card_num"] = Convert.ToString(dt.Rows[0][4]);
Session["Card_expmnth"] = Convert.ToString(dt.Rows[0][5]);
Session["Card_expyr"] = Convert.ToString(dt.Rows[0][6]);
Session["Card_cvv"] = Convert.ToString(dt.Rows[0][7]);
}
Move this line at the last, so that all the necessary actions will perform before navigating to other page
Response.Redirect("ProfileC.aspx", false);