05 2012 档案

摘要:staticvoidMain(string[]args){varn1=1.5;varn2=2.5;varn3=3.5;varn4=4.5;varn5=5.5;Console.WriteLine(Math.Round(n1));Console.WriteLine(Math.Round(n2));Console.WriteLine(Math.Round(n3));Console.WriteLine(Math.Round(n4));Console.WriteLine(Math.Round(n5));Console.Read(); }//输出结果: 2 2 4 4 6 (四舍五入也有个国际惯例,叫.. 阅读全文
posted @ 2012-05-29 18:00 cn_king 阅读(795) 评论(0) 推荐(0) 编辑
摘要:Example:CSS鼠标手型效果 <a href="#" style="cursor:hand">CSS鼠标手型效果</a>Example:CSS鼠标手型效果 <a href="#" style="cursor:pointer">CSS鼠标手型效果</a>注:pointer也是小手鼠标,建议大家用pointer,因为它可以兼容多种浏览器。Example:CSS鼠标由系统自动给出效果 <a href="#" style="curso 阅读全文
posted @ 2012-05-28 17:18 cn_king 阅读(50266) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-05-28 16:24 cn_king 阅读(230) 评论(0) 推荐(0) 编辑
摘要:前台:<asp:TextBoxID="txtenddate"CssClass="text_inp"onclick="newCalendar().show(this);"ReadOnly="true"runat="server"></asp:TextBox>后台:Request.Form[txtenddate.UniqueID] 阅读全文
posted @ 2012-05-18 13:17 cn_king 阅读(103) 评论(0) 推荐(0) 编辑
摘要:<%@PageLanguage="C#"AutoEventWireup="true"CodeBehind="DailogTest.aspx.cs"Inherits="WebDailog.DailogTest"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html 阅读全文
posted @ 2012-05-10 00:48 cn_king 阅读(2900) 评论(0) 推荐(0) 编辑
摘要:1<scriptlanguage="javascript"type="text/javascript">23functionhideView(){4$("#signup").hide();5$("#lean_overlay").fadeOut(200);6}78functionShowView(){9varsig=$("#signup").outerWidth();10var_3=$("<divid='lean_overlay'></div 阅读全文
posted @ 2012-05-09 16:19 cn_king 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Css样式table { border-bottom:1px solid #ccc; border-left:1px solid #ccc; margin-bottom:14px; border-collapse:collapse;}td { border-top:1px solid #ccc; border-right:1px solid #ccc; line-height:26px; padding:0 3px 0 5px; }td.label { background:#f1f1f1; color:#666; font-weight:700; }Body代码<table>&l 阅读全文
posted @ 2012-05-08 15:48 cn_king 阅读(2102) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示