Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

finding incoming string field in dto object is of format MMYYYY

$
0
0

Hello,

I am just a beginner of Visual C#.

I have dto object which has loaded data from excel file into memory. 

It has several fields such as Course name(string) and Course Date(MMYYYY format) as string.

I need to check if the incoming  Course date field  is in the format MMYYYY

if it is not in that format, then i need to return error message

else return no error..Please advice. The code should be in C#...

Thanks


gs


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>