public ProductInfo ProductViewByProductIdforSalesInvoice(string strproductCode) { try { InfoProduct = SPSalesMaster.ProductViewByProductIdforSalesInvoice(strproductCode); } catch (Exception ex) { MessageBox.Show("CB:4" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(InfoProduct); }