public Vendor_Products_shipments Insert_Vendor_Products_shipments_select(int ID) { Vendor_Products_shipments = Vendor_Products_shipments.Select(ID); Insert_ShipmentID_txt.Text = Convert.ToString(Vendor_Products_shipments.ShipmentID); Insert_VendorID_txt.Text = Convert.ToString(Vendor_Products_shipments.VendorID); Insert_ProductID_txt.Text = Convert.ToString(Vendor_Products_shipments.ProductID); Insert_Expect_Delivery_Date_txt.Text = Convert.ToString(Vendor_Products_shipments.Expect_Delivery_Date); Insert_orderdate_txt.Text = Convert.ToString(Vendor_Products_shipments.orderdate); Insert_quantity_txt.Text = Convert.ToString(Vendor_Products_shipments.quantity); Insert_OtherInfo_txt.Text = Convert.ToString(Vendor_Products_shipments.OtherInfo); Insert_DateReceived_txt.Text = Convert.ToString(Vendor_Products_shipments.DateReceived); Insert_AmountReceived_txt.Text = Convert.ToString(Vendor_Products_shipments.AmountReceived); return(Vendor_Products_shipments); }