{
string image_name = "";
SqlCommand cmd1 = new SqlCommand("Select Image from Slider_Data where Section=@Section", con);
cmd1.Parameters.AddWithValue("@Section", ddlsection.SelectedValue);
con.Open();
SqlDataReader dr = cmd1.ExecuteReader();
if (dr.Read())
{
image_name = dr["Image"].ToString();
}
cmd1.Parameters.AddWithValue("@Image", image_name);
con.Close();
}
cmd.Parameters.AddWithValue("@Description",CKEditorControl.Text);
con.Open();
int i = cmd.ExecuteNonQuery();
if (i == 1)
{
Response.Write("");
}
con.Close();
}
}
catch(Exception ex)
{
Response.Write(ex.Message);
}
Ravi PatelPosted Nov 26, 2015, 5:15 AM
Nishant MittalPosted Nov 26, 2015, 7:36 AM
pooja nirmalkarPosted Nov 26, 2015, 6:38 AM
Raja TPosted Nov 26, 2015, 5:17 AM
pooja nirmalkarPosted Nov 26, 2015, 4:59 AM
Ravi PatelPosted Nov 26, 2015, 4:14 AM
pooja nirmalkarPosted Nov 26, 2015, 4:06 AM
pooja nirmalkarPosted Nov 26, 2015, 3:59 AM
Ravi PatelPosted Nov 26, 2015, 3:42 AM
Nishant MittalPosted Nov 26, 2015, 3:16 AM