Money wizard is a gizmo which helps you to plan your Investments, to keep track of all the Expenses, to mark all the ways of Income in a smarter way at one platform. Money Wizard is a strategic technique to be the master of your Money.
The Exclusive Features of Money Wizard are:
• Visibility of Bank, Cash and Credit Card balances on all pages.
• Receive Daily, Weekly and Monthly Detailed Statement upon request.
• Alerts for Non-availability of Cashes, Exceeding Budget Limit, etc.
• Pie Graph Representation of Income and Expenditure.
</Introduction>
know i want To Bold the Title text"Introduction" with bold and red color,how can i do ....plz suggest me...
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
XmlDocument doc = new XmlDocument();
doc.Load(Request.MapPath("test1.xml"));
//Fetch the first childnode's value
var text = doc.DocumentElement.ChildNodes[0].InnerText;
Response.Write(text);
}
}
}
rupeshkura
Member
120 Points
51 Posts
how to bold the text in xml file .....in C# .Net
Aug 07, 2012 11:58 AM|LINK
Hai all,
I am used xml file for creating the tree view in c# .net...so how to bold the text in xml file...i am create node like this...
<Introduction>
<title>
<b>
Introduction
</b>
</title>
Money wizard is a gizmo which helps you to plan your Investments, to keep track of all the Expenses, to mark all the ways of Income in a smarter way at one platform. Money Wizard is a strategic technique to be the master of your Money.
The Exclusive Features of Money Wizard are:
• Visibility of Bank, Cash and Credit Card balances on all pages.
• Receive Daily, Weekly and Monthly Detailed Statement upon request.
• Alerts for Non-availability of Cashes, Exceeding Budget Limit, etc.
• Pie Graph Representation of Income and Expenditure.
</Introduction>
know i want To Bold the Title text"Introduction" with bold and red color,how can i do ....plz suggest me...
Thanks In Advance...
mitja.GTI
Star
11157 Points
2094 Posts
Re: how to bold the text in xml file .....in C# .Net
Aug 07, 2012 12:45 PM|LINK
Html encode the string before you construct/save xml and before you pass it to the page decode that string.
mitja.gti | www.mitjagti.com
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: how to bold the text in xml file .....in C# .Net
Aug 09, 2012 01:17 AM|LINK
Hi,
Include your xml contents in "[CDATA……]" block and then fetch the value out by using Response.Write:
[xml]
<Introduction> <title> <![CDATA[<b> Introduction </b>]]> </title> </Introduction>[cs codes]
public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { XmlDocument doc = new XmlDocument(); doc.Load(Request.MapPath("test1.xml")); //Fetch the first childnode's value var text = doc.DocumentElement.ChildNodes[0].InnerText; Response.Write(text); } } }