CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 3/27/2008 4:45:02 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 51 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
mondo21
Asp.Net User
Validate a CSV file ?VS 20053/27/2008 4:45:02 PM

0

Hi all,

I need to validate some CSV files.They exist in a local folder and can have any name. eg: eir102.csv, eir103.csv

I want to check for any csv files in a folder and validate..IF Validation ok then save to good folder IF Fail then save to bad folder.

Anyone know a good example of reading a csv file and then checking that the file is in the correct format:

I have looked this up and using streamreader/writer and regex may be what I need to use but I need a good example.

eg: (1) check fields lengths between commas are of a certain length

      (2)check comma count .ie: that the csv contains the correct amount of fields (whether empty or not )

 

Please point me in the right direction.

Ray.. 

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Foundations of BizTalk Server 2006 Authors: Daniel Woolston, Pages: 242, Published: 2007

Web:
DotNetSlackers: Validate a 3 field CSV file Dec 29, 2006 ... Validate a 3 field CSV file. Posted by: RegexLib.com - Recent ... in which the file resides more; Common Gotcha: Slow VS 2005 Web Site Build ...
What's the best way to validate a CSV file - bytes Old November 16th, 2005, 08:24 PM ... I am getting a CSV file like this from our client: "C1","2","12344","Mr","John","Chan" ... and Dataset in ado.net group- Disconnected vs connected approach) Anyways,You say that ...
How to validate an XML file against a schema using Visual Studio ... Is it possible to validate an xml file against it's associated schema using Visual Studio 2005 IDE? I could only see options to create a schema based on the ...
VS 2005/VB/Validate user entry against SQL database at textbox ... Feb 11, 2009 ... Keywords: VS 2005/VB/Validate user entry agains. .... //Code behind file Protected Sub txtEmplID1_TextChanged(ByVal source As Object, ...
SSDN - Error When Using XMLConverters dll in Visual Studio 2005 to ... XML Discussion Forums,Error When Using XMLConverters dll in Visual Studio 2005 to convert csv to xml with a conv file that has an associated xsd file.

Export Template Wizard? Where the heck is it? - ng.asp-net-forum ... I didn't get the option to optimize when I first installed VS.Net 2005...unless I just skipped it or ... validate a csv file ?vs 2005 ...
Forms Authentication and Cookie Timeout - What am I doing wrong ... [ask] how do i validate membership users in a application ... encrypted csv file vs. sql ยท secure and unsecure pages from the default page ...






installation of visual studio 2005 while keeping visual studio 2003 on the same machine

design-time support questions

dataset bug??

how to add server to server explorer using asp.net

visualstudio on sp1

using command window's "open" or "of" command causes files in solution explorer to disappear

format document for javascript files

what's the difference between 'build' and 'publish'

vsvars32.bat is not recognized as an internal or external command...

vs 2005 not showing asp controls

sourcesafe and web deployment

very slow to load a project

installing visual studio team developer

unable to add messaging namespace

server explorer problem

my search with beta vs2005 is stuck with two inappropriate (relate to some add-ins) filters. how to clear out the filter so everything is searched?

how can i create file downloading utility in asp.net 2.0

deformation of tables in vs .net

visual studio .net 2003

how do i enable toolbox tabs that are disabled

how to force vs 2005 to use iis instead of casini?

books for vsts tester?

sourcesafe integration

how to write a stored procedure in visual studio

code formatting software

visual studio projects in 2005

debugging across vs 2003 and 2005 apps

vs2005 exits after publishing my website!

enable linkbutton's after clicking the another linkbutton

find and replace

   
  Privacy | Contact Us
All Times Are GMT