I have following SQL tabls
1. I want as webpage where all my sql table name is binding in checkboxlist.
2. Then user can select any table name from checkbox list.
3. So based on on selection it shows a gridview and show each table column.
4. Then once user select which column want to see
5. Click on show button process the select statement and fetch data from sql tables
CREATE TABLE [dbo].[users](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Username] [nvarchar](50) NULL,
[password] [nvarchar](50) NULL,
CONSTRAINT [PK_users] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[User_Details](
[UserDetailId] [int] IDENTITY(1,1) NOT NULL,
[UserId] [int] NULL,
[city] [nvarchar](50) NULL,
[age] [nvarchar](50) NULL,
CONSTRAINT [PK_User_Details] PRIMARY KEY CLUSTERED
(
[UserDetailId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO