Linq Query

By // No comments:
Language-Integrated Query(Ling) was Introduced as a new Component of .NET Framework 3.0. The basic
function of Linq is to add native data querying capabilities to .Net Framework by using the syntax similar to Structured Query Language(sql).
  • Linq is a programming model that is used to provide a consistent method to obtain and manipulate
    data. Linq define the set of query operators,which are used to query and filter the data.
  • In .NET Framework 4.0,Linq is used for writing efficient and multithreading queries,which is called
     PLinq (Parallel Linq).we can easily retrieve data from various data source through Linq query,
    such as Linq to Object,Linq to ADO.NET and Linq to XML.
  • A query is an expression that retrieves the requested data from a data source .Linq queries
    can also perform additional functions.such as sorting and grouping the retrieve data. The various clauses that you can use with the Linq query are the 'Form',where 'order by' and 'Select' clauses.

    There are three basic steps to execute the Linq query.
  1. Obtain the data source that can be either an Sql Database or an XML File.
  2. Create the query. 
  3. Execute the Linq Query.
For more:-
I hope this is helpful for you.
To Get the Latest  Free Updates Subscribe
3

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 Use Multiple Main Method In C# Program

By // 4 comments:
We can use more than on Main Method in C# program, But there will only one Main Method which will act as entry point for the program.we can pass the value to the main method while running the program by specifying string array type parameter.
Example:-

3

How can Take Print Receipt and Save the Data in Database in Windows Forms Application

By // 37 comments:
Hi friends, here i am going to make an Application "how can take Print Receipt and save data in database in windows Forms application".This project is very helpful for your Real Time Project Development and you can achieve more knowledge from this projects. You can download whole Application from the bottom of this page.
There are some steps ,Please follow it 
Step1:- Open your visual studio-> File->Click New Project->Select Windows Forms Application  -> Select c# language from left window->write your application name->click OK.
SEE IT:->
3

Constructor and Destructor In C#

By // No comments:
We know that all objects that are created must be given initial values.we have used two approach to initialize the value of all the variables without constructors.
  1. The first approach uses the dot operator to access instance variables and then assigns values to them individually. It can be a tedious approach to initialize all the variables of all the objects.
  2. The second approach takes the help of a function like 'GetData' to initialize each object individually using statement like;    
        rect1.GetData(30,20);

3

Access Specifier or Modifier in C#

By // 10 comments:
Visibility Control:-  When we want to  implement inheritance, it is important to understand ,how to establish visibility levels for our classes and their members. There are four types of a accessibility modifiers which may be applied to classes and members to specify their level of visibility.
  1. Public
  2. private
  3. protected
  4. internal
3

Page Directives and Page Properties in ASP.NET 4.0

By
Page Directive:-  ASP.NET Page Directives are instructions to specify optional setting, such as registering a custom control and page language. These settings are used to describe how ASP.NET web page(.aspx) or user control (ascx) page are processed by .NET Framework.
Page Directives can be placed anywhere in .aspx or .ascx file. But standard practice is to include them at the top of the file.
3

ASP.NET 4.0 Coding Models

By // 1 comment:
A web consists of controls(Label,Button, Text Box etc) and business logic. we can use ASP.NET coding technique to manage these controls and business logic.
ASP.NET 4.0 provides two types of coding technique.

3

Create the Table column and Insert the Data without Sql Commands

By // No comments:
There are some steps please follow it:-
Step1:- Open your sql database->click Databases->System Databases->click master->Right mouse click on Table->click New Table.
see it:->

3

Using Connected Architecture Display the Table 's Column Data in Combobox

By // No comments:
There are two type of architecture in Ado.Net. which is given below:-
  1. Connected architecture
  2. Disconnected architecture
Now here i am going to discuss about connected architecture:-In connected architecture application directly connected to the database.
3

Data Integrity in Microsoft Sql Server

By // No comments:
These  are more important concept of  Microsoft Sql Server. Please Read it very Carefully.
Data Integrity:- The Consistency of data is known as data integrity. When we have large amount of data then we could not easily find the data and table from database. Because data were not consistence form.To remove this type of problem we use three integrity constraints. which are given below.
3

Method Hiding in C#

By // 1 comment:
We can predefine the method of parent class in child class by implementing the concept of method hiding. In method hiding the base(parent) class method is predefined in child class by specify new keyword.
Example:-

3

Method Overriding in C#

By // 2 comments:
When one class inherit from another class ,all the member of parent class become the member of child class .If there is a method of parent class that we want to predefined in child class. we can implement the concept of method overriding ,it means a method overriding of parents class and child class can have same method name with same parameter but parent class method will have "VIRTUAL"Keyword and child class method have "OVERRIDE"Keyword.
3

Method Overloading in C#

By // 2 comments:
We can  used more than one Method with same name,within same class but with different parameter,that is called method overloading. When the basic functionality of more than one method is same but they are used different parameter,then we can implement method overloading.
Method overloading will be possible if method name is same but there signature is different.
3

How to Create Setup file(.Exe File) from Windows Forms Application

By // 131 comments:
This is the most important tutorial for creating the Setup File(.exe file) from windows forms application.You can easily install it any windows computers.You can use it only windows platform.
Now i am going to convert these windows forms application to the Setup File. Friends who have not read my previous tutorials please read  first this tutorial and download it, otherwise you will not understand correctly.For read the previous tutorial .
3

oops Questions and Answers

By // No comments:
1.) What is object oriented programming (oops) Language?                                       
oops is is a methodology to write the program where we specify the code in form of classes and objects .oops supports   three important features which are given below:
  • Encapsulation 
  • Inheritance
  • Polymorphism
Note:- Abstraction is also basic oops concepts feature.But mainly three important feature of oops.

2.) What is object based Language?                                                                                 
Object based language supports all features of oops except two features which are given below:
  • Inheritance
  • Late binding
3

OOPS Concepts in C# .net with real examples

By // 26 comments:
Object Oriented Programming language(OOPS):- It is a methodology to write the program where we specify the code in form of classes and objects.
    CLASS:-Class is a user defined data type. it is like a template. In c# variable are termed as instances of classes. which are the actual objects.
    EX:-
    Class classname
    {
      [variable declaration;]
      [Method declaration;]
    }
    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

    How to Insert Data in Database and Print the Grid View Data in Windows Forms Application using C#

    By // 25 comments:
    This is very important Application for any Web Developer.In this Application You can Easily insert data in SQL Database and Print the Grid view data in Windows form application.You can  easily make many  Application as shown below: 
    1. Library Book Submission Application.  
    2. School Fee Submission Application.
    3. Web Application. etc
    4. Take print receipt using printer .
    There are some steps please follow this one by one.You can download whole Application and code from the end of the tutorials.
    3

    Ajax In ASP.NET

    By // No comments:
    Ajax is neither a new programming language nor a new platform for developing websites. Ajax is a new technology which is used to displays the refreshed content on a web page by using the page update approach rather than page replacement approach.
    Ajax is built using various technologies which are us follows:-
    • Java Script:-
    Java Script is a client side dynamic scripting language that supports object-oriented programming.It provides various tools, such as from elements, to communicate with server.
    • X HTML:-
    X HTML is a combination of HTML and XML.X HTML is used with Ajax enabled website to ensure that the website runs consistently on all Browsers(IE, Firefox,Chrome, Opera mini).
    • CSS (Cascading style sheet):-
    CSS is a file that define the pattern of a web form.Using CSS, you can specify fonts,colours, styles(bold,italic) and size of controls.It is used to design attractive web page.
    • DOM (Document Object Model):-
    DOM represents a structured web form in an object oriented model. It is a platform and language -independent  interface that allows programs and scripts to access and update the content of web form.DOM is recommended by world wide web consortium(w3c) to manipulate content at run time.
    • XMLHttpRequest Object:-
    The core of Ajax functionality is the XMLHttRequest object, as it is responsible for making asynchronous requests to a server,updating the server response and performing necessary changes in the current web page. It sends and receives data in the form of XML.

    Ajax Server or Extension Controls:-
    • Script Manager:-
    Script Manager Controls helps in implementing the Ajax functionality in an asp.net website. You need to add this control on a web page whenever Ajax functionality is required. It manage all the Ajax control on the web page. If we are using  Ajax control over web page then we first drag and drop this control on the web page.
    • ScriptManagerProxy Control:-
    In any Ajax enabled website is only one Script Manager Control,which manage all the Ajax server controls on that page. If the website contains a 'Master Page'and the Script Manager Control is added in the Master Page. Then  all the web page inherited from the Master Page.For this purpose each content page requires a link to connect to Master Page's Script Manager Control.The content page uses the the Script Manager proxy control to make a link with master page.
    EX:-  If  the service and scripts added earlier in the Script Manager Control of the Master Page are not useful for your current web page, then you can remove them by using the Script Manager Proxy Control.
    • UpdatePanel Control:-
    The UpdatePnael Control helps to divide your web page into parts, where each part can be update independently. If we have a button on the web page, which clicking the page goes to the server and back to the client ,if we want to go only a small part of web page to the server then we use the UpdatePanel Control.  

    Creating a simple Application:-
    • Drag and drop  ScriptManager control,UpdatPanel control , a button control and two label controls from the Toolbox on the Design view of the Default.aspx page.



    • Set the Text property of the Label1 control s to simple Application with AJAX ,the Button1 control to Display and ID property to Btndisplay.
    ->On Btndisplay Double click:-

    protected void Btndisplay_Click(object sender, EventArgs e)
        {
            String myDateTime;
            myDateTime = System.DateTime.Today.ToLongDateString() + " ";
            myDateTime += System.DateTime.Now.ToLongTimeString();
            TimeLabel.Text = myDateTime;
        }
    


    OUTPUT:-


    Application Using Timer Control:-

    The Timer control can be used in the following two ways:-
    • Inside the Update Panel Control
    • Outside the  Update Panel Control
    Here we are showing  Timer control Inside the Update Panel Control.Outside the  Update Panel Control is similar to this .You Can download whole Application from the below  download link.


    • Drag and drop a Script Manager control, Update Panel  control,Timer control and two Label controls from the Toolbox on the Design view of the Default2.aspx page.To use Timer control inside the Update Panel control.

    • Set the  Text property of the Label1 control to Application using Timer control,Label2 control to current System time,D property of the Label1 control to Label Heading, ID property of the Label2 control to Time Label,ID property of the Timer control to Timer Updater, and Interval property to 1000

    Double click on Timer -Time Updater control:

    protected void TimeUpdater_Tick(object sender, EventArgs e)
        {
            TimeLabel.Text = System.DateTime.Now.ToLongTimeString();
        }
    

    OUTPUT:-
    Your system current time will be displayed.



    Application Using Update Progress Control:-`
    • Using the Update Progress control for single Update Panel Control.
    • Using the Update Progress control for Multiple Update Panel Control.
    Here we are going to show Update Progress control for Multiple Update Panel Control. Here we are using two  Update Panel Control.

    Design view Defaut4.aspx:-


    Code of Defaut4.aspx.cs:-

    protected void BtnProgress_Click(object sender, EventArgs e)
        {
            System.Threading.Thread.Sleep(5000);
     //LabelDemo.Text = "Demonstration on Update Progress Control taken place last time at " + System.DateTime.Now.ToLongTimeString();
            Response.Redirect("default5.aspx");
        }
    


    OUTPUT:-
    In this ,you will see that update is in progress and after 5000 interval it go to Default5.aspx.



    For More:-
    1. Setup File
    2. Make Registration Page with ajax
    3. E-Post System Project
    4. Host Asp.Net Application on IIS Server
    5. Interview questions and Answers

    Click below for download whole AJAX application .
             DOWNLOAD
    3

    Difference Between Asp and Asp.Net:

    By // No comments:
    HTML provides only static web pages,means we can not write some functionality by using HTML. It is used just to design the web pages. To provide the dynamic functionality in web pages scripting language is used. Asp means active server page. Asp and Asp.Net technology are web based technology which can be used to developed web page application. Both the technologies are developed by Microsoft.
    3

    Ado and Ado.Net In .NET

    By // 2 comments:
    It is data model which is used by .net application for doing data manipulation with database.Ado means Active Data Object.Before the Ado.Net there was 'Ado' used for connectivity and data manipulation with database.But There are some difference b/w Ado and Ado.Net:-


    3

    Microsoft Sql Server

    By // No comments:
    Sql Server is a relational database management system (RDBMS) developed by Microsoft that's designed for the enterprise environment.It is a software product whose primary function is to store and retrieve data as requested by other software application.The original sql server code was developed by sybase in the late 1980.
    The first version of sql server was sql server 4.2.The latest version of sql server is sql server 2012.
    Create Database Through Sql command:-
    SYNTAX:-
    3
    Powered by Blogger.