11 2014 档案

摘要:分配委托(将命名方法分配给其委托)using System;public class GenericFunc{ public static void Main() { // Instantiate delegate to reference UppercaseString meth... 阅读全文
posted @ 2014-11-23 15:05 小A爱吧 阅读(221) 评论(0) 推荐(0)
摘要:首先要确定好XML文件的位置,最好是放在程序的debug文件中,放在其他地方也可以,要写上绝对路径using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Sys... 阅读全文
posted @ 2014-11-19 15:50 小A爱吧 阅读(170) 评论(0) 推荐(0)
摘要:student类必须标记序列化using System;using System.Collections.Generic;using System.Text;namespace TextFile{ [Serializable] class Student { public string ... 阅读全文
posted @ 2014-11-19 15:00 小A爱吧 阅读(176) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window... 阅读全文
posted @ 2014-11-19 11:01 小A爱吧 阅读(136) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2014-11-19 10:27 小A爱吧 阅读(138) 评论(0) 推荐(0)
摘要:首先定义一个排序的类:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Demo{ //年龄升序排列 class AgeASC : IComparer { ... 阅读全文
posted @ 2014-11-18 13:28 小A爱吧 阅读(206) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-11-14 15:47 小A爱吧 阅读(124) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using MyBlog.Linq;using System.Configuration;using MyBlog.BLL;namespa... 阅读全文
posted @ 2014-11-14 15:45 小A爱吧 阅读(141) 评论(0) 推荐(0)
摘要:使一个div始终显示在页面中间假设我们有一个div层:首先,我们用css来控制它在水平上始终居中,那么我们的css代码应该是这样:这里的400px是你需要居中设置的div的宽度,200px是它的高,margin:0 auto;是控制水平居中的代码jquery代码应该是这样: 阅读全文
posted @ 2014-11-14 15:42 小A爱吧 阅读(1547) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks;namespace a { pub... 阅读全文
posted @ 2014-11-14 15:31 小A爱吧 阅读(376) 评论(0) 推荐(0)
摘要:Public Sub RunSqlTransaction(myConnString As String) Dim myConnection As New SqlConnection(myConnString) myConnection.Open() Dim myCommand As SqlC... 阅读全文
posted @ 2014-11-14 15:29 小A爱吧 阅读(204) 评论(0) 推荐(0)