Introduction
Here I will explain about uses of 3-Tier architecture and how to create or implement 3-tier architecture for our project in asp.net
Description
1. What is the use of 3-tier architecture and why we go for that architecture?
2. First we need to know what 3-Tier architecture is.
3. How to create 3-Tier architecture for our project?
Windows Presentation Foundation (WPF)
The Windows Presentation Foundation is Microsoft’s next generation UI framework to create applications with a rich user experience. It is part of the .NET framework 3.0 and higher.
WPF combines application UIs, 2D graphics, 3D graphics, documents and multimedia into one single framework. Its vector based rendering engine uses hardware acceleration of modern graphic cards. This makes the UI faster, scalable and resolution independent.
The Windows Presentation Foundation is Microsoft’s next generation UI framework to create applications with a rich user experience. It is part of the .NET framework 3.0 and higher.
Cursors can be considers as named result sets which allow a user to move through each record one by one. SQL Server 2000 provides different types of cursors to support different type of scrolling options.
When we use a Select statement in a stored procedure to get some result, we can get a collection of all the records which satisfy the given criteria. This result set can be returned back as a whole to the client application. We can’t move through each individual record one by one in this situation inside a stored procedure. Therefore, whenever we find some situation where we need to process each record individually we can use cursors.
Here I will explain how to publish or deploy the website in local machine. To publish website first we need to check whether IIS installed in our local machine or not and whether that IIS working properly or not because sometimes IIS will not work properly even that IIS already installed in our local machine for that reason we need to check all these conditions before going to publish or deploy our website in local machine.
Anybody can write code. With a few months of programming experience, you can write 'working applications'. Making it work is easy, but doing it the right way requires more work, than just making it work.
Believe it, majority of the programmers write 'working code', but not ‘good code'. Writing 'good code' is an art and you must learn and practice it.
Everyone may have different definitions for the term ‘good code’. In my definition, the following are the characteristics of good code.
· Reliable
· Maintainable
· Efficient
It is very easy to merge two data tables into one table in asp.net
Using Merge Method ucan add two tables
DataTable dt = new DataTable();
DataTable dt1 = new DataTable();
dt.Merge(dt1);
I think it helps you
Using Merge Method ucan add two tables
DataTable dt = new DataTable();
DataTable dt1 = new DataTable();
dt.Merge(dt1);
I think it helps you
Introduction to Object Oriented Programming Concepts (OOPS) in C#.net
Categories:
c#
,
C#.Net
,
OOPS Concepts
OOPS Concepts
Class:
It is a collection of
objects.
Object:
It is a real time entity.
An object can be considered a "thing"
that can perform a set of related activities. The set of activities that
the object performs defines the object's behavior. For example, the hand can
grip something or a Student (object) can give the name or address.
In pure OOP terms an object is an instance of a class
There are times when you will want to set the color of the grid lines in your GridView - however there is not to my knowledge a way of doing this declaratively. A workaround is to do this by tapping into the GridView's RowDataBound event.
First, set the OnRowDataBound property in the markup of the GridView:
Happy Coding
First, set the OnRowDataBound property in the markup of the GridView:
OnRowDataBound="MyGrid_RowDataBound"
Second, set the color in the OnRowDataBound handler method:
protected void MyGrid_RowDataBound(object sender, GridViewRowEventArgs e)
{
foreach (TableCell tc in e.Row.Cells)
{
tc.Attributes["style"] = "border-color: #c3cecc";
}
}
Happy Coding
Subscribe to:
Posts
(
Atom
)
- Interview Questions in ASP.NET, C#, VB.NET, SQL, .NET Framework
- Simple login form example in asp.net Check Username and Password availability in database
- Asp.net insert, Edit, update, delete data in gridview
- 3 tier architecture example in asp.net with C#
- Introduction to Object Oriented Programming Concepts (OOPS) in C#.net
- OOPS (Object Oriented Programming) Concepts in C#.NET with Examples
- Best Login Page Design in HTML, CSS with Source Code
- C# - Constructors in C# with Example, Types of Constructor in C# with Example
- how to insert images into database and how to retrieve and bind images to gridview using asp.net (or) save and retrieve images from database using asp.net
- Introduction to WCF - WCF tutorial | WCF Tutorial - Windows Communication Foundation | WCF Example | WCF Sample code in asp.net 3.5 | Basic WCF Tutorial for Beginners