摘要:
View Code 1 //string localFilePath, fileNameExt, newFileName, FilePath; 2 SaveFileDialog saveFileDialog1 = new SaveFileDialog(); 3 4 //设置文件类型 5 saveFileDialog1.Filter = " txt files(*.txt)|*.txt|All files(*.*)|*.*"; 6 7 //设置默认文件类型显示顺序 8 saveFileDialog1.FilterIndex = 2; 9 10 //保存对话框是否记忆上次打开的 阅读全文
摘要:
select b.clientname,a.goodsname,(select ','+convert(varchar(10),detailid) from C c left join tb_soldbill d on c.detailid=d.idwhere d.clientname=b.clientname and c.goodsname=a.goodsname for xml path(''))from A aleft joinB b on a.Detailid=b.idgroup by b.clientname,a.goodsname 阅读全文
摘要:
问题:如果生成Txt文件?解决: string P_str_path = "C:\\1.txt"; StreamWriter sw = new StreamWriter(P_str_path,false); sw.WriteLine("0001879"); sw.Close(); 阅读全文