自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 Linq to sql 中将匿名类集合转换成DataTable

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;//反射命名空间 namespace Common{    publicclass StaticConvert

2012-08-14 15:27:38 2250

原创 将DataTable转换成Json格式串的方法

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.W

2012-08-14 15:23:03 700

转载 Winform常用代码

//ToolStripSplitButton是标准按钮和下拉按钮的组合,各自工作,但有联系,感觉上后者是没有向下箭头ToolStripDropDownButton;ToolStripDropDownButton只含有一个按钮,可以选择有没有向下箭头的标志,单击时显示关联的 ToolStripDropDown 的控件。两者均可改变箭头标志在做还是在右。//VS自带双缓冲this.SetSty

2012-03-27 16:50:45 759

转载 .net技术资料

<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.csdn.net/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.csdn.net/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />

2011-03-06 15:03:00 631

转载 .net技术资料

<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.csdn.net/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.csdn.net/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />

2011-03-06 15:03:00 473

转载 .net技术资料

<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.csdn.net/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.csdn.net/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />

2011-03-06 15:03:00 515

转载 .net技术资料

<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.csdn.net/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.csdn.net/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />

2011-03-06 15:02:00 496

转载 .net技术资料

<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.csdn.net/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.csdn.net/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />

2011-03-06 15:02:00 606

原创 分页几种方式

<br />select top pagesize * from users<br />where id not in(select top (pageindex-1)*pagesize id from users order by id)<br />select top pagesize * from users<br />where id ><br />(select MAX(id) from<br />(select top (pageindex-1)*pagesize id from users o

2011-03-02 15:27:00 367

原创 根据表名创建实体类的字段和属性

<br />ALTER proc [dbo].[p_Wsp]<br />@tablename varchar(50)<br />as<br /> declare @sql varchar(8000)<br /> select @sql=isnull(@sql+char(9)+'private ','public class '+@tablename+char(13)+'{'+char(13)+char(9)+'private ')+<br /> case when a.name in('image','un

2011-03-02 15:25:00 683

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除