上一页 1 ··· 4 5 6 7 8
摘要: protected void btn_output_Click(object sender, EventArgs e) { //OutPutByGridview(); PanelOutput(); } private void PanelOutput() { DataSet ds = u.GetOutTableData(""); if(ds != null && ds.Tables... 阅读全文
posted @ 2010-06-23 12:27 JasonNET 阅读(1848) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" language="javascript"> function setParentState(objNode) { var objParentDiv = WebForm_GetParentByTagName(objNode, "div"); if (objParentDiv == null || objParentDiv =... 阅读全文
posted @ 2010-06-23 12:24 JasonNET 阅读(3200) 评论(0) 推荐(0) 编辑
摘要: $.fn.mypagination = function(totalProperty,opts){ opts = $.extend({ perPage:10, callback:function(){ } },opts||{}); return this.each(function(){ function numPages(){ return Math.ceil(totalProper... 阅读全文
posted @ 2010-06-23 12:16 JasonNET 阅读(2757) 评论(0) 推荐(0) 编辑
摘要: 服务端:要发布到IIS上  public class User : SoapHeader  {    private string username;    private string password;    public string UserName    {      get{return username;}      set{username = value;}    }      ... 阅读全文
posted @ 2010-06-23 12:05 JasonNET 阅读(201) 评论(0) 推荐(0) 编辑
摘要: namespace TrafficLights{ class Program { #region 定义全局变量 static string lightcol = ""; static TrafficLight tr = null; #endregion static void Main(string[] args) { #region 通过事件完成 //while (true) //{ // Tr... 阅读全文
posted @ 2010-06-23 11:43 JasonNET 阅读(448) 评论(0) 推荐(0) 编辑
摘要: namespace TomAndJerry{ class Program { static void Main(string[] args) { #region 通过接口来完成 ////猫 //Tom t = new Tom(); ////Mouse //Jerry j = new Jerry(t); //Jerry j1 = new Jerry(t); ////Owner //Owner o =... 阅读全文
posted @ 2010-06-23 11:41 JasonNET 阅读(241) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args){  int[] array = new int[] {...........};  Print(array);//打印数组  Sort(array,0,array.Length-1);//排序}private void Print(int[] array){  for(int i =0; i <array.Lenght; i++... 阅读全文
posted @ 2010-06-23 11:38 JasonNET 阅读(2434) 评论(0) 推荐(0) 编辑
摘要: public static void Main(string[] args){  int[] array = new int[]{15,20,10,30,25,33};  Print(array);//打印数组  Sort(array);//排序数组  Print(array);//打印排序后的数组}private void Print(int[] array){  for(int i=0; i ... 阅读全文
posted @ 2010-06-23 11:29 JasonNET 阅读(339) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8