Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
QuestionNEW operator Pin
AlexPizzano8-May-08 10:48
AlexPizzano8-May-08 10:48 
AnswerRe: NEW operator Pin
Colin Angus Mackay8-May-08 11:02
Colin Angus Mackay8-May-08 11:02 
QuestionHow to free up memory in C# applications? Pin
Noemi Katinka8-May-08 9:29
Noemi Katinka8-May-08 9:29 
AnswerRe: How to free up memory in C# applications? Pin
Gareth H8-May-08 9:43
Gareth H8-May-08 9:43 
AnswerRe: How to free up memory in C# applications? Pin
Christian Graus8-May-08 11:10
protectorChristian Graus8-May-08 11:10 
AnswerRe: How to free up memory in C# applications? Pin
tgrt8-May-08 11:14
tgrt8-May-08 11:14 
AnswerRe: How to free up memory in C# applications? Pin
stano8-May-08 11:54
stano8-May-08 11:54 
QuestionOleDB DataReader not working Pin
Cozmo238-May-08 9:22
Cozmo238-May-08 9:22 
I have a DataReader that was working until I changed some code around, now it just skips over the While(reader.Read()) loop for some reason.

OleDbConnection oleDbConnection = new OleDbConnection(str2);
string strCom = String.Concat("select Unit from Units where Unit=\'", strUnits, "\'");
OleDbCommand oleDbCommand = new OleDbCommand(strCom, oleDbConnection);
OleDbDataReader HpReader= null;
oleDbConnection.Open();


HpReader = oleDbCommand.ExecuteReader();

while (HpReader.Read())
{
if (strUnits == "Length")
{
comboHD.Items.Add(HpReader.GetString(0));
}
else if (strUnits == "Velocity")
comboFV.Items.Add(HpReader.GetString(0));
else if (strUnits == "Kinematic viscosity")
comboKV.Items.Add(HpReader.GetString(0));
}

HpReader.Close();

oleDbConnection.Close();
AnswerRe: OleDB DataReader not working Pin
Ennis Ray Lynch, Jr.8-May-08 9:26
Ennis Ray Lynch, Jr.8-May-08 9:26 
AnswerRe: OleDB DataReader not working Pin
deepu5559-May-08 12:09
deepu5559-May-08 12:09 
Questionurgent: tree diagram in C# .NET Pin
rasana8-May-08 9:16
rasana8-May-08 9:16 
AnswerRe: urgent: tree diagram in C# .NET Pin
Ennis Ray Lynch, Jr.8-May-08 9:19
Ennis Ray Lynch, Jr.8-May-08 9:19 
AnswerRe: urgent: tree diagram in C# .NET Pin
Gareth H8-May-08 9:38
Gareth H8-May-08 9:38 
AnswerRe: urgent: tree diagram in C# .NET Pin
Le centriste8-May-08 10:12
Le centriste8-May-08 10:12 
AnswerRe: urgent: tree diagram in C# .NET Pin
rasana15-May-08 5:19
rasana15-May-08 5:19 
QuestionWhat is the fastest way to update a UI from a thread? Pin
GuyThiebaut8-May-08 9:03
professionalGuyThiebaut8-May-08 9:03 
AnswerRe: What is the fastest way to update a UI from a thread? Pin
Ennis Ray Lynch, Jr.8-May-08 9:21
Ennis Ray Lynch, Jr.8-May-08 9:21 
GeneralRe: What is the fastest way to update a UI from a thread? Pin
GuyThiebaut8-May-08 9:30
professionalGuyThiebaut8-May-08 9:30 
GeneralRe: What is the fastest way to update a UI from a thread? Pin
Dave Kreskowiak8-May-08 9:43
mveDave Kreskowiak8-May-08 9:43 
GeneralRe: What is the fastest way to update a UI from a thread? Pin
GuyThiebaut8-May-08 9:58
professionalGuyThiebaut8-May-08 9:58 
AnswerRe: What is the fastest way to update a UI from a thread? PinPopular
Guffa8-May-08 10:38
Guffa8-May-08 10:38 
GeneralRe: What is the fastest way to update a UI from a thread? Pin
GuyThiebaut8-May-08 10:42
professionalGuyThiebaut8-May-08 10:42 
QuestionRunning a console app from a c# gui Pin
Vodstok8-May-08 8:29
Vodstok8-May-08 8:29 
AnswerRe: Running a console app from a c# gui Pin
leckey8-May-08 9:01
leckey8-May-08 9:01 
GeneralRe: Running a console app from a c# gui Pin
Vodstok8-May-08 9:05
Vodstok8-May-08 9:05 

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.