private string GetApiTID(string Otpref) { DataTable dt = new DataTable(); string custID = ""; try { dt = obj_wallet.getApitbleID(Otpref); if (dt.Rows.Count > 0) { custID = dt.Rows[0]["RTID"].ToString(); } } catch { } return(custID); }