One of the way of doing that is:
--------------------------
DataSet DS = somevalueDataSet();
XmlDataDocument xdd = new XmlDataDocument(DS);
XslTransform xt = new XslTransform();
string workingdir = AppDomain.CurrentDomain.Ba
xt.Load(workingdir);
string dirPath = AppDomain.CurrentDomain.Ba
string filePath = AppDomain.CurrentDomain.Ba
if (!Directory.Exists(dirPath
{
Directory.CreateDirectory(
}
File.Delete(filePath);
FileStream fs = new FileStream(filePath, FileMode.Create);
using(fs)
{
xt.Transform(xdd,null,fs);
fs.Close();
}
--------------------------
-tushar
Main Topics
Browse All Topics





by: mmarinovPosted on 2004-11-02 at 08:14:40ID: 12474087
Hi fevster, /aspnet/ Ex cel_CSV_ex port_butto n.asp
look here:
http://www.codeproject.com
Regards!
B..M