Click here to Skip to main content
15,900,108 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionIListSource Implementation Pin
Ovais Memon10-Aug-09 20:01
Ovais Memon10-Aug-09 20:01 
AnswerRe: IListSource Implementation Pin
Dave Kreskowiak11-Aug-09 3:50
mveDave Kreskowiak11-Aug-09 3:50 
GeneralRe: IListSource Implementation Pin
Ovais Memon11-Aug-09 5:01
Ovais Memon11-Aug-09 5:01 
GeneralRe: IListSource Implementation Pin
Henry Minute11-Aug-09 5:11
Henry Minute11-Aug-09 5:11 
GeneralRe: IListSource Implementation Pin
Dave Kreskowiak11-Aug-09 5:14
mveDave Kreskowiak11-Aug-09 5:14 
GeneralRe: IListSource Implementation Pin
Ovais Memon11-Aug-09 5:25
Ovais Memon11-Aug-09 5:25 
GeneralRe: IListSource Implementation Pin
Dave Kreskowiak11-Aug-09 6:48
mveDave Kreskowiak11-Aug-09 6:48 
AnswerRe: IListSource Implementation Pin
Mycroft Holmes11-Aug-09 16:21
professionalMycroft Holmes11-Aug-09 16:21 
I do exactly the same in my main form, 1 DGV and throw tables at it. I have a static method that formats names according to the capitilasition eg "ContactID" becomes "Contact ID" and I use this to populate the header text, it is part of a method that is used to bind all DGVs and gives me a consistent format throughout the app. It also means you need to take your conventions all the way back to the database design. As I own the DB I have no problem with this.

My problem is that if you bind to the List<class> using the public properties you lose the sort/filter capabilities unless you implement iBindingList (I think) on each of your classes which is a PITA. So Ah Ha I though, turn each class into a datatable, at which point I chucked the entire bind to class list out and just bind to the original datatable.


Never underestimate the power of human stupidity
RAH

QuestionMove,Resize and Drag and Drop a control Pin
Anubhava Dimri10-Aug-09 18:17
Anubhava Dimri10-Aug-09 18:17 
AnswerRe: Move,Resize and Drag and Drop a control Pin
Moreno Airoldi10-Aug-09 23:25
Moreno Airoldi10-Aug-09 23:25 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Anubhava Dimri11-Aug-09 0:25
Anubhava Dimri11-Aug-09 0:25 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Moreno Airoldi12-Aug-09 1:51
Moreno Airoldi12-Aug-09 1:51 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Anubhava Dimri13-Aug-09 23:52
Anubhava Dimri13-Aug-09 23:52 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Moreno Airoldi14-Aug-09 1:28
Moreno Airoldi14-Aug-09 1:28 
AnswerRe: Move,Resize and Drag and Drop a control Pin
Henry Minute11-Aug-09 5:06
Henry Minute11-Aug-09 5:06 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Luc Pattyn11-Aug-09 5:19
sitebuilderLuc Pattyn11-Aug-09 5:19 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Henry Minute11-Aug-09 5:30
Henry Minute11-Aug-09 5:30 
QuestionHow can I fit a child form to be inside a MdiParent Pin
waner michaud10-Aug-09 11:35
waner michaud10-Aug-09 11:35 
AnswerRe: How can I fit a child form to be inside a MdiParent Pin
Dave Kreskowiak10-Aug-09 18:25
mveDave Kreskowiak10-Aug-09 18:25 
GeneralRe: How can I fit a child form to be inside a MdiParent Pin
waner michaud11-Aug-09 3:11
waner michaud11-Aug-09 3:11 
GeneralRe: How can I fit a child form to be inside a MdiParent Pin
DaveyM6911-Aug-09 3:35
professionalDaveyM6911-Aug-09 3:35 
GeneralRe: How can I fit a child form to be inside a MdiParent Pin
Dave Kreskowiak11-Aug-09 3:49
mveDave Kreskowiak11-Aug-09 3:49 
AnswerRe: How can I fit a child form to be inside a MdiParent Pin
DaveyM6911-Aug-09 1:47
professionalDaveyM6911-Aug-09 1:47 
QuestionDeleting a Database Record when DeletedDate is XX Days Old Pin
mrtupperware10-Aug-09 4:52
mrtupperware10-Aug-09 4:52 
AnswerRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
Luc Pattyn10-Aug-09 5:20
sitebuilderLuc Pattyn10-Aug-09 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.