shash
August 12th, 2004, 12:20 PM
Hi Can anyone suggest why am I getting ERROR (nrecognized escape sequence)
I am showing code where am I getting the error..
public static void Main()
{
Page.Response.ContentType = "C:\Documents and Settings\sshinde\My Documents\Visual Studio Projects\RSSFeed\RSSFeed\test.rss";
RSSFeedGenerator gen = new RSSFeedGenerator(Page.Response.Output);
gen.WriteStartDocument();
gen.WriteStartChannel("Developer Fusion RSS Feed","http://www.developerfusion.com/","Summary of the latest Articles Published on Developer Fusion","Copyright @ Developer Fusion","Shashi shinde");
gen.WriteItem("Using ADO.NET with SQL Server","http://www.developerfusion.com/show/4278/","An Extensive examination of using ADO.NET to access SQL Server databases, from establishing","Shashi shinde", DateTime.Now,".NET");
gen.WriteEndChannel();
gen.WriteEndDocument();
gen.Close();
}
Response would be appreciated.
Thanks a ton
Shash
I am showing code where am I getting the error..
public static void Main()
{
Page.Response.ContentType = "C:\Documents and Settings\sshinde\My Documents\Visual Studio Projects\RSSFeed\RSSFeed\test.rss";
RSSFeedGenerator gen = new RSSFeedGenerator(Page.Response.Output);
gen.WriteStartDocument();
gen.WriteStartChannel("Developer Fusion RSS Feed","http://www.developerfusion.com/","Summary of the latest Articles Published on Developer Fusion","Copyright @ Developer Fusion","Shashi shinde");
gen.WriteItem("Using ADO.NET with SQL Server","http://www.developerfusion.com/show/4278/","An Extensive examination of using ADO.NET to access SQL Server databases, from establishing","Shashi shinde", DateTime.Now,".NET");
gen.WriteEndChannel();
gen.WriteEndDocument();
gen.Close();
}
Response would be appreciated.
Thanks a ton
Shash