TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rahul Khanna
NA
236
0
Need help in method parameter type.
Jan 26 2011 7:56 AM
Hi all,
i have a method say for student fee collection, in that there are three parameter studid,feeamount, collection date. method defination is like below.
public string CollectFee(string studentid, decimal feeamount, DateTime collectiondate)
{
}
In this while calling this method from presentation layer..user must have to have enter all the parameter if any of the parameter is missing he will get message like....studentid and feeamount and collection date is required. i want to check these while impleting the CollectFee method, since the method parameter having string, decimal, datetime datatype, how can i check empty or not for these in one if condition.
Reply
Answers (
3
)
Embeding Flash File into Windows Form
Calling a method from a class to a from