private void FillBunks() { _fmsg.VehicleId = Convert.ToInt16(ddlVehicleNumber.SelectedValue); var dsServiceNames = _fmsg.GetBunkNames(); txtServiceSrationName.Text = dsServiceNames.Tables[0].Rows.Count > 0 ? dsServiceNames.Tables[0].Rows[0]["ServiceStnName"].ToString() : ""; }