Click here to Skip to main content
15,905,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threads and random() Pin
SeMartens13-Jan-09 0:06
SeMartens13-Jan-09 0:06 
GeneralRe: Threads and random() Pin
gudrunkr13-Jan-09 0:13
gudrunkr13-Jan-09 0:13 
GeneralRe: Threads and random() Pin
SeMartens13-Jan-09 0:15
SeMartens13-Jan-09 0:15 
GeneralRe: Threads and random() Pin
S. Senthil Kumar13-Jan-09 1:04
S. Senthil Kumar13-Jan-09 1:04 
QuestionQuestion on SqlDataReader[string name] Pin
Dewald12-Jan-09 23:08
Dewald12-Jan-09 23:08 
AnswerRe: Question on SqlDataReader[string name] Pin
SeMartens12-Jan-09 23:14
SeMartens12-Jan-09 23:14 
AnswerRe: Question on SqlDataReader[string name] Pin
Wendelius12-Jan-09 23:35
mentorWendelius12-Jan-09 23:35 
GeneralRe: Question on SqlDataReader[string name] Pin
Dewald12-Jan-09 23:55
Dewald12-Jan-09 23:55 
Mika Wendelius wrote:
AFAIK, that wouldn't be possible. Since the Item is an indexer to the column list, there cannot be multiple instances with exactly the same name (which one would the indexer return or how would you refer to the other one, price or price ).


OK thanks, at least I can stop trying to make it work now. Guess I'll just have to rewrite the SQL to give the columns explicit names.

However...

Mika Wendelius wrote:
One idea could be that you include your logic (Stock.Price != Transactions.Price) to the sql statement itself using CASE and perhaps event use the condition in where logic (depending what you want).


Of course! Excellent suggestion. In this instance it is actually exactly what I need and should have done from the start. For future problems where this wouldn't suffice I will just rewrite the SQL though.

Thanks for the help.
GeneralRe: Question on SqlDataReader[string name] Pin
Wendelius13-Jan-09 0:02
mentorWendelius13-Jan-09 0:02 
Questionsaving image in image folder using c# Pin
sandhya1412-Jan-09 23:00
sandhya1412-Jan-09 23:00 
AnswerRe: saving image in image folder using c# Pin
musefan12-Jan-09 23:06
musefan12-Jan-09 23:06 
GeneralRe: saving image in image folder using c# Pin
sandhya1414-Jan-09 18:11
sandhya1414-Jan-09 18:11 
GeneralRe: saving image in image folder using c# Pin
musefan14-Jan-09 22:13
musefan14-Jan-09 22:13 
GeneralRe: saving image in image folder using c# Pin
sandhya1415-Jan-09 0:34
sandhya1415-Jan-09 0:34 
GeneralRe: saving image in image folder using c# Pin
musefan15-Jan-09 0:44
musefan15-Jan-09 0:44 
GeneralRe: saving image in image folder using c# Pin
sandhya1415-Jan-09 17:36
sandhya1415-Jan-09 17:36 
QuestionCatching Line-out signal in C# Pin
Maquis.12-Jan-09 22:08
Maquis.12-Jan-09 22:08 
QuestionInstaller components in C# Pin
adi.rusu12-Jan-09 21:59
adi.rusu12-Jan-09 21:59 
AnswerRe: Installer components in C# Pin
rohan_puranik12-Jan-09 23:25
rohan_puranik12-Jan-09 23:25 
GeneralRe: Installer components in C# Pin
adi.rusu13-Jan-09 0:29
adi.rusu13-Jan-09 0:29 
QuestionHow to rotate a form in c#, or maybe just the controlls? Pin
maclinux12-Jan-09 21:09
maclinux12-Jan-09 21:09 
AnswerRe: How to rotate a form in c#, or maybe just the controlls? Pin
benjymous12-Jan-09 21:35
benjymous12-Jan-09 21:35 
AnswerRe: How to rotate a form in c#, or maybe just the controlls? Pin
musefan12-Jan-09 21:58
musefan12-Jan-09 21:58 
QuestionLog Into Website using WebRequest Pin
AksharRoop12-Jan-09 21:07
AksharRoop12-Jan-09 21:07 
AnswerRe: Log Into Website using WebRequest Pin
Ben Fair13-Jan-09 6:52
Ben Fair13-Jan-09 6:52 

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.