Hi,
You are not getting any connection error right? Then check below code
Try this,
SqlCommand cmd = new SqlCommand("Select u.Phone,u.Name,o.CabType from Customer u join Order o on u.ID=o.OrderID where ID=@ID", con);
cmd.CommandType = CommandType.Text;
cmd.Parameters.AddWithValue("@ID",lbid);
//code to fetch