日期:2014-05-16 浏览次数:20384 次
dbconn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\News.mdb");
dbconn.Open();
da = new OleDbDataAdapter(@" select biaoti from tb_News where neirong Like '*" + TextBox1.Text+ "*'", dbconn);
DataTable dt = new DataTable();
da.Fill(dt);
Response.Write(dt.Rows[0]["biaoti"]);