Tuesday, March 31, 2009

CSS Tutorial

In our CSS tutorial you will learn how to use CSS to control the style and layout of multiple Web pages all at once. What is CSS?

  • CSS stands for Cascading Style Sheets
  • Styles define how to display HTML elements
  • Styles are normally stored in Style Sheets
  • Styles were added to HTML 4.0 to solve a problem
  • External Style Sheets can save you a lot of work
  • External Style Sheets are stored in CSS files
  • Multiple style definitions will cascade into one

Read this article

ASP ServerVariables Collection

The ServerVariables collection is used to retrieve the server variable values.
Syntax
Request.ServerVariables (server_variable)


Read this article

Thursday, March 26, 2009

Printing web page in ASP.NET

Very common tasks, needed in almost any kind of application are reporting and printing. Before or later you will need to provide a print option to your users. In Windows Forms applications print issues are better defined, but when using ASP.NET, printing of web form is not that easy.


There is a few questions, first, do you want printing on server side or on client side. If you want to print on server side, then you can use System.Drawing.Printing classes just like when you work with .Net Windows Forms application. But, if you try to enable printing facility on client side, you need to consider more constraints and different possible solutions, depending of your specific needs



Read this article

Thursday, March 19, 2009

Pinging IP address using ASP.NET 2.0 and VB .NET

This article will show you how to ping a hostname/ip using the .NET System.Net class, ASP.NET 2.0 and VB.NET
The .NET Framework offers a number of types that makes accessing resources on the network easy to use.



Read this article

Monday, March 16, 2009

XML Programming with VB.NET

Extensible Markup Language (XML) is a meta-markup language that provides a format for describing structured data. XML is the universal language for data exchange on the Web. XML gives developers the power to deliver structured data from a wide variety of applications to the desktop for local computation and presentation.


Read this article

ASP.NET Charting Using Office Web Components (OWC)

The OWC Programming Model
In order to display an OWC chart from an ASP.NET Web page, we will create a single ASP.NET Web page whose sole duty is to display a chart. This Web page will be named getchart.aspx. In order to display this chart in a Web page, we'll use the standard HTML tag as follows:

Read this article

Monday, March 9, 2009

Reduce the size of the transaction logs of a SQL Server

How to stop the transaction log of a SQL Server database from growing unexpectedly.
This article describes the steps that you must follow when the transaction logs expand to an unacceptable limit. The expansion of the transaction logs can make your Microsoft SQL Server database unusable. This article also provides the options that you can use to stop the transaction logs from growing unexpectedly


Read this article


Keywords : Shrink ,Backup ,Compress ,Truncate , transactions , log ,Reduce the size of the transaction logs

Sunday, March 8, 2009

Using DataReaders, SQL Server

In this section we will work with databases in code. We will work with ADO .NET objects in code to create connections and read data using the data reader. We will see how to connect using our own connection objects, how to use the command object and so on. The namespace that needs to be imported when working with SQL Connections is System.Data.SqlClient. This section works with common database operations like insert, select, update and delete commands.


Read this article