Basic of Php and Asp.net Programming Languages
We are defining here two standard website programming language PHP (Hyper text processor) and ASP (Active Server Page) for Website Programming Development. Basically it is database driven website programming languages. Whenever you require huge data connectivity and extra features PHP and ASP are useful. ASP.NET is such type of programming language which providing by Microsoft Product Technology. On other hand PHP is an open source programming language which is derived from many of various languages.
?
To develop dynamic database oriented websites these two programming languages use. Most of Microsoft products with the Active Server Pages (ASP) of comfort, but also can be used to IIS server (Internet Information Server) to run ASP applications. Of course, PHP can be connected to different types of databases, so it is platform-independent programming language.
?
There are some differences between the two Web programming languages defined in accordance with the following.
?
Database Connectivity
IIS server needs to install an ASP.Net on Windows server platforms to run successfully. However, the need to purchase the package. On the other side PHP is a free software package running on the Linux server program. In ASP.Net it requires MS SQL Server, Microsoft ASP.Net, such a database connection is expensive. Basically using the database and PHP to connect to my SQL is the release of Access.
?
The Simplicity
It is easy to understand, PHP and the code behind the structure of the code that the programmer can easily make fresh. However, ASP.Net does not the code is easy to understand for programmers quickly.
?
Run Time Speed
And if we need to have PHP to ASP.Net, in general, be an advantage to use the code that is PHP or ASP time needed to explain short run time . Also, PHP is faster in a Web-chip code memory to run the application.
?
Security Purpose
ASP.Net is the largest organization, several security number is useful if you need security for internal processes. ASP.Net for the protection and safety is a PHP open source code is not for security. Therefore, there are differences between the PHP mail between ASP.Net.
?
And finally, we can conclude that both programming languages have their own advantages and disadvantages. It is just depending upon the user’s requirement and budget to afford for any kind of web programming development. Generally we can say that PHP is for small or middle level business websites and ASP.Net is for a real big company or business firm.
Posted in: asp.net| Tags: Programming Database Website Microsoft IIS language asp php server connectivityAsp.net Accordion Control With Sql Server Connectivity
The Accordion is a web control that you bid on multiple disks and displays them one at a time allows. It's like several CollapsiblePanel where only one can be expanded at a time.
How to populate a database from the SQL Server data, combined with the accordion control
?
I tried the internet but only found something good that is so friendly.
I decided to make a code for this.
?
First create tables in the database?
CREATE TABLE [dbo].[Category](
[CategoryID] [int] IDENTITY (1,1) NOT NULL,
????? [CatName] [nvarchar](50) NULL,
????? [CatDesc] [nvarchar](255) NULL
)
?
CREATE TABLE [dbo].[SubCategory](
[SubCategoryID] [int] IDENTITY (1,1) NOT NULL,
????? [CategoryID] [int] NOT NULL,
????? [SubCategoryName] [varchar](30) NULL
)
Inserting values for Main Category Table
?
Introduction to class (CatName, CatDesc) Values ( "Hospital", "Hospital")
Go
Insert Into Category (CatName,CatDesc) Values (‘School’,‘School’)
Go
Insert Into Category (CatName,CatDesc) Values (‘Hotel’,‘Hotel’)
?
Select * from Category
?
Result:?
?
?
For complete article Please visit http://blog.joggee.com/?p=162 Posted in: asp.net| Tags: Control time web sql asp server connectivity accordion