请问,在VS2008里编写的C++代码是不是和C#一样也是托管代码,编译时会先编译成中间语言?

2024-12-28 05:01:43
推荐回答(4个)
回答1:

如果你选择了CLR选项就是托管的,否则就是非托管的。

回答2:

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(" ");
}

}
}

回答3:

不是

回答4:

{id: "toolbar-TxtSearch-diskname", type: "obj", text: "选择本页"},