Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Code for a Simple Way to Write XML in .NET (XmlTextWriter)



Code for a Simple Way to Write XML in .NET (XmlTextWriter)..

Answer / mohanraja

This coding is to decrement the count value...

Dim writer As New XmlTextWriter("C:\windows\Test.xml", New
System.Text.UTF8Encoding)
writer.WriteStartDocument()
writer.WriteStartElement("Value", "")
writer.WriteStartElement("Countvalue")
writer.WriteStartElement("cntval", "")
writer.WriteString(value - 1)
writer.WriteEndElement()
writer.WriteEndElement()
writer.WriteEndElement()
writer.WriteEndDocument()
writer.Close()

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More ASP.NET Code Interview Questions

HOw to Build a Nested GridView Control with ASP.NET?

2 Answers  


Code for Using Keyboard Events?

0 Answers  


What is the code of Password Recovery or Forget your password? Plz tell in c # language.

0 Answers  


How to send e-mail from an ASP.NET application?

16 Answers   DataPoint, Infosys, Persistent, Radar, TCS, Wipro,


How to get the row index on checking a Checkbox in a ListView

1 Answers   TCS,


How to Create Scrollable Micro Windows?

2 Answers  


How to Snap the Cursor to a Button?

1 Answers  


what is the value that reside in a hidden field when no value is assigned to it?how it can be used in a if statement??

1 Answers  


Code for Getting Information About A File?

1 Answers  


How to add checkbox to datagrid?

5 Answers  


what is software testing

1 Answers   TCS,


Coding for Synchronizing Cache Access in ASP.NET?

0 Answers  


Categories
  • ASP.NET Code Interview Questions ASP.NET Code (46)
  • VB.NET Code Interview Questions VB.NET Code (9)
  • C Sharp Code Interview Questions C Sharp Code (51)
  • ADO.NET Code Interview Questions ADO.NET Code (8)