C#
文章平均质量分 54
qq497378355
这个作者很懒,什么都没留下…
展开
-
mongodb GridView C#
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel;using MongoDB.Driver;us原创 2013-03-19 17:50:09 · 982 阅读 · 0 评论 -
提高mongodb查询效率的方法--学习
方法:1、创建索引,根据索引查询 效果:查询时间由675毫秒降低为1毫秒2、优化查询条件顺序 效果:查询时间可以大幅降低mongodb 创建索引的命令(默认创建可重复索引):db.bj_T_RealTimeData.ensureIndex({"transformer_Id":1}) //建立索引显示已经创建的索引命令:db.bj_T_Real原创 2013-12-18 17:50:47 · 2378 阅读 · 0 评论 -
C# gridview 显示两位小数
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();dataGridViewCellStyle1.Format = "#.##";dataGridViewCellStyle1.NullValue = null;原创 2017-09-27 16:52:21 · 5037 阅读 · 1 评论