暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Frm_stock_daily.vb 630B

12345678910111213141516171819202122232425
  1. Imports System.Data.SqlClient
  2. Imports System.Reflection
  3. Public Class Frm_stock_daily
  4. Dim cmd As New SqlCommand
  5. Dim da As New SqlDataAdapter
  6. Dim dt As New DataTable
  7. Dim sql As String
  8. Dim g_period As Date
  9. Dim g_accounted As Boolean
  10. Dim period As Integer
  11. Private Sub Frm_stock_daily_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  12. Dim conn As New SqlConnection
  13. Dim DT1 As New DataTable
  14. Dim DT2 As New DataTable
  15. Dim DT3 As New DataTable
  16. conn.ConnectionString = connstring
  17. conn.Open()
  18. cmd.Connection = conn
  19. End Sub
  20. End Class