I have a text file which has 7,000 data in it and i want to read the rows from file and then check it with the columns if it has right attribute or not.I don't want to write every row.I just want the line below to work from file .I don't want to write it one by one
.Row.Add(new object[]{...,...}) Please help!

Recommended Answers

All 2 Replies

I'm not quite sure I understand what your talking about. What kind of attribute are you looking for? What kind of data is in the text file?

Sounds like you're going to need a loop to traverse through each row? I dont know if thats what you're asking or not though because your question was quite general and hard to understand.

Reguards,

Tyler S. Breton

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.