string str = "select 时间,地点 from mytable"
//执行查询,结果存入 string temp
StreamWriter sw=new StreamWriter(yourPath,false,System.Text.Encoding.GetEncoding("gb2312"));sw.Write(temp);
sw.Close();
//执行查询,结果存入 string temp
StreamWriter sw=new StreamWriter(yourPath,false,System.Text.Encoding.GetEncoding("gb2312"));sw.Write(temp);
sw.Close();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货