TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rick
NA
5
0
delete item from combo when using a dataviewmanager
Jul 26 2005 11:00 AM
All,
Didn't give it much thought before I got this far but now I need to know how to do it.
Need to delete an item from a combobox. The combo is fill using a table view through DefaultViewManager. the below is the code used to fill the combo. When I try and use the removeAt method of the combobox it tell me I can't cause I'm using the datasource for binding.
Code:
dvm.DataViewSettings.Sort = "ERPActNum ASC"; //Sorts the ERP accounts before populating combo box.
this.cobERPAct.DataSource = dvm;
this.cobERPAct.DisplayMember = "tblERPAct.ERPActNum";
this.cobERPAct.ValueMember = "tblERPAct.ERPActDesc";
Thanks in advance,
RC
Reply
Answers (
0
)
RemotingException
Promrammatically access to the VB project is not trusted