Posted on: 10/3/2012 4:13:54 AM | Views : 282

Hello, I have downloaded and installed obout but I am confuse with the code in the obout tutorial website as it only shows the .aspx.cs page. Does this mean there is no need to place anything in the .aspx page? I am actually using SQL, so can I just convert the parts of the obout editor to the SQL style, and what should i do in my .aspx textbox?
This is the code from the tutorial:
void Page_Load(object o, EventArgs e){ OleDbConnection Connection = new OleDbConnection(); Connection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +Page.Server.MapPath("database/db.mdb") + ";"; Connection.Open(); if(Page.IsPostBack){ OleDbCommand myCommand; string sqlString="Update tbTest Set fldContent=? Where id=?"; myCommand=new OleDbCommand(sqlString,Connection); myCommand.Parameters.Add(new OleDbParameter("@fldContent",OleDbType.VarChar)); myCommand.Par ...

Go to the complete details ...