Ads 468x60px

For New Update Use this Link Offer for you


Monday, 21 October 2013

What are the core components of .NET framework

What are the core components of .NET framework

Categories :- Benefits of net frameworkHR interview question and answer , interview question and answer , Interview questions and answers for 2 years , C# interview Question And Answer

 The Two Components of .NET Framework are
 1) Common Language Run time [CLR]
2)  .Net Framework class Library

 Other key components of .NET Framework:

NET Framework Class Library

  3)   Dynamic Language Runtimes (DLR)
   4 ) Application Domains
   5)  Runtime Host
   6)  Common Type System
   7)  Metadata and Self-Describing Components
    8) Cross-Language Interoperability
    9) NET Framework Security
    10) Profiling
    Side-by-Side Execution

Briefly describe MSIL

.Net Framework is shipped with compilers of all programming languages to develop programs. There are separate compilers for the visual basic,C#, and visual c++ programming languages in .Net Framework.Each .Net compiler produces code after compiling the source code. The intermediate code is common for all languages and is understandable only to .NET environment. This intermediate is know as MSIL.

MSIL file is executable file that can transferred various machines. Therefore, it is said that MSIL file are portable to nay machine.

Monday, 14 October 2013

What are the benefits of net framework

What are the benefits of net framework
Categories :- 

.Net framework offers many benefits to application developers.some of this benefits are as follow :

 1) Consistent programming model :- 
 Dot net framework provide consistent object oriented  programming model across various language.You can use the model  to create a program s for performing different task, such as connecting to and retrieving data from database and reading from and writing to files.

2) Language interoperability :- 
 Language interoperability is a feature that enables a piece of code written in one language to be used in another  language.This facilities the reuse of code and therefore improves the efficiency of the development process.

3) Automatic management of resources :-
 While developing .NET application. You may use various resources, such as files, memory, and database connections. with .NET Framework, you do not need to manually free these resources when they are no longer required

4) Easy of deployment :- 
 .NET Framework makes the deployment of application easier. To install an application that is not based on .NET Framework, you need to copy it and its components on target computers. However, with .NET Framework, you can quickly install or deploy the application such that installation of new application or components does not affect the existing  application.

5) HTML code and source code is separate so modification is essay .

6) Framework is language independent.

Saturday, 12 October 2013

How to get xml data into grid view in

How to get xml data into grid view
Introduction :- In this article i have explain how to show XML file data in grid-view .

Description :- In  my previous post i have explained How to Generating XML file From MySQL database 
Create and read XML file in , Read data from XML file in , now i have explain how to show XML file data in grid view  using

Step 1 :- Create a new web site.
Step 2:- Add a new page in your project and give the name to the page gridxml.aspx..
Step 3 :- Add  one xml file and write something like this which you want to show on gridview page of as show below.

Note  - This is a Employees.xml file already exist in your project.

<?xml version="1.0" standalone="yes"?>
    <CompanyName>abc informatics</CompanyName>
    <ContactName>chintu </ContactName>
    <CompanyName>Y N Info</CompanyName>
    <Address>Boriwali east</Address>
    <CompanyName>Gold Main</CompanyName>
    <CompanyName>Yeswant Niwas</CompanyName>
    <Address>345 Alock Nagar</Address>
    <Address>79879 JKJK</Address>
    <ContactTitle>New Dehli</ContactTitle>
    <CompanyName>Sumo tech</CompanyName>
    <Address>656 FFH</Address>

 Step 4 :- open the gridxml.aspx file and write the code as show below.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class CS : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
        if (!this.IsPostBack)

    private void BindGrid()
        using (DataSet ds = new DataSet())
            GridView1.DataSource = ds;

    protected void OnPageIndexChanging(object sender, GridViewPageEventArgs e)
        GridView1.PageIndex = e.NewPageIndex;

Note -: Source code also available in

Download sample code attached

Sunday, 6 October 2013

Generating Xml file From Mysql database

Generating XML FILE From MySQL database
Introduction :- In this article i have explain how to  generate  XML  File   from mysql database in .

Description :- In my previous article i have explain Crete and read XML file in   and  read data from XML file in . Now i am explain how to generate  XML file in



New Updates

Related Posts Plugin for WordPress, Blogger...

Related Result