- 博客(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
2275
原创 将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
732
转载 Winform常用代码
//ToolStripSplitButton是标准按钮和下拉按钮的组合,各自工作,但有联系,感觉上后者是没有向下箭头ToolStripDropDownButton;ToolStripDropDownButton只含有一个按钮,可以选择有没有向下箭头的标志,单击时显示关联的 ToolStripDropDown 的控件。两者均可改变箭头标志在做还是在右。//VS自带双缓冲this.SetSty
2012-03-27 16:50:45
811
转载 .net技术资料
<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.youkuaiyun.com/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.youkuaiyun.com/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />
2011-03-06 15:03:00
648
转载 .net技术资料
<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.youkuaiyun.com/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.youkuaiyun.com/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />
2011-03-06 15:03:00
504
转载 .net技术资料
<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.youkuaiyun.com/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.youkuaiyun.com/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />
2011-03-06 15:03:00
530
转载 .net技术资料
<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.youkuaiyun.com/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.youkuaiyun.com/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />
2011-03-06 15:02:00
514
转载 .net技术资料
<br />DataGrid能一次修改多行记录吗?如果不行,有其他方法实现吗?<br />http://community.youkuaiyun.com/Expert/topic/3110/3110415.xml?temp=.4844477<br />DropDownList的问题,连动菜单的<br />http://community.youkuaiyun.com/Expert/topic/3093/3093649.xml?temp=.3064234<br />Datagrid 显示数据库中的二进制的图片,有点难度!<br />
2011-03-06 15:02:00
621
原创 分页几种方式
<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
380
原创 根据表名创建实体类的字段和属性
<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
703
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人