Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generate Error While Build Dll Pin
Anubhava Dimri6-May-10 21:43
Anubhava Dimri6-May-10 21:43 
GeneralRe: Generate Error While Build Dll Pin
Vimalsoft(Pty) Ltd6-May-10 21:56
professionalVimalsoft(Pty) Ltd6-May-10 21:56 
GeneralRe: Generate Error While Build Dll Pin
Anubhava Dimri6-May-10 22:16
Anubhava Dimri6-May-10 22:16 
GeneralRe: Generate Error While Build Dll Pin
Vimalsoft(Pty) Ltd6-May-10 22:31
professionalVimalsoft(Pty) Ltd6-May-10 22:31 
QuestionDataSet to List<> Pin
Illegal Operation6-May-10 17:43
Illegal Operation6-May-10 17:43 
AnswerRe: DataSet to List Pin
Luc Pattyn6-May-10 17:51
sitebuilderLuc Pattyn6-May-10 17:51 
GeneralRe: DataSet to List Pin
Illegal Operation6-May-10 17:55
Illegal Operation6-May-10 17:55 
GeneralRe: DataSet to List Pin
Luc Pattyn6-May-10 18:06
sitebuilderLuc Pattyn6-May-10 18:06 
A ListBox can hold and show all kinds of items; by default, it calls ToString() on each of its items to visualize them.

There is an alternative by turning the ListBox into "OwnerDrawn" mode, which means you set out to provide all the code required to paint one item, see the DrawItem event.

If you were to bind a List<DataSet> to a ListBox, it would turn each DataSet into a single item in its collection; unless your DataSet has overridden its ToString() method, the net result would be something similar to the string "System.Data.DataSet" which I guess is not what you want. And painting a DataSet yourself would be a challenge.

So I think you are tackling this the wrong way. I'm not so sure what it is you really want to achieve.

PS: you can get proper < > & signs by using the little widgets above the editor box.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.


GeneralRe: DataSet to List Pin
Illegal Operation6-May-10 18:09
Illegal Operation6-May-10 18:09 
GeneralRe: DataSet to List Pin
Luc Pattyn6-May-10 18:15
sitebuilderLuc Pattyn6-May-10 18:15 
Questionappend(a,b,&result) Pin
Abdul-Rhman Alsri6-May-10 14:03
Abdul-Rhman Alsri6-May-10 14:03 
AnswerRe: append(a,b,&result) Pin
Dr.Walt Fair, PE6-May-10 14:40
professionalDr.Walt Fair, PE6-May-10 14:40 
AnswerRe: append(a,b,&result) Pin
Luc Pattyn6-May-10 14:47
sitebuilderLuc Pattyn6-May-10 14:47 
AnswerRe: append(a,b,&result) Pin
Anthony Mushrow6-May-10 14:56
professionalAnthony Mushrow6-May-10 14:56 
AnswerRe: append(a,b,&result) Pin
PIEBALDconsult6-May-10 15:02
mvePIEBALDconsult6-May-10 15:02 
GeneralRe: append(a,b,&result) Pin
Luc Pattyn6-May-10 15:24
sitebuilderLuc Pattyn6-May-10 15:24 
Questionkey_down event fired twice Pin
igalep1326-May-10 11:18
igalep1326-May-10 11:18 
AnswerRe: key_down event fired twice Pin
William Winner6-May-10 11:23
William Winner6-May-10 11:23 
GeneralRe: key_down event fired twice Pin
igalep1326-May-10 11:26
igalep1326-May-10 11:26 
GeneralRe: key_down event fired twice Pin
harold aptroot6-May-10 11:30
harold aptroot6-May-10 11:30 
GeneralRe: key_down event fired twice Pin
igalep1326-May-10 11:36
igalep1326-May-10 11:36 
AnswerRe: key_down event fired twice Pin
Luc Pattyn6-May-10 11:37
sitebuilderLuc Pattyn6-May-10 11:37 
GeneralRe: key_down event fired twice Pin
igalep1326-May-10 11:47
igalep1326-May-10 11:47 
GeneralRe: key_down event fired twice Pin
Luc Pattyn6-May-10 11:55
sitebuilderLuc Pattyn6-May-10 11:55 
GeneralRe: key_down event fired twice Pin
igalep1326-May-10 12:09
igalep1326-May-10 12:09 

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.