Here is a tutorial I created about Web Development using ASP.NET. This is a "step-by-step" tutorial that will explain in detail how to create a simple website using ASP.NET and Microsoft Visual Studio 2008.
For this first tutorial I explained about the basic of creating and connecting a database in ASP.NET web page.
This tutorial will provide you the basic knowledge how to use Microsoft Visual Studio 2008 in developing your website.
In this tutorial we will use the C# language to perform some function such as connecting to database when the page is loaded. We will use the System.Data.Sql and System.Data.SqlClient class to perform this function.
We will use SqlConnection class to create an object for connecting to a Database. This can be done with code :
string connectionString = "//the connection string can be obtained in database properties";
SqlConnection connect = new SqlConnection(connectionString);
connect.Open()
In this tutorial, to read a database we will use SqlCommand and SqlDataReader class.
To read data from a table in the database can be done with the code :
SqlCommand command = new SqlCommand();
command.Connection = connect;
command.CommandText = "//this is the SQL Query needed";
SqlDataReader reader = command.ExecuteReader();
while(reader.Read())
{
//The code here..., to access a data in a field use the syntax -> reader["field_name"]
}
In this tutorial, to display a content to the web page we will use the InnerHtml attribute with this code :
string HTMLcode = "//a string that contain HTML tag to display some content";
div_ID.InnerHtml = HTMLcode;
Above, is a brief explanation about the tutorial. For a complete tutorial you can download the file in pdf format and you can download the source code from the link below :
ASP.NET Tutorial1.pdf
Source Code.rar
In the mean time I also will post a notes about Operating System - Introduction. But I still need a little time to finish it.
Best Regards,
Admin
ASP.NET Web Development - Introduction
System - Description and Analysis
Some of the topics covered in this notes are :
1. Brief explanation and definition of System
2. Properties of System including Homogeinity, Additivity, Time Invariance, and Invertibility
3. Explanation about Linear System, some properties of Linear System including
Stability,Causality, Incremental Linearity, and Static/Dynamic System.
4. A brief explanation about Non-Linear System
5. A brief explanation about Feedback System
6. How to perform System type checking(How to check whether a system is linear or non-linear,
time invariant or time variant, causal and non-causal.
I also will provide an e-book Schaum's Outline About Signal and System. This e-book contains some of good exercise and simple explanation that will help you to understand the concept of Linear Signal and System. Some of the exercises in the previous notes were also taken from this e-book.
Maybe I will list some of key points in this note :
- A system has excitation(input) and response(output)
- A system has some properties :
1. Homogeinity : multiplying an input by a constant simply result in multiplied output by that
constant too.
2. Additivity : summing some input simply will cause a response that is the sum of the
response of each input.
3. Time Invariance : delaying an input to a system simply will cause a delayed ouput from the
system
4. Invertibility : unique input for a unique response
- A linear system is a system that is both homogenous and additive.
- A Linear Time Invariant System is a linear system that is Time Invariant
- A system said to be stable if the system has BIBO(Bounded Input and Bounded Output)
- A system said to be Causal if the system's response doesn't depend on input from the future
time, the system's response at a time only depends from the input up to that time.
- Incremental Linearity means a Linear System that have initial condition as an offset added to
the response.
- Static System is a system said to have no memory. The response at a time only depends on
arbitrary excitation at that time
- Dynamic System is a system said to have memory. The response at a time also depends on
excitations at another time.
- Non-Linear System is a system whose the relationship of the amplitude of excitation and
response are not linear. An example of Non-Linear System is a product of 2 system(using
Analog Multiplier)
- Feedback System is a system whose have an output at a time that will act as another input
beside the excitation at another time/state.
- Linearity check use the Homogeinity and Additivity properties :
u(t) = a . x(t) + b . y(t)
- Time Invariant check use the unit advance properties :
x[n + 1] = q . x[n]
Well that's some of key point that I think were important. You can just download the notes from the link belown for more specific explanation and solution, and also the ebook Schaum's Outline of Linear Signal and System :
Description and Analysis of System(4shared.com)
Schaum's Outline of Linear Signal and System Ebook(4shared.com)
Well sorry for the late post, hope you all get benefit from it.
Best Regards,
Admin
Take A Break while Doing Project
Well for this time, I got some work to do in a company. I got some project creating a website using ASP.NET. The bad news is I can't frequently updated my blog with new course/notes. The good news is I can provide some tutorial of ASP.NET Web Application Programming after I finished my project and my work.
Well it takes a lot of stamina to do my project and I got exhausted sometime. So I can't prepare a new notes. Actually I have prepared 2 notes, 1 about Analysis and Description of Signal(Linear Signal and System notes) and a notes about Introduction to Operating System(new notes). But I still working on them and maybe it will take a little more time to finish it.
Okay I think that is all for now. From now on I will not frequently updated my blog. Maybe I will concentrate on prepared some more notes and tutorial and I will post them together in one time after I finished it.
Best Regards,
Admin