Skip to content

Could anyone explain.....

Delta Harper

Asked May 12, 2007, 1:37 AM EDT1 answer
Share
LinkedInX
What this bit of code means: dgdatabase.DataSource=tabdatabase; if (lstcurrency.Items.Count>=1 & lstrate.Items.Count>=1){ lstcurrency.SelectedIndex = lstrate.Items.Count - 1; lstrate.SelectedIndex = lstrate.Items.Count - 1; }} thank you. any help welcomed.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0

    only if both list controls have one or more items in them, then select the last item in both controls

    0