Click here to Skip to main content
15,887,854 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

Am creating one executable file using c# which has to validate the content of text file present in fixed length format (say for fixed length is 30). In case if fixed length was not in defined format then it should be caught in exception.

Please advice am not getting the scratch to begin with this.
Posted
Comments
[no name] 11-Jun-14 20:17pm    
Okay so open file, read file, for each string in the file see if it is in the "defined format", if not throw an exception.
abhicoolhot 25-Jun-14 15:43pm    
Exactly
[no name] 11-Jun-14 23:29pm    
Please be more clear to get your question answered.

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