摘要:
对datatable 里面的数据按某一特定的栏位进行分组并且按照某一规则 var query = from t in rate.AsEnumerable() group t by new { t1 = t.Field<string>("Kind") } into m select new {Kind 阅读全文
摘要:
1.Replace(替换字符):public string Replace(char oldChar,char newChar);在对象中寻找oldChar,如果寻找到,就用newChar将oldChar替换掉。如: string st = "abcdef"; string newstring = 阅读全文