hi i want to get values from multiples tables in sql.
i want to those values put in datatable.
how can i put values from multiple table in datatable then return the datatable in Asp.net using c#
how its possible....thanks in advance....

Recommended Answers

All 2 Replies

you would set up your DB connection and either run 3 SQL statements, or if the tables are related, 1 SQL statement and join the tables. Place the results in variables and then run an Insert INTO statment to upload the data into the additional table.

It would be very, very challanging to provide you with the exact code since we have no information about your DB or tables.

What part do you need help on?

ok thanks alot i got it...

Be a part of the DaniWeb community

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