Description
Retrieves the keys and names of all the branches.
Syntax
Example
| Getting all branches (C#) | Copy Code |
|---|
public void getlist() { try { BranchesParams getlistParams; getlistParams = oBranchSrv.GetBranchList(); String resultSet = ""; foreach (BranchParams record in getlistParams) { resultSet = resultSet + record.Code + "\t" + record.Name + "\n"; } Interaction.MsgBox(resultSet, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); } }
|
|
See Also