三个很菜很菜的问题
1.做留言板用什么控件分页比较好?
2.为access数据表字段取名有什么规定,什么类型的名字不能用(错误提示:INSERT INTO语句的语法错误!)?
3.<%@ Page language=c# runat=server%>
<script runat=server>
void Page_Load(object sender,EventArgs e){
Response.Write("<script language=javascript> Alert('aaa') </script>");}
</script>
上面这段代码错在哪里?错误提示:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1010: Newline in constant
Source Error:
Line 2: <script language=c# runat=server>
Line 3: void Page_Load(object sender,EventArgs e){
Line 4: Response.Write("<script> Alert("aaa") </script>");}
Line 5: </script>
Source File: d:\test\ccc.aspx Line: 4