Click here to Skip to main content
15,907,183 members
Home / Discussions / C#
   

C#

 
QuestionHow to merge rows in datagrid Pin
vamsimohan213-Aug-07 4:26
vamsimohan213-Aug-07 4:26 
AnswerRe: How to merge rows in datagrid Pin
Blue_Boy3-Aug-07 5:26
Blue_Boy3-Aug-07 5:26 
Questionupdating a combobox entry Pin
cignox13-Aug-07 4:26
cignox13-Aug-07 4:26 
AnswerRe: updating a combobox entry Pin
pmarfleet3-Aug-07 5:04
pmarfleet3-Aug-07 5:04 
AnswerRe: updating a combobox entry Pin
Malcolm Smart3-Aug-07 5:16
Malcolm Smart3-Aug-07 5:16 
Questionshort[] to int[] -- Generic? Overload? Pin
PhilDanger3-Aug-07 4:22
PhilDanger3-Aug-07 4:22 
AnswerRe: short[] to int[] -- Generic? Overload? Pin
Pete O'Hanlon3-Aug-07 4:31
mvePete O'Hanlon3-Aug-07 4:31 
GeneralRe: short[] to int[] -- Generic? Overload? Pin
PhilDanger3-Aug-07 4:46
PhilDanger3-Aug-07 4:46 
Hi Pete,

I'm sure this idea would work (with a bit of effort), but I don't know if it will work for me.

Correct me if I'm wrong, but I'd still have to cast it to the appropriate type (short[] or int[]) and then carry around whichever version is the correct one along with flags signifying which to use (or copy it over to another short[] if it is an int[], which brings me to the 2nd problem presented in the original post). Adding an additional type - long, for instance, would require even more logic to be added all over the function to use the correct version. Furthermore, I'd like it to throw a compile time error and not a run-time exception.
GeneralRe: short[] to int[] -- Generic? Overload? Pin
Pete O'Hanlon3-Aug-07 5:07
mvePete O'Hanlon3-Aug-07 5:07 
AnswerRe: short[] to int[] -- Generic? Overload? Pin
Luc Pattyn3-Aug-07 5:50
sitebuilderLuc Pattyn3-Aug-07 5:50 
GeneralRe: short[] to int[] -- Generic? Overload? Pin
PhilDanger3-Aug-07 6:25
PhilDanger3-Aug-07 6:25 
QuestionProblems with StreamWriter Class Pin
mouthbag3-Aug-07 4:15
mouthbag3-Aug-07 4:15 
AnswerRe: Problems with StreamWriter Class Pin
snorkie3-Aug-07 4:48
professionalsnorkie3-Aug-07 4:48 
AnswerRe: Problems with StreamWriter Class Pin
martin_hughes3-Aug-07 4:49
martin_hughes3-Aug-07 4:49 
GeneralRe: Problems with StreamWriter Class Pin
mouthbag3-Aug-07 4:55
mouthbag3-Aug-07 4:55 
AnswerRe: Problems with StreamWriter Class Pin
Guffa3-Aug-07 5:40
Guffa3-Aug-07 5:40 
GeneralRe: Problems with StreamWriter Class Pin
Luc Pattyn3-Aug-07 5:52
sitebuilderLuc Pattyn3-Aug-07 5:52 
QuestionHow can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome3-Aug-07 4:07
flyingnome3-Aug-07 4:07 
AnswerRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes3-Aug-07 5:17
martin_hughes3-Aug-07 5:17 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome3-Aug-07 5:36
flyingnome3-Aug-07 5:36 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes3-Aug-07 5:49
martin_hughes3-Aug-07 5:49 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome3-Aug-07 6:11
flyingnome3-Aug-07 6:11 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes3-Aug-07 7:07
martin_hughes3-Aug-07 7:07 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
flyingnome7-Aug-07 7:53
flyingnome7-Aug-07 7:53 
GeneralRe: How can I use a parsed UDP byte stream to continually update a GUI form ? Pin
martin_hughes7-Aug-07 12:30
martin_hughes7-Aug-07 12:30 

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.