Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two tables [Users] and [Customers] both have same column name [Email], [Pass], [Type].

If (email,Pass,Type found at User)
{
go to Users page
}

If (email,Pass,Type found at Customer)
{
go to Customers page
}
Posted
Comments
Anisuzzaman Sumon 9-Dec-15 9:35am    
show your code. try something then ask question please.
Saad Saadi 10-Dec-15 0:56am    
yes, please show your code and elaborate your question.
Thank You!

1 solution

i think you are maintaining two table one for user and other for customer. dont need to maintain two table you can manage from one table and by the help of type distinguish them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900