淡水求咸

博客园已经停止更新,请移步 http://lovecjh.com/

导航

上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页

2013年6月4日

The diff between throw and throw e

摘要: Today, in the interview,this question be asked, but I cant't answer because I am cpluspluser before, I turn to learn C# not long. So, what the different between throw and throw e? I found a amasing answer herewhen Isearch some information with google. I run the program in vs2008, the code is : . 阅读全文

posted @ 2013-06-04 18:58 深圳彦祖 阅读(280) 评论(0) 推荐(0) 编辑

2013年5月29日

EXCEL中的公式

摘要: 今天在工作中碰到将EXCEL中E列数据转化为F列数据,其中E列数据是经度的另类表示法:1193609表示的是119度36分09秒,所以转化为F的度数为:119 + 36 / 60 + 09 / 60 / 60; 固然不能用人工来计算,EXCEL是个好东西。利用EXCEL中的公式=LEFT(E2,3)+MID(E2,4,2)/60+RIGHT(E2,2)/60/60来计算出F中的F2,然后直接下拉EXCEL就会帮你很好的完成。 阅读全文

posted @ 2013-05-29 17:15 深圳彦祖 阅读(254) 评论(0) 推荐(0) 编辑

2013年5月22日

ExportToExcel(工作笔记)

摘要: 一、DataTable导出到Excel(1)DataTableToExcel 函数 /// /// Datatable输出到Excel /// /// DataTable数据集 /// Excel文件名 protected void DataTableToExcel(DataTable dt, string FileName) { System.Web.UI.WebControls.GridView gv = new System.Web.UI.WebControls.GridView(); gv.DataSource ... 阅读全文

posted @ 2013-05-22 19:38 深圳彦祖 阅读(2854) 评论(0) 推荐(0) 编辑

2013年5月20日

工作中遇到的一些小知识点(备查)

摘要: 1.判断是Url中是否传有“cityName”的参数String[] Params = Request.Params.AllKeys;if (Array.IndexOf(Params, "cityName") > -1){ ......}else{ ......} 阅读全文

posted @ 2013-05-20 09:27 深圳彦祖 阅读(186) 评论(0) 推荐(0) 编辑

2013年5月19日

Extjs学习笔记(消息框)

摘要: 一 提示框 语法:Ext.Msg.alert(String title, String msg, Function fn, Object scope); 参数: title:标题 msg:提示内容 fn:提示框关闭后自动调用的回调函数 scope:作用域,用于指定this指向哪里,一般不用 例子: //提示框 popMsgBox = function () { Ext.MessageBox.alert("提示框", "这是一个提示框", function () { alert("... 阅读全文

posted @ 2013-05-19 20:53 深圳彦祖 阅读(6651) 评论(0) 推荐(2) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页