Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
Insert values from Checkboxlist
Riddhi Valecha
Nov 29 2016 4:31 AM
235
Reply
Hi all..
I have a page frmLocationMaster.aspx. ..
On this, I am having 2 checkboxlist controls -
1. checkboxlistusers
2. checkboxlistlocation
Uitlity -
Users must get access to specific locations only ..
Eg -
User Table
ID
User
1
A
2
B
3
C
4
D
5
E
ID
Location
1
UP
2
Bihar
3
Andhra Pradesh
4
Karnataka
5
Maharashtra
6
West Bengal
7
Gujarat
8
Rajasthan
Suppose, Users - A,B,C must have access to Location - UP, Rajasthan and Bihar.
Then, user will select - users -A,B,C From userscheckboxlist and Location - UP, Rajastahn,Bihar from LocationCheckboxlist.
On button click event - Following data must be inserted -
UserID
Location
A
UP
B
UP
C
UP
A
Rajasthan
B
Rajasthan
C
Rajasthan
A
Bihar
B
Bihar
C
Bihar
How to do this ??
Please guide ..
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
how to create dynamic menu from database in mvc 4
how to use arrow in header for sorting in asp.net mvc