|
|
|||||||
| Home Page |
|||||||
Asp.net Accordion Control With Sql Server ConnectivityThe Accordion is a web control that allows you to provide multiple panes and display them one at a time. It is like having several CollapsiblePanels where only one can be expanded at a time. How to populate data from the SQL SERVER database and integrate with Accordion Control
I tried from the internet but hardly found something good which is so friendly.
First create tables in the database
[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
Insert Into Category (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
Rate this Article:
Current: 0 / 5 stars - 0 vote(s).
Article Tags: Ajax, Asp.net 2005, Database Programming Article Source: http://www.articlesbase.com/programming-articles/aspnet-accordion-control-with-sql-server-connectivity-484731.html About the Author:
The author of Blog.Joggee is the same person of the Rana Blog in the codeproject.wordpress.com.
Related ArticlesRich Internet Applications (ria) Creating a Simple Ajax Control in Asp.net 2.0 and C# The Web 2.0 Effect: the Characteristics of a Web2.0 Website Finding a Website for Hot Source of CSS Information? Sorting Gridview Data With Ajax What is the Ajax Enabled Google Tool-kit? Your One Stop for CSS Information Got a Question? Ask.Ask the community a question about this article:Frequently Asked Questions Ajax Hot Water Boilers A football forum im on is based on an ISP board ... Unbookmarking websites What are Google plans for the future? What are we ... How to view who gave me love on facebook? How can i send a mail using javascript. Latest Programming ArticlesHow to Succeed as a Abap Developer or Sap Abap Development Manager E-commerce and Web Portal Development in Vietnam Php Web Development Advantages Using Comments in Your Programming Source Code by Nicholas Brown Data Transfer Methods of Cnc Software Development Life Cycle Models Types of Softwares Effetive Use of Pointers |
|||||||
|
Article Categories
|
|||||||
|
|
|||||||