腾讯乐捐公益平台:用c#,asp.net做网上报名系统的问题

来源:百度文库 编辑:神马品牌网 时间:2024/04/28 12:49:06
1.我每次把客户端的页面做好了也保存了。可是第二次打开又变了,变得一点都不对齐了。要怎样才不这样
2.调试时出现了这Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. E:\新建文件夹\Webservices\Webseveices\Web.Config 26 是为什么。 怎样解决。但我继续运行也没出现问题。和没错误一样。
3.在页面与页面传送数据时。比如:
int RtnCode = 55; Response.Redirect("SelSubject.aspx?a=RtnCode");

在SelSubject页面里有如下代码:Response.Write(Request.Params["a"]);
传过来时怎是RtnCode字符串,而不是数字的55;要怎样才传送数字的55

4.如何取数据存到变量里去,比如有学生表(sno,name,sex)把里面的sno=5的学生信息取出,分别存到变量sno1,name1,sex1里去要怎样做。

5.定义事务,触发器,存储过程是不是也和定义SQL语句一样。把它用引号引起来。再连到new SqlCommand(sql1, conn);,不是的话又是怎样做的,如何执行

1.觉得不太可能,你网络基础学的如何?
2.Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. E:\新建文件夹\Webservices\Webseveices\Web.Config 26
好好把这句错误翻译一下。
3.不知道这样行不行Response.Redirect("SelSubject.aspx?a="+RtnCode.ToString());
4.我觉得理论上应该是这样(不过没有试过):把sno=5的学生SELECT出来,让它的分量赋值给你定义的变量。
5.不清楚