Dim Get_Image_From_Product_Image As New SqlCommand("SELECT Business_Image FROM ImageDB.dbo.Administrator_Account Where Employee_Code = '" & CmbUserCode & "'", sqlcon) Dim Get_Image_FromProduct_Image = Get_Image_From_Product_Image.ExecuteScalar().ToString() PicturePath = Application.StartupPath & "\Product_Image" System.IO.File.Delete(PicturePath & "\" & Get_Image_FromProduct_Image)
Dim Get_Image_From_Product_Image As New SqlCommand("SELECT Business_Image FROM ImageDB.dbo.Administrator_Account Where Employee_Code = @Employee_Code", sqlcon) Get_Image_From_Product_Image.Parameters.AddWithValue("@Employee_Code", CmbUserCode.SelectedItem)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)