Geeks With Blogs
Gaurav Taneja Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in. March 2007 Entries
Delete History.
namespace { DeleteHistory /// <summary> /// Summary description for Delete_History. /// </summary> { { public class Delete_History : System.Web.UI.Pageprotected System.Web.UI.WebControls.L... LstHistory;protected System.Web.UI.WebControls.B... Btn_Clr_History;string path;private void Page_Load(object sender, System.EventArgs e)// Put user code to initialize the page here path = Environment.GetFolderPath(E... + "\\"; GetList(path); } #region { Web Form ......

Posted On Wednesday, March 21, 2007 9:27 AM

How to clone the child nodes
If (!Page.IsPostBack) { try { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml("<Cover>" + "<ply_countrycode>NLD... + "<POLICYRISKS>" + "<PolicyRisk>" + "<plr_riskcode>PL<... + "<plr_subcover>01<... + "<plr_t_brokamtdue>20... + "<plr_t_coyprem>100,0... + "<plr_t_duebyclient>1... + "<plr_t_leviesa>10,00... ......

Posted On Thursday, March 8, 2007 4:04 AM

XSL for RSS feed
< < < < < </ < < < < </ </ </ </ </ </ < < < < < < < < </ < </ </ </ < < </ </ </ </ </ xsl:stylesheet xmlns:xsl="http://www.w3.or... version="1.0">xsl:template match="/"> html>head>title>RSS Viewer</title>head>... select="rss/channel/title"/... select="/rss/channel/item"/... ......

Posted On Tuesday, March 6, 2007 7:24 AM

Creating RSS feed + C#
public { void CreateXML() string strselect = "Your Query here"; DataSet ds = ObjectName.ExecuteQuery(str... "Table Name"); try { string path = HttpContext.Current.Server.... XmlTextWriter writer = new XmlTextWriter(path, Encoding.UTF8); writer.WriteStartDocument(); writer.WriteProcessingInstr... "type='text/xsl' href='lead.xsl'"); writer.WriteStartElement("r... writer.WriteAttributeString... "2.0"); writer.WriteStartElement("c... writer.WriteElementString("... ......

Posted On Tuesday, March 6, 2007 7:22 AM

Copyright © Gaurav Taneja | Powered by: GeeksWithBlogs.net