摘要: public int max(int a[100]){int c;c=a[0]; for(int i=1;ic) c=a[i];return c;} 阅读全文
posted @ 2008-12-10 14:30 飘逸的程序员 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 1.使用GridView提示选择到的行,可选择多行问题? 怎么样才能单击此行,其它的以前选择行取消选择状态呢。步骤1.给GridView的创建RowCreated事件。具体代码如下: protected void gv_typelist_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataCont... 阅读全文
posted @ 2008-12-10 12:02 飘逸的程序员 阅读(955) 评论(4) 推荐(0) 编辑
摘要: 1.在GridView中 鼠标移动到行 该行颜色变换 步骤1.为GridView添加RowCreated的事件。事件代码如下: protected void gv_typelist_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Dat... 阅读全文
posted @ 2008-12-10 11:10 飘逸的程序员 阅读(355) 评论(5) 推荐(0) 编辑