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

浙公网安备 33010602011771号