Rui Ruivo

Rui Ruivo

  • NA
  • 132
  • 37.6k

From SQL reader to textbox using DataTable or something else

Nov 9 2021 1:46 PM

Hi everyone

I am trying to read from a SQL reader into something so that i can iterate latter.
I dont know if this is the best idea but... I need to read all data from the reader:
A DataTable appears to be a good option so i tryed dataTable.load(reader) but i cannot read from the Table after that.

Can someone point me in the right direction ?

The final objective is to populate a panel with other controls each of theme displayed in a certain manner with the data i get from the SQL query, This is why i want to be able to read every single value.

Any help will be much apreciate.

Best regards

Rui


Answers (3)