1
我使用此代碼來獲取無機(計數)的...如何設置彙總SQL查詢的結果作爲拉布勒標題
Dim strCntSr As String = "SELECT count(sr_no) FROM Vendor_Machine WHERE chaln_no='" & cmbChal_no.Text & "'"
comm_getCnt = New OleDb.OleDbCommand(strCntSr, cnnOLEDB)
comm_getCnt.ExecuteNonQuery()
***Here I want to set result of the above query [count(sr_no)] as text of lblMachine***
lblMachine.Text =
請建議我的代碼..謝謝..
謝謝..很多..我會記住查詢參數.. – Harabati