摘要:                    
int[]numbers={5,4,1,3,9,8,6,7,2,0};varlowNums=fromninnumberswheren<5selectn;List<Product>products=GetProductList();varsoldOutProducts=frompinproductswherep.UnitsInStock==0selectp;List<Product>products=GetProductList();varexpensiveInStockProducts=frompinproductswherep.UnitsInStock>0                阅读全文
            
        阅读排行榜
php写导入,导出 mysql csv
2012-05-23 19:47 by 小sa, 272 阅读, 收藏,
摘要:                    
php 从 csv转换 tsqlfunction csv2sql($table, $csv_fieldname = 'csv') { $handle = fopen($csv_fieldname, 'r'); if (!$handle) die('Cannot open uploaded file.'); //$fields=var_dump($csvData); $row_count = 0; $sql_query = ""; $rows = array (); //Read the file as csv while ((                阅读全文
            
        程序员从初级到中级10个秘诀(转)
2011-03-04 17:01 by 小sa, 261 阅读, 收藏,
摘要:                    
感谢凑够十条的投递新闻来源:.techrepublic.comJustin James曾发表过一篇博文《10 tips for advancing from a beginner to an intermediate developer》,为我们分享如何才能完成程序员从初级到中级的蜕变,现将中文译文转载于此,供大家借鉴。 在一封与TechRepublic会员交流的邮件当中,他提到了面向程序员的博客、文章及杂志分成两类:面向初学者类(“hello world”这种类型的教程)以及面向专家类(MSDN杂志)。这个观点很好,有关程序员如何从初级跃升到中级的信息极少。以下是为了实现这种转变需要你去做的                阅读全文
            
        Dictionary,hashtable如何排序
2012-12-25 09:50 by 小sa, 257 阅读, 收藏,
摘要:                    
Dictionary<string,float> dic=Dictionary<string,float>();List<KeyValuePair<string, float>> list = new List<KeyValuePair<string, float>>(dic);list.Sort(delegate(KeyValuePair<string, float> firstPair, KeyValuePair<string, float> nextPair){ return nextPair                阅读全文
            
         
                    
                     
                    
                 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号