- 博客(4)
- 资源 (1)
- 收藏
- 关注
转载 C#获取当前程序运行路径的方法集合
转载:http://www.cnblogs.com/cocoulong/archive/2010/01/30/1660119.html C#获取当前程序运行路径的方法集合 //获取当前进程的完整路径,包含文件名(进程名)。string str = this.GetType().Assembly.Location;result: X:\xxx\xxx\xxx.ex
2013-03-08 13:59:50 414
转载 datagridview设置默认单元格格式用以显示特定时间格式
//datagridview设置默认单元格格式用以显示特定时间格式dataGridView1.Columns["时间"].DefaultCellStyle.Format = "yyyy-MM-dd hh:mm:ss";
2013-03-07 16:57:37 2221
转载 SQL查询最后5条记录
SELECT TOP 5 * FROM 学生信息表 ORDER BY 序号 desc 转自:http://zhidao.baidu.com/question/431870131.html你的这个问题 用数据分页就能解决的哦!SELECT TOP 5 id FROM TestTable ORDER BY id desc思路:1、把数据全部查询出来;select * from
2013-03-07 16:22:01 7742
转载 DateTimePicker选择日期和时间
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm:ss ";this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;this.dateTimePicker1.ShowUpDown = true;
2013-03-01 08:51:16 1652
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人