I'm using the example below:
ArrayList arrayList = new ArrayList(countryArray.Keys);
IEnumerator listEnumerator = arrayList.GetEnumerator();
while (listEnumerator.MoveNext())
{
dr = dt.NewRow();
codeInt = getHBDestCode(listEnumerator.Current);
...
The getHBDestCode() function is:
private int getHBDestCode(string codeHB)
{
...
I´m getting this error:
CS1502: The best overloaded method match for 'ASP.destinations_aspx.getHBDestCode(string)' has some invalid arguments
What is wrong?
ArrayList arrayList = new ArrayList(countryArray.Keys);
IEnumerator listEnumerator = arrayList.GetEnumerator();
while (listEnumerator.MoveNext())
{
dr = dt.NewRow();
codeInt = getHBDestCode(listEnumerator.Current);
...
The getHBDestCode() function is:
private int getHBDestCode(string codeHB)
{
...
I´m getting this error:
CS1502: The best overloaded method match for 'ASP.destinations_aspx.getHBDestCode(string)' has some invalid arguments
What is wrong?