111,129
社区成员
发帖
与我相关
我的任务
分享dataGridView1.Rows.Cast<DataGridViewRow>().Where(dr => dr.Cells[0].Value == "要查询的字符串").First().Cells[0].Value = "要改成的结果";
怎么把多余的零去掉select AA_Inventory.idinventoryclass,SUM(RE_Retail_b.quantity)as abc,SUM(RE_Retail_b.retailamount) as dsf from RE_Retail_b left join AA_Inventory on RE_Retail_b.idinventory = AA_Inventory.id where (idinventoryclass = '46788662-AFB2-4C84-84F7-A50E00F9B74E'or idinventoryclass ='378C3E42-DEDA-4A5B-A324-A50E00FF1D3E'or idinventoryclass = 'C48B0657-3372-4ED0-A4F1-A50E00FA36ED' or idinventoryclass = '85EB34A4-6949-4AB7-B8B0-A50E00FA3F97') group by AA_Inventory.idinventoryclass
还是这样,不能改成中文镜片dataGridView1.Rows.Cast<DataGridViewRow>().Where(dr => dr.Cells[0].Value.ToString() == "要查询的字符串").First().Cells[0].Value = new Guid("要改成的结果");