Created
February 18, 2020 15:19
-
-
Save hasokeric/39b01bf23639dd2a70c8e9018ef81417 to your computer and use it in GitHub Desktop.
MarkExample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object searchReslts = ProcessCaller.PerformSearch(oTrans.EpiBaseForm, "SysAgentAdapter", "Rows", string.Empty); | |
if (searchReslts is DataSet) { | |
DataSet searchDS = (DataSet) searchReslts; | |
if (searchDS.Tables[0].Rows.Count > 0) { | |
username = searchDS.Tables["SysAgent"].Rows[0]["SysUserID"].ToString(); | |
password = searchDS.Tables["SysAgent"].Rows[0]["SysPassWord"].ToString(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment