#region ---- 数据绑定 -----
private void bd(int pageindex)
{
int rowcount = 0;
int pagesize = 0;
int pagecount = 0;
decimal cyfzhj = 0;
string Slqstring = ...
分类:
其他好文 时间:
2014-06-20 11:38:07
阅读次数:
211
本文转自:http://www.sulong.cc/article/program/aspx/110613114249.html#region
添加到购物车AddShoppingCar/// /// 添加到购物车AddShoppingCar/// /// 数量 如果存在产品 负数是减少 ///
正数...
分类:
Web程序 时间:
2014-06-11 22:06:37
阅读次数:
341
public class PrintInvoice { #region
01.获得打印机1获得吧台打印机2获得后厨打印机 /// /// 获得打印机1获得吧台打印机2获得后厨打印机 /// public TcpClient
GetPrint(int n = 1) { var clie...
分类:
Web程序 时间:
2014-06-11 13:33:14
阅读次数:
417
前台datagrid数据绑定#region 导出到excel中 /// /// 2014-6-6
/// /// /// protected void lnkbtnExcel_Click(object sender, EventArgs
e)//导出Excel按钮点击事件 { DataSet ...
分类:
其他好文 时间:
2014-06-11 11:22:33
阅读次数:
195
#region 写行号事件 //在DataGridView控件上选择RowPostPaint事件
private void dgvJointList_RowPostPaint(object sender,
DataGridViewRowPostPaintE...
有时会碰到数字太大无法用int运算的情况,比如1000的阶乘。解决方法是用char、string代替int进行竖式计算,可进行加、减、乘、除、阶乘、组合、比较大小,下面的方法都测试过
1 #region 运算方法 2 // 计算组合数 3 pub...
分类:
其他好文 时间:
2014-06-06 13:32:55
阅读次数:
213
找了半天,总是无法折叠代码网上有人问,回复说用#region
来替代其实在Tools-->Opions-->TextEditor-->General中有fold选项
分类:
其他好文 时间:
2014-06-06 07:23:00
阅读次数:
362
3.1 C# 的基本语法 注释://单行注释,/* ...
*/多行注释,///单行注释可用于创建文档说明书 C#语言是区分大小写字母的。 使用#region 和 #endregion
关键字来定义可以扩展和收缩的代码区域的开头和结尾。 以#开头的任意关键字实际上都是一个预处理指令,严格地说...
分类:
其他好文 时间:
2014-06-05 16:35:01
阅读次数:
210
透明色:00ff00ff //设置柱状图的颜色 ColorSet cs = new
ColorSet(); cs.Id = "colorset1";#region 设置柱状图的颜色 待开发 string strColor =
oYAXIS.Color; switch (strColor) { cas...
分类:
Web程序 时间:
2014-06-03 15:21:24
阅读次数:
337
/*通过直接预分区的方式建表*/private static void
printTableRegion(String tableName)throws IOException{ System.out.println("Prtint
region of table:"+tableName);/...
分类:
其他好文 时间:
2014-06-03 14:51:05
阅读次数:
207