孙福林ID:jdlsfl
28737次访问,排名4009好友87人,关注者117
软件
jdlsfl的文章
原创 92 篇
翻译 0 篇
转载 53 篇
评论 39 篇
福林天下的公告
If If you can keep your head when all about you Are losing theirs and blaming it on you; If you can trust yourself when all men doubt you, But make allowance for their doubting too; If you can wait and not be tired by waiting, Or, being lied about, don’t deal in lies, Or, being hated, don’t give way to hating, And yet don’t look too good, nor talk too wise; If you can dream - and not make dreams your master; If you can think - and not make thoughts your aim; If you can meet with triumph and disaster And treat those two impostors just the same; If you can bear to hear the truth you’ve spoken Twisted by knaves to make a trap for fools, Or watch the things you gave your life to broken, And stoop and build ’em up with 5)worn-out tools; If you can make one heap of all your winnings And risk it on one turn of pitch-and-toss, And lose, and start again at your beginnings And never breathe a word about your loss; If you can force your heart and nerve and sinew To serve your turn long after they are gone, And so hold on when there is nothing in you Except the Will which says to them: “Hold on !”; If you can talk with crowds and keep your virtue, Or walk with Kings - nor lose the common touch; If neither foes nor loving friends can hurt you; If all men count with you, but none too much; If you can fill the unforgiving minute With sixty seconds “worth of distance run”Yours is the Earth and everything that’s in it, And - which is more - you’ll be a Man !
最近评论
chenjiehong:
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
文章分类
收藏
    相册
    IT
    csdn(RSS)
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    原创 ADO.net实用操作方法(包括DataSet,DataTable,DataRow等)陆续增加中收藏

    新一篇: 史上最伟大的十大程序员 | 旧一篇: CSS模块化设计——从空格谈起

    1、不用循环的办法,直接得到DataTable某列的和

    用DataTable的compute方法

    object objSum = DataTable.Compute("Sum(字段)", "过滤条件");

    2、通过DataTable获得表的主键

        //使用DataAdapter填充DataTable
        dataadapter.MissingSchemaAction = MissingSchemaAction.AddWithKey;
        dataadapter.Fill(Table);

        DataColumn[] cols;
        cols = Table.PrimaryKey;
        //注意不是cols是DataColumn数组,不是DataColumn变量。这样做主要是为了处理联合主键的问题。
        for(int i = 0; i < cols.Length; i++)
        {
            MessageBox.Show(cols[i].ColumnName);
        }

    MissingSchemaAction属性是确定现有Dataset(或DataTable)架构与传入数据不匹配时需要执行的操作。MissingSchemaAction.AddWithKey是枚举值,它的作用是添加必需的列和主键信息以完成架构,利用它用户可以在每个 DataTable上显式设置主键约束。

    发表于 @ 2007年12月14日 11:23:00|评论(loading...)|编辑|收藏

    新一篇: 史上最伟大的十大程序员 | 旧一篇: CSS模块化设计——从空格谈起

    评论:没有评论。

    发表评论  


    登录
    Csdn Blog version 3.1a
    Copyright © 福林天下