示例#1
0
        private void Get_Product_Info()
        {
            try
            {               
                DB db2 = new DB("Products");

                db2.SelectedColumns.Add("*");

                db2.AddCondition("pro_id", Product_Id);

                DataRowView product = db2.SelectRowView();

                this.DataContext = product;
            }
            catch
            {


            }
        }