943,856 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Marked Solved
  • Views: 7049
  • C# RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Jan 7th, 2008
0

Re: multiple user authentication..

By using this query u'll get one Result.......from that u can check......userType

string st=Data["UserType"].ToString();
if(st=="Admin")
{//Open Admin Form}
else if(st=="User")
{// Open User Form}
Reputation Points: 10
Solved Threads: 2
Light Poster
btech_Saurabh is offline Offline
39 posts
since Jan 2008
Jan 7th, 2008
0

Re: multiple user authentication..

Enum is better.
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Jan 7th, 2008
0

Re: multiple user authentication..

Yes Enum is Better.....approach....as Ramy says...
Reputation Points: 10
Solved Threads: 2
Light Poster
btech_Saurabh is offline Offline
39 posts
since Jan 2008
Jan 8th, 2008
0

Re: multiple user authentication..

Thanks Buddies,i got it work by using enum and i also tried like saurab said.It also worked..Thank u very much in taking an effort to solve this issue.i am marking this post as solved....Check out my next post.....Ha Ha
Reputation Points: 10
Solved Threads: 0
Light Poster
bharathi_n_r is offline Offline
25 posts
since Jan 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: datagrid hyperlink
Next Thread in C# Forum Timeline: EPSON POS - customer display





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC