void details() { try { Kustia_Trading_Agency_Management_BL kta_bl = new Kustia_Trading_Agency_Management_BL(); Kustia_Trading_Agency_Management_Entity information1 = new Kustia_Trading_Agency_Management_Entity(); Kustia_Trading_Agency_Management_Entity information2 = new Kustia_Trading_Agency_Management_Entity(); information1.driver_name = comboBox4.Text; information2 = kta_bl.details(information1); // amnt = float.Parse(n); // label5.Text = "Available : " + amnt; // label5.Text = n; textBox7.Text = information2.mobile_number; textBox6.Text = information2.address; } catch (Exception ex) { Console.WriteLine(ex); } }