Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 690

Creating a datatable using data from database

$
0
0
Hi, how can I create a datatable from a table in my database.

I want to be able to use the datatable to perform calculations such as averaging a number of grades of different students.

Im currently using this which is inside a dataset sub, is there any way to just use the "completed_module" table without the use of a dataset?

Dim avgTable As DataTable
avgTable = dataSet.Tables("completed_module")

Viewing all articles
Browse latest Browse all 690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>