62,046
社区成员
发帖
与我相关
我的任务
分享
OleDbConnection acccon = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("./bfjDb/bfj.mdb").ToString());
string selectcmd = "select * from [connection] where [IID]=1";
OleDbCommand acccomm = new OleDbCommand(selectcmd, acccon);
acccon.Open();
OleDbDataReader dr = acccomm.ExecuteReader();
if(dr.Read())
{
FCKeditor1.Value = dr["I_content"].ToString();
}
dr.Close();
acccon.Close();