private void LoadData() { using (DataClassesDatabaseDataContext db = new DataClassesDatabaseDataContext()) { Laporan_Class Laporan_Class = new Laporan_Class(db, (PenggunaLogin)Session["PenggunaLogin"], DateTime.Now, DateTime.Now, false); Result = Laporan_Class.PersediaanStokProduk(DropDownListTempat.SelectedValue.ToInt(), DropDownListJenisStok.Text.ToInt(), TextBoxProduk.Text, DropDownListWarna.SelectedValue.ToInt(), DropDownListBrand.SelectedValue.ToInt(), DropDownListKategori.SelectedValue.ToInt(), TextBoxKodeProduk.Text, DropDownListVarian.SelectedValue.ToInt(), TextBoxHarga.Text, TextBoxCOGS.Text, TextBoxQuantity.Text, TextBoxTotalHarga.Text, TextBoxTotalCOGS.Text); RepeaterLaporan.DataSource = Result["Data"]; RepeaterLaporan.DataBind(); //PRINT LAPORAN ButtonPrint.OnClientClick = "return popitup('PersediaanPrint.aspx" + Laporan_Class.TempPencarian + "')"; } }