//行绑定 protected void rpList_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item ...
分类:
其他好文 时间:
2014-08-18 10:44:33
阅读次数:
220
今天初步接触了下打印控件LODOP实现了自动分页,高度宽度都可以自己设定来分页。页码,使用LODOP.SET_PRINT_STYLE("ItemType", 2);LODOP.ADD_PRINT_TEXT(0,0,"95%",30,"总页号:第#页/共&页");让每个分页都显示页码/总页数,#当前页...
分类:
其他好文 时间:
2014-08-06 18:45:11
阅读次数:
222
冒泡排序代码:
#include
#include
using namespace std;
template
void bubbleSort(ItemType theArray[], int n)
{
bool sorted = false; // False when swaps occur
int pass = 1;
while (!sorted && (pass...
分类:
其他好文 时间:
2014-07-22 00:32:35
阅读次数:
363
前台:id:carid:userid:后台:protectedvoidRepeater1_ItemDataBound(objectsender,RepeaterItemEventArgse){if(e.Item.ItemType==ListItemType.Item||e.Item.ItemType...
分类:
其他好文 时间:
2014-06-27 18:27:12
阅读次数:
113
Swift 使用来声明泛型函数或泛型类型:1 func repeat(item: ItemType,
times: Int) -> ItemType[] {2 var result = ItemType[]()3 for i in 0..times {4
result...
分类:
其他好文 时间:
2014-06-06 07:52:02
阅读次数:
299
protocol Container { typealias ItemType mutating
func append(item: ItemType) mutating func removelast() -> ItemType var count:
Int {get} ...
分类:
其他好文 时间:
2014-06-05 20:10:14
阅读次数:
319
在此贴出repeater中的ItemDataBound事件中的代码:private void
ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType ==
ListIt...
分类:
其他好文 时间:
2014-05-09 10:29:55
阅读次数:
294