This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have one urgent requirement in our project we have of list of requisitions in the page listing ;we will have check boxes to that say if i check 5 requisitions we will update the status(statuses like pending,processing,rejecting,invalidate) when user select reject status we have to send email notification to those users who created those requisitions;when i click update button
I will get userid and requistionid;
if we put in hashtable userid will come in duplicated but requistionid is unique. say data wil come like this;
ht.put("Vikram",1313); ht.put("Shekar",1513); ht.put("Shekar",4213); ht.put("Vikram",4613); ht.put("Vikram",4583); ht.put("Ranga",4183); ........... dont tell me that compare with userid.equals("Vikram"); i cant compare like that because i dont know which user can come from database how to do this with Hashtable;IS ANY OTHER WAY.
i want to send one email to user vikram with requistionids 1313,4613,4583