Click here to Skip to main content
15,879,348 members
Home / Discussions / C#
   

C#

 
QuestionItemCommand(Repeater) not getting fired with modalpopup. Pin
Kundan Saw28-Dec-13 4:08
Kundan Saw28-Dec-13 4:08 
AnswerRe: ItemCommand(Repeater) not getting fired with modalpopup. Pin
Eddy Vluggen29-Dec-13 2:01
professionalEddy Vluggen29-Dec-13 2:01 
GeneralRe: ItemCommand(Repeater) not getting fired with modalpopup. Pin
Kundan Saw29-Dec-13 6:26
Kundan Saw29-Dec-13 6:26 
QuestionThe problem of axShockwaveFlash controls Pin
toodfu28-Dec-13 2:09
toodfu28-Dec-13 2:09 
AnswerRe: The problem of axShockwaveFlash controls Pin
Eddy Vluggen29-Dec-13 2:04
professionalEddy Vluggen29-Dec-13 2:04 
GeneralRe: The problem of axShockwaveFlash controls Pin
toodfu29-Dec-13 15:27
toodfu29-Dec-13 15:27 
GeneralRe: The problem of axShockwaveFlash controls Pin
Eddy Vluggen30-Dec-13 2:42
professionalEddy Vluggen30-Dec-13 2:42 
QuestionCannot Convert Table<T> to Table<object> Pin
talg1828-Dec-13 0:35
talg1828-Dec-13 0:35 
I created a generic type called: Table<T>, and I create an instance of him using T as 'OrderItem' element.

Now I need to set him into other instance that should suppot multiple types, so I decided to use object:
C#
private Table<object> currentTable;


Now I'm trying to set the OrderItem table, to the Object table:
C#
currentTable = mainWindow.OrderItemTable;


And I'm getting this error:

"Cannot implicitly convert type 'BusinessLogic.Table<Entities.OrderItem>' to 'BusinessLogic.Table<object>'".

OrderItem isnt implement IConvertible, so I can't use ConvertType, also casting isn't working.

Any suggestions?

Thanks.
AnswerRe: Cannot Convert Table<T> to Table<object> Pin
OriginalGriff28-Dec-13 2:19
mveOriginalGriff28-Dec-13 2:19 
GeneralRe: Cannot Convert Table<T> to Table<object> Pin
talg1828-Dec-13 2:35
talg1828-Dec-13 2:35 
GeneralRe: Cannot Convert Table<T> to Table<object> Pin
OriginalGriff28-Dec-13 3:20
mveOriginalGriff28-Dec-13 3:20 
QuestionHow configure a virtual printer port to redirect it to a external program Pin
delphix527-Dec-13 22:47
delphix527-Dec-13 22:47 
AnswerRe: How configure a virtual printer port to redirect it to a external program Pin
Richard MacCutchan28-Dec-13 0:37
mveRichard MacCutchan28-Dec-13 0:37 
GeneralRe: How configure a virtual printer port to redirect it to a external program Pin
delphix528-Dec-13 1:15
delphix528-Dec-13 1:15 
GeneralRe: How configure a virtual printer port to redirect it to a external program Pin
Richard MacCutchan28-Dec-13 1:37
mveRichard MacCutchan28-Dec-13 1:37 
GeneralRe: How configure a virtual printer port to redirect it to a external program Pin
delphix528-Dec-13 1:44
delphix528-Dec-13 1:44 
GeneralRe: How configure a virtual printer port to redirect it to a external program Pin
Richard MacCutchan28-Dec-13 2:20
mveRichard MacCutchan28-Dec-13 2:20 
Questiondisplay image on crytal report Pin
Member 990020327-Dec-13 18:10
Member 990020327-Dec-13 18:10 
AnswerRe: display image on crytal report Pin
Eddy Vluggen29-Dec-13 2:08
professionalEddy Vluggen29-Dec-13 2:08 
QuestionHow I can add local printer programmactly Pin
delphix527-Dec-13 9:30
delphix527-Dec-13 9:30 
AnswerRe: How I can add local printer programmactly Pin
Richard MacCutchan27-Dec-13 22:05
mveRichard MacCutchan27-Dec-13 22:05 
AnswerRe: How I can add local printer programmactly Pin
Dave Kreskowiak28-Dec-13 6:36
mveDave Kreskowiak28-Dec-13 6:36 
QuestionHow add printer from c# Pin
delphix527-Dec-13 8:13
delphix527-Dec-13 8:13 
GeneralRe: How add printer from c# Pin
Ron Beyer27-Dec-13 8:28
professionalRon Beyer27-Dec-13 8:28 
GeneralRe: How add printer from c# Pin
delphix527-Dec-13 8:35
delphix527-Dec-13 8:35 

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.