如果你选择了CLR选项就是托管的,否则就是非托管的。
lick(object sender, EventArgs e)
{
if (DropDownList1.Text == "作者")
{
OracleConnection conn = new OracleConnection();
conn.ConnectionString = "Data Source=works;User ID=works;Password=password;Unicode=True";
string sql = "select * from [author] where aname='" + TextBoxName.Text + "' and apassword='" + TextBoxPassword.Text + "'";
OracleCommand cmd = new OracleCommand(sql, conn);
OracleDataReader dr = null;
conn.Open();
dr = cmd.ExecuteReader();
if (dr.Read())
{
Session["aname"] = dr["aname"].ToString();
Session["apassword"] = dr["sapassword"].ToString();
Response.Write(" ");
}
else
{
Response.Write(" ");
}
}
}
不是
{id: "toolbar-TxtSearch-diskname", type: "obj", text: "选择本页"},