03 2007 档案
[原]解决Win2003下不能玩CS的问题
摘要: Win2003是Server级别的OS,所以在安全方面做了很大幅度的提高,数据保护是提高安全性能的一个重要部分!阅读全文
[原]原来inline这么神奇
摘要: 我以前为了让li能横着显示都是用的float:left, 但我总觉得浮得太多,到最后不好控制.
今天在同事那里得知display里的inline也可以横着显示,并且有趣的是inline就是成行的意思:)
display:inline, you did fairly well!阅读全文
今天在同事那里得知display里的inline也可以横着显示,并且有趣的是inline就是成行的意思:)
display:inline, you did fairly well!阅读全文
[原]比较三个整数大小
摘要: #include "stdio.h"
#include "conio.h"
main()
{
int a,b,c,d;
printf("Please enter 3 integer numbers:"); /*给用户一个提示*/
scanf("%d,%d,%d",&a,&b,&c); /*前面那个/n是把上面那个输入换一行,下面的/n是输出完结果后再一次换行*/
d = max(a,b,c);
printf("\nMax number is:%d\n",d);
getch(); /*显示结果后,让屏幕定在那里不行*/
}阅读全文
#include "conio.h"
main()
{
int a,b,c,d;
printf("Please enter 3 integer numbers:"); /*给用户一个提示*/
scanf("%d,%d,%d",&a,&b,&c); /*前面那个/n是把上面那个输入换一行,下面的/n是输出完结果后再一次换行*/
d = max(a,b,c);
printf("\nMax number is:%d\n",d);
getch(); /*显示结果后,让屏幕定在那里不行*/
}阅读全文
[原]解决DataGrid翻页的问题
摘要: 上面英文大意就是说CurrentPageIndex 必须大于等于0并且小于PageCount,看懂这个就好办了。
DataGrid1.CurrentPageIndex = 0; //加上这个就是为了避免出现:Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount
DataGrid1.DataBind();
就这样,我的问题解决了。阅读全文
DataGrid1.CurrentPageIndex = 0; //加上这个就是为了避免出现:Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount
DataGrid1.DataBind();
就这样,我的问题解决了。阅读全文
