「データベースの合計」を取得する方法についてvb.netの例を検索しましたが、これを取得しましたが、これをテキストボックス1とテキストボックス2にどのように表示しますか?
しかし、これをテキストボックスに挿入する方法がわかりません。
Try
conn = New OleDbConnection(Get_Constring)
conn.Open()
cmd.Connection = conn
cmd.CommandType = CommandType.Text
sSQL=" Select userName,sum(quiz) as SumQuiz,sum(total) as Total From xxx where [username]='ad' And studentID='1111111'"
cmd.CommandText = sSQL
da.SelectCommand = cmd