Hello! Can someone help me? I have to add item "Final Grade" to my cboQuarter. The thing is, my cboQuarter already has a datasource and I can't add the item "Final Grade" during drop-down. The error says, "cannot modify or insert (can't remember word by word) when it already has a datasource." Thank you very much and God Bless. :)

Recommended Answers

All 4 Replies

There is a event of that, databound use that to add new items with existing items, code of this event will work when your data will be bound using datasourc.

just wright here

cboQuarter.items.add("XYZ")

binding data on combo box manualy then add items as u want.

Thank you very much and God Bless you. :)

You're WElcome paulablanca, Dont Forget to mark this thread solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.