摘要:
//获取当天的数据 DrawRecordDA _recordDA = new DrawRecordDA(); var query = _recordDA.GetQuery(); //筛选 当天 //query = query.Where(q=>SqlFunctions.Dat... 阅读全文
摘要:
protected void btnUpload_Click(object sender, EventArgs e) { HttpFileCollection Files = HttpContext.Current.Request.Files; for (int i = 0; i 0) ... 阅读全文
摘要:
private static string GetMD5HashFromFile(string fileName) { try { FileStream file = new FileStream(fileName, FileMode.Open); Sy... 阅读全文
摘要:
ILayerEffects pLayerEffects = _pFeatureLayer as ILayerEffects; pLayerEffects.Transparency = (short)透明度值; axMapControl1.Refresh(); 阅读全文
摘要:
/// /// 保存MXD图件 /// /// 保存路径 /// 地图 private void saveMxd(string strPath) { IMapDocument pMapDocument = new MapDocumentClass(); ... 阅读全文
摘要:
Draw a specified graphic on the map using the supplied colors. 阅读全文
摘要:
PIVOT 用于将列值旋转为列名(即行转列),在 SQL Server 2000可以用聚合函数配合CASE语句实现 PIVOT 的一般语法是:PIVOT(聚合函数(列) FOR 列 in (…) )AS P 注意:PIVOT、UNPIVOT是SQL Server 2005 的语法,使用需修改数据库兼 阅读全文
摘要:
Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; IFeatureLayer inputfeaturelayer = pMap.get_Layer(0) as IFeatureLayer; IFeatureLayer c 阅读全文
摘要:
打开access数据库,在左边对象栏里有个查询,点在设计视图创建查询,点关闭,然后你可以看到左上角有个写着SQL的按钮,点击就可以输入SQL了 阅读全文
摘要:
System.Data.OleDb; //导入名空间 private Button1_Click(object sender,System.EventArgs e) { if(TextBox1.Text.ToString().Trim()!=""||TextBox1.Text.ToString().Trim()!=String.Empty()) { OleDbCo... 阅读全文