摘要:
static void Main(string[] args) { //int d = GetInt("4.5"); int d = (int)Math.Round(2.5,MidpointRounding.AwayFromZero); decimal kk = Convert.ToDecimal("3.2"); //int dd = int.Parse(d); int result; int.T... 阅读全文
摘要:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"> <Columns> <asp:TemplateField HeaderText="StudentNumber"> <... 阅读全文
摘要:
<body > <form id="form1" runat="server"> <div> <object id="MP" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="620" height="460" VIEWASTEXT> ... 阅读全文
摘要:
using System.Diagnostics; namespace WebApplication1{ public partial class WebForm3 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Process pro = new Proce... 阅读全文
摘要:
CREATE TABLE tbl_students ( snumber char, sname varchar(10) ) CREATE TABLE tbl_curriculums ( cnumber char, cname varchar(15), cteacher varchar(10) )... 阅读全文
摘要:
1. 在项目中引用jQuery 类库<script language="javascript" type="text/javascript" src="/JS/jquery-1.2.6.js"> </script>2. JavaScript 代码<script language="javascript" type="text/javasc... 阅读全文
摘要:
添加视图<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <script language="javascript" type="text/javascript" src="/Scripts/jquery-1.2.6.min.j... 阅读全文
摘要:
添加视图。 添加控制器。 阅读全文
摘要:
ASP.NET 框架支持事件冒泡技术,它准许子控件触发的事件由父控件处理。 http://msdn.microsoft.com/en-us/library/aa719644(VS.71).aspx 阅读全文
摘要:
创建ASP.NET MVC 应用程序后,在界面上添加个ASP.NET 按钮服务器控件。运行程序单击按钮控件,产生如下异常。Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration sp... 阅读全文