c# - "Items collection cannot be modified when the DataSource property is set." -


having issue program adds files through form txt file issue doesn't fstream i'm thinking doesn't have deal i'm not sure problem means.

lstemployees.items.add("no records found."); 

the error message tells have set "datasource property" on "lstemployees". go "lstemployees" properties , remove datasource - or if want keep datasource, don´t try add "your own" items "lstemployees", won´t accepted.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -