filling datatable with column from datasource

  • Thread starter Thread starter Cor
  • Start date Start date
C

Cor

Hi Sanjeev,

If I understand you well, you want to avoid the usage of the "Select"
statement to retrieve data from your database.

Can you give a sample how you retrieve the data now?

Cor
 
Hi all,

I have a Dataset component on my windows form. I have also added some table
into that dataset manually.
But i have not added any columns in those tables.

I want to fill these tables with respective coulmns from SQL Server tables
with the same name.
I want to avoid the usage of "select * from <table name> where
<criteria>=<value that does not match any pre existing data>" to retrieve
coulmn name and fill the table.

i also tried using dataadapter.executeReader(keyinfo) but it is not
retrieveing columns names

can anybody please help me out.

Thanks and Regards,
Sanjeev K B
 
Back
Top