Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Message is declare in XML like
XML
<root1>
  <message no="1001">please enter the valid salary/grade for salary details</message >
  <message no="1002">Others details has been updated successfully.</message >
  <message no="1003">Employee record has been Update successfully.</message >



and show that message via function like

lblMsg.Text = Nvish.clsCommon.GetMessage(1001)


how i create function

GetMessage in clsCommon

Please guide me
Posted
Comments
Sergey Alexandrovich Kryukov 20-Apr-12 23:25pm    
For goodness sake, what is that Nvish, Nvish.clsCommon, CLSClass? Any reference? What's the problem?
--SA
Ashutosh_jha 21-Apr-12 1:02am    
Nvish is namespace clsCommon is class file
Sergey Alexandrovich Kryukov 22-Apr-12 16:24pm    
OK, reference, please.
And no, clsCommon should be a class, not a "class file". Look, concentrate and provide appropriate information...
--SA

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