码迷,mamicode.com
首页 >  
搜索关键字:cells    ( 1822个结果
spoj GCJ1C09C Bribe the Prisoners
题目链接: http://www.spoj.com/problems/GCJ1C09C/ 题意: In a kingdom there are prison cells (numbered 1 to P) built to form a straight line segment. Cells nu ...
分类:其他好文   时间:2017-02-10 23:20:56    阅读次数:315
HDU 2782 The Worm Turns (DFS)
Winston the Worm just woke up in a fresh rectangular patch of earth. The rectangular patch is divided into cells, and each cell contains either food o ...
分类:其他好文   时间:2017-02-07 12:43:12    阅读次数:298
【LeetCode】36. Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled wit ...
分类:其他好文   时间:2017-01-14 17:15:15    阅读次数:219
python 使用win32com 操作excel
举例1importwin32com.clientaswin32xl=win32.Dispatch(‘Excel.Application‘)xl.Visible=Truexl.Workbooks.Add()xlBook=xl.Workbooks(1)xlSheet=xl.Sheets(1)xlSheet.Cells(1,1).Value=‘Whatshallbethenumberofthycounting?‘xlSheet.Cells(2,1).Value=3printxlSheet.Cells(1,1)...
分类:编程语言   时间:2017-01-13 01:54:06    阅读次数:531
Aspose 数字和日期 设置
Microsoft Excel一个非常强大的功能就是使客户可以设置数字和日期的显示格式,众所周知数字可以显示为不同的值格式,包含:小数、货币、百分数、分数、账面价值等,同样地Aspose.Cells也为开发人员提供了这些功能,可以对数字和时间进行格式的设置。在Excel里客户可以右键单元格,选择单元 ...
分类:Web程序   时间:2017-01-07 14:03:33    阅读次数:500
从数据库中导出excel报表
通常需要将后台数据库中的数据集或者是其他列表等导出excel 报表,这里主要引用了Apose.cells dll 类库, (1)直接上主要代码: protected void txtExport_Click(object sender, EventArgs e) { try { // 获取测试商品报 ...
分类:数据库   时间:2016-12-28 21:14:32    阅读次数:306
draggable datagrid columns
$.extend($.fn.datagrid.methods,{ columnMoving: function(jq){ return jq.each(function(){ var target = this; var cells = $(this).datagrid('getPanel').fi ...
分类:其他好文   时间:2016-12-28 14:56:11    阅读次数:154
Asp.Net中应用Aspose.Cells输出报表到Excel 及样式设置
解决思路: 1、找个可用的Aspose.Cells(有钱还是买个正版吧,谁开发个东西也不容易); 2、在.Net方案中引用此Cells; 3、写个函数ToExcel(传递一个DataTable),可以另写个SetCellStyle的函数专门给各列设置样式。 4、在按钮的Click事件中调用此ToEx ...
分类:Web程序   时间:2016-12-26 18:26:34    阅读次数:231
LeetCode 463 Island Perimeter
Problem: You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizo ...
分类:其他好文   时间:2016-12-16 14:46:01    阅读次数:205
计算合并行、列
function autoRowSpan(tb,row,col){ var lastValue=""; var value=""; var pos=1; for(var i=row;i<tb.rows.length-1;i++){ value = tb.rows[i].cells[col].inne ...
分类:其他好文   时间:2016-12-16 11:47:57    阅读次数:147
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!