private void button1_Click(object sender, EventArgs e) { Table_Mirpur s = ul.Table_Mirpurs.SingleOrDefault(x => x.Area == "2"); if (s != null) { textBoxBedrooms.Text = s.BedRooms; textBoxAddress.Text = s.Address; textBoxSize.Text = s.Size; textBoxRentAmount.Text = s.RentAmount; } pictureBox1.Show(); pictureBox2.Show(); }
partial void DeleteTable_Mirpur(Table_Mirpur instance);
partial void UpdateTable_Mirpur(Table_Mirpur instance);
partial void InsertTable_Mirpur(Table_Mirpur instance);