Tables In ASP |
||||||||||||||||||
These article will explain you how to create tables in asp and explain you the importance of tables in ASP. Tables can be defined as the heart of the majority of the website and Articles. Tables lay the groundwork for most web sites. The majority of web sites designed today are completely contained within tables. You need not look any further than this very web site for an example of this. Everything you see on this screen is contained within a table. Some of the content you see is inside of tables which are inside of other tables, this is called Nesting. So why would you want to put the content of a web page into a table? The reason is that it is the simplest and most effective way to organize a web page. For example, how would you make two columns of text on a web page if you did not use a table? Think about it. Unless you are an advnaced HTML'er and know how to use layers, you can's do it. What you would do is create a table with two columns and then place your text in each column To create a database we need to apply the following code :-
To create a table in a database the below are the following steps :-
It can be better explained with an Example :-
The data type specifies what type of data the column can hold. The table below contains the most common data types in SQL :-
Indices are created in an existing table to locate rows more quickly
and efficiently. It is possible to create an index on one or more columns
of a table, and each index is given a name. The users cannot see the indexes,
they are just used to speed up queries. The Index can further be Classified into two types :-
|
||||||||||||||||||
Terms and Conditions / Privacy Policy / Refund Policy / Shipping Policy