Search results for query: *

  1. O

    read csv file but it only reads the first line

    Thank you, that was very helpful like you said Linq is a rabbit hole that I have on hold before I dive into it. This was enlightening you have my humble thanks
  2. O

    read csv file but it only reads the first line

    Thank you, that was pretty similar to what I was looking for. I will try to implement your method in my code but when I tried debugging it as a single code the ToBinary() method returned a problem which is bool doesn't contain a definition for ToBinary and no accessible extension method...
  3. O

    read csv file but it only reads the first line

    They should be column headers cause they are distinct, it's the first time they appeared (If I undertstood your question clearly) . I posted this in how to be able to read all the lines and the rest I will figure out after I fix this problem but until now am stuck in it so any additional...
  4. O

    read csv file but it only reads the first line

    thank you but I need to keep using this current method as I tested with other csv files and it worked
  5. O

    read csv file but it only reads the first line

    that I do, am working on it without having an exact idea of the line length, I tried giving a big number as a limit but that also didn't work bread, vegetables, fruits bread, butter, oil oil, water, wheat I would then choose the distinct elements bread vegetables fruits butter oil water wheat
  6. O

    read csv file but it only reads the first line

    after I read it (successfully), am going to compare them and take the distinct elements and put them into a datatable and then read the the csv file again and compare the elements with the rows if yes I put 1 if not I put 0
  7. O

    read csv file but it only reads the first line

    I did try that and even added it with it using && but it still showed a similar error
  8. O

    read csv file but it only reads the first line

    I thought if I added the for loop It will add more lines that's why I didn't mention the error message because what I want to know is how to read all the lines but you are right I should have mentioned it, do you have a suggestion on how to resolve it?
  9. O

    read csv file but it only reads the first line

    Am trying to read this csv file and make a header of all the distinct elements in it and put it in a datatable but it only reads the first line Am trying to read this current csv file and convert it into a truth table that show if an element exists in a row I out 1 if not I put 0 but it only...
Back
Top Bottom