comm.Connection = conn comm.CommandText = "Select * from ReceievedStock where month(DateReceived) = '" & dd1 & "' and Year(DateReceived) = '" & dd2 & "'" da.SelectCommand = comm da.Fill(das, "ReceievedStock") 'da.Dispose() comm1.Connection = conn comm1.CommandText = "Select * from IssuedStock where month(DateIssued) = '" & dd1 & "' and Year(DateIssued) = '" & dd2 & "'" da.SelectCommand = comm1 da.Fill(das, "IssuedStock")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)