摘要: 首先定义一个排序的类:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Demo{ //年龄升序排列 class AgeASC : IComparer { ... 阅读全文
posted @ 2014-11-18 13:28 小A爱吧 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-11-14 15:47 小A爱吧 阅读(117) 评论(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爱吧 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 使一个div始终显示在页面中间假设我们有一个div层:首先,我们用css来控制它在水平上始终居中,那么我们的css代码应该是这样:这里的400px是你需要居中设置的div的宽度,200px是它的高,margin:0 auto;是控制水平居中的代码jquery代码应该是这样: 阅读全文
posted @ 2014-11-14 15:42 小A爱吧 阅读(1534) 评论(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爱吧 阅读(294) 评论(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爱吧 阅读(200) 评论(0) 推荐(0) 编辑