Hello, I am using HTML Editor where when I upload the image , I am storing it in a .mdb file and for the text content, I am storing it in SQL Management Studio. How should I call and display image from MS Access and will it be the positions that I enter when in the HTML Editor? I am confuse because I am using both MS Access and SQL.
This is what i did, but it only views the text content.
SqlConnection con;
SqlDataAdapter da;
SqlCommand cmd;
DataSet ds;
DataTable dt = new DataTable();
string connString = ConfigurationManager.ConnectionStrings["Sql"].ConnectionString;
private int userid = 0;
protected void Page_Load(object sender, EventArgs e)
{
userid = Convert.ToInt32(Request.QueryString["ID"].ToString());
if (!IsPostBack)
{
BindControlvalues();
}
}
private void BindControlvalues()
{
con = new SqlConnection(connString);
...
Go to the complete details ...