How to Make a New XML Document at Run-time in .NET

By // No comments:
In this tutorial,I am going to create a New XML Document at Runtime. I will also perform Insertion,Deletion and Updation operation on New  XML Document. which are mentioned in below: 
  1. First Create XML Document at Run-time 
  2. Update operation is perform at same Document.
  3. Delete  operation is also perform at same Document.
There are some steps to perform this task, Please follow these steps which are given below.
3

How to Insert the Data and Write the XML File

By // 2 comments:
In  this tutorial  i will show you,how to  insert the data and write the XML File.There are some steps which are as given below
Step1:-  First open your visual studio and go  File->New Website->Select ASP.NET Empty Website->Select visual C#->press OK.
Now open the Solution Explorer(if not open)->Add New Item->Add Default. aspx page.After that drag and drop the controls from the Toolbox which are as shown below:-
3

How to Create XML File and Display the XML File Data in Grid-View Control

By // No comments:
Hi friends! In this tutorial i am going to show you ,how to create XML File and Display the XML File Data in Grid-view control in .NET Application
There are some steps please follow this. At the end of tutorial you can download whole application and run on your system easily.
Step1:-   Open your Visual studio first.Here i am using Visual studio 2010.
3

What is XML and how it differ from HTML

By // 2 comments:
XML:->   It is a markup language which is used to describe the data and transfer the data from one application to another application .XML is a language which is platform independent format so it can used on Internet "Heterogeneous environment" to transfer the data and to describe the data.
Difference between XML and HTML:-
XML and HTML both are markup language but there are some difference between HTML and XML.
  • HTML is used to design the layout of form but XML is used to describe and transfer the data.
  • HTML is not case sensitive but XML is case sensitive.
  • HTML has predefined element but XML  has not predefined elements. we can  specify  according to our requirements.
Rules for a Well form Document:-
  • It must contain a root element.
  • Every starting tag must be contain end tag.
EX:-  <id> ....<//id>
  • We have to type of elements.
  1. Container element:- In this 'Start tag' will have an 'End tag'.
EX:-    <Name>.......</Name> 
   
    2.  Empty element:-   In this 'Start tag' is not 'End tag' but we specify by forwards lace (/).

EX:-    <Sid =   "100"    / >
  • We can specify an information as an Element or as a Attribute. Attribute value must be enclosed within this  "   "..
EX:-   
<Student id ="101" />
Here "101" is attribute value
  • <Id>  102   </Id>
Here 102   is a value.

3
Powered by Blogger.