I have created one inventry application.In that i have created login form.But in login form i want to login locationwise that mumbai,pune,banglore etc....means mumbai person have diffent login ,pune person have different login....Please suggest code for this...It is on high priority....
ThanksDiv

Pranay RanaRank #735 · 3.2K reputationPosted May 13, 2015, 3:49 AM EDT
Example :
USerLocation
UserID LocationID
1 1 -- user mapped to location having id 1
2 3 ---user mapped to location having id 3
than for this you can crate stored procedure for login user in that you can write query
select top 1 from user
join UserLocation on userid = locationID
where USerid = @userid--passed user id to procedure
and locationid = @locationid -- passed location id to procedure
I hope you will get my point
Amol Sonavane66 reputationPosted May 13, 2015, 7:09 AM EDT
Amol Sonavane66 reputationPosted May 13, 2015, 7:19 AM EDT
Amol Sonavane66 reputationPosted May 14, 2015, 2:46 AM EDT
madhuri Gamane100 reputationPosted Jun 29, 2015, 4:22 AM EDT