摘要: easyUI的显示数据的div都有一个样式,如下图 所有的表格都有一个datagrid-cell的样式那么这个时候我们就可以利用jquery来做时间的绑定了下面是主要的js代码:$(".datagrid-cell").live('contextmenu',function(e){ //显示快捷菜单 $('#mm').menu('show', { left: e.pageX, top: e.pageY ... 阅读全文
posted @ 2013-03-13 11:07 *.D.龙 阅读(169) 评论(0) 推荐(0)
摘要: <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > <session-factory name="NHibernate.Test"> <property name="connection.driver_class">NHibernate.Driver.OleDbDriver</property> <property name="connection.connection_string&qu 阅读全文
posted @ 2013-03-13 11:00 *.D.龙 阅读(133) 评论(0) 推荐(0)
摘要: 支持 地址定位 ,标注,放大,缩小今天上传不了效果图...var bmapps;Bsprint.EditMapInfoWindow = Ext.extend(Ext.Window, { form: null, constructor: function () { this.form = new Ext.form.FormPanel({ plain: true, baseCls: "x-plain", labelWidth: 90, defaults: { allowBlank: f... 阅读全文
posted @ 2013-01-29 09:18 *.D.龙 阅读(632) 评论(0) 推荐(0)
摘要: 面试题1:怎么把这样一个表儿year month amount1991 1 1.11991 2 1.21991 3 1.31991 4 1.41992 1 2.11992 2 2.21992 3 2.31992 4 2.4查成这样一个结果year m1 m2 m3 m41991 1.1 1.2 1.3 1.41992 2.1 2.2 2.3 2.4 答案select year, (select amount from aaa m where month=1 and m.year=aaa.year) as m1,(select amount from aaa m where month=2 an 阅读全文
posted @ 2011-07-31 21:34 *.D.龙 阅读(2343) 评论(0) 推荐(0)
摘要: Service.asmxusing System;using System.Web;using System.Web.Services;using System.Web.Services.Protocols;[WebService(Namespace = "http://tempuri.org/")][WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]public class Service : System.Web.Services.WebService{public Service () {//Unc 阅读全文
posted @ 2011-07-23 13:27 *.D.龙 阅读(657) 评论(0) 推荐(0)
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Net.Mail;using System.Text;public static class EmailOperatio 阅读全文
posted @ 2011-06-29 09:26 *.D.龙 阅读(286) 评论(0) 推荐(0)
摘要: 这是我在网上看见的,目前我也在学习这一块usingSystem;usingSystem.Net;usingSystem.Net.Sockets;usingSystem.Text;namespacetcpserver{///<summary>///Class1的摘要说明。///</summary>classserver{///<summary>///应用程序的主入口点。///</summary>[STAThread]staticvoidMain(string[]args){////TODO:在此处添加代码以启动应用程序//intrecv;//用于表 阅读全文
posted @ 2011-06-29 09:22 *.D.龙 阅读(242) 评论(0) 推荐(0)
摘要: *.aspxHttpCookie cookie = new HttpCookie("Info");//定义cookie对象以及名为Info的项DateTime dt = DateTime.Now;//定义时间对象TimeSpan ts=new TimeSpan(1,0,0,0);//cookie有效作用时间,具体查msdncookie.Expires = dt.Add(ts);//添加作用时间cookie.Values.Add("user","cxbkkk");//增加属性cookie.Values.Add("userid& 阅读全文
posted @ 2011-06-27 13:54 *.D.龙 阅读(270) 评论(0) 推荐(0)