I'm sorry I guess in my in-experience I though I was clear in what I was asking.
I'll describe what I need to happen perhaps that will help.
I have a CSV file with client names, file name, number of fields. I need to search though that file and hopefully find a match (col 1), then I need to return the file name (col 2) and number of fields in that file (col 3). As of right now I've only gotten it to work to the point of it, opens...
User Profile
Collapse
-
return an array or list
What I'm trying to do is get two values back to the original section (ParseMessage). .. Right now I'm just focusing on the csvClientReader portion, once I get that working I can get the second part working.
Right now it passes back a single value into strClient, what I really need is for it to pass back the values of:
parsedData[intX][intY] ----- in this case intY would equal 1
parsedData[intX][intY] ----- in this... -
The columns in the table are as follows:
EmailID (Auto Number), DateReceived, From, Subject, Message, MessageID (rest are all strings)
when I get the error "The ConnectionStrin g property has not been initialized." the code reads:
That's what I meant, sorry for any confusion...Leave a comment:
-
Actually they are all strings on the database, the date I'm reading/writing actually reads "Fri, 19 Feb 2010 10:22:34 -0500" for example. Though I will eventually change that once I get everything working to just a regular DateTime field.
As far as the first error goes, I thought that the commandbuilder reconnects you to the database and all you have to do is pass it a data adapter which I do with
When I get...Leave a comment:
-
Adding a row to a database
I keep getting "The ConnectionStrin g property has not been initialized." on the line da.Update(ds1. "Mail")
I've tried wrapping the section in a open and close (data base connection) and now I get the following error message: Syntax error in INSERT INTO statement. on this segment of code: da.Update(ds1, "Mail");
I put in a break point and checked and the DataSet has been updated with the...
No activity results to display
Show More
Leave a comment: