2010年3月26日

TextBox 内容由弹出窗口选择返回的实现

摘要: 在项目中很多时候Textbox 需要有弹出窗口来选择返回.这里简单介绍实现方式.1.新建弹出选择窗口页面:前台:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<TABLEwidth="100%"align="center"><t... 阅读全文

posted @ 2010-03-26 14:05 AndyCai 阅读(683) 评论(0) 推荐(0) 编辑

动态生成多个DataGrid 并导出Excel

摘要: 项目中有需要动态的生成多个DataGrid,并且可以一起导出到Excel.实现如下:前台1.放置div: 用于装载DataGrid <div id="divGrid" style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"runat... 阅读全文

posted @ 2010-03-26 13:45 AndyCai 阅读(618) 评论(0) 推荐(0) 编辑

两结构相同DataTable 合并

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicDataTableMergeTable(DataTableorgDt,DataTablenewDt){object[]obj=newobject[newDt.Columns.Count];... 阅读全文

posted @ 2010-03-26 13:33 AndyCai 阅读(181) 评论(0) 推荐(0) 编辑

DataView 转成DataTable

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicDataTableCreateTable(DataViewobDataView){if(null==obDataView){thrownewArgumentNullException("D... 阅读全文

posted @ 2010-03-26 13:32 AndyCai 阅读(196) 评论(0) 推荐(0) 编辑

导航