当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 3层分类的关系,用DataGrid来显示,这是非常简单的事情。
 

 

 ·试一下高亮显示    »显示摘要«
    摘要:<html><head><title>your script</title> <!-- copy from here if you want to paste this into a html document --> <style type="text/css"> <!-- body { b......
 ·java初学——难忘的一课    »显示摘要«
    摘要:初学java,使用jbuilder x。 作为一个使用delphi超过5年的老鸟(惭愧,我还在用delphi 5),自然免不了将jbuilder与其作一个对比。一个粗略的印象是,相比之下,jbuilder简直对程序员呵护有嘉,而delphi却欠缺太多。jbuilder拥有太多delphi(包括最新的delphi 8)所不支持的特性,包括在键入代码的时候能够自动进行语法检查,对重构的支持,对jav......


3级分类中的Checkbox

3层分类的关系,用datagrid来显示,这是非常简单的事情.现在在每一个datagrid上增加一个checkbox,用来控制自身分类下的checkbox

/////////////////////////////////////////////////////////////////////////////////////// 【程序编程相关:C#获取硬盘序列号

代码贴出来,怕以后忘记 【推荐阅读:C#公共类收集

/////////////////////////////////////////////////////////////////////////////////////// 【扩展信息:C#可定制的数据库备份和恢复程序

//添加相关产品分类的页面

using system;

using system.collections;

using system.componentmodel;

using system.data;

using system.drawing;

using system.web;

using system.web.sessionstate;

using system.web.ui;

using system.web.ui.webcontrols;

using system.web.ui.htmlcontrols;

using lubebll;

using lubebll.category;

using lubedal;

namespace manage

{

?///

?/// newsproductcategory 的摘要说明.

?///

?public class newsproductcategory : system.web.ui.page

?{

??#region web 窗体设计器生成的代码

??protected system.web.ui.webcontrols.label lbnewstitle;

??protected system.web.ui.webcontrols.linkbutton btsave;

??protected system.web.ui.webcontrols.datagrid dgfirstlevel;

??protected system.web.ui.webcontrols.datagrid dgthirdlevel;

??protected system.web.ui.webcontrols.customvalidator validrecordstatus;

??protected system.web.ui.webcontrols.linkbutton btbackpreview;

??override protected void oninit(eventargs e)

??{

???//

???// codegen: 该调用是 asp.net web 窗体设计器所必需的.

???//

???initializecomponent();

???base.oninit(e);

??}

??

??///

??/// 设计器支持所需的方法 - 不要使用代码编辑器修改

??/// 此方法的内容.
...   下一页
 ·windows forms 1.x 批判    »显示摘要«
    摘要:(1)控件少、难以使用且外观很土。其中最夸张的是 toolbar 控件:(1)设计者认为你对全部按钮要么都使用图标,要么都使用文本标签,否则就是脑子进水了;(2)如果你尝试在 toolbar 上放置其他控件(如组合框)的话你是在跟自己过不去;(3)最受不了的是居然要用 if ... else 语句判断是哪个按钮被单击了,my god!难怪网上一直流传 windows forms 的控件是高中生写的......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE