Click here to Skip to main content
15,898,929 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multithreading, Timers and flickering ListView Pin
Tomi8714-Aug-06 23:59
Tomi8714-Aug-06 23:59 
QuestionT namespace is not found Pin
Ista14-Aug-06 3:26
Ista14-Aug-06 3:26 
AnswerRe: T namespace is not found Pin
JoeSharp14-Aug-06 3:40
JoeSharp14-Aug-06 3:40 
GeneralRe: T namespace is not found Pin
Ista14-Aug-06 3:42
Ista14-Aug-06 3:42 
AnswerRe: T namespace is not found Pin
Josh Smith14-Aug-06 3:46
Josh Smith14-Aug-06 3:46 
GeneralRe: T namespace is not found Pin
Ista14-Aug-06 3:56
Ista14-Aug-06 3:56 
AnswerRe: T namespace is not found Pin
Colin Angus Mackay14-Aug-06 4:00
Colin Angus Mackay14-Aug-06 4:00 
Questiondataset computation Pin
Saamir14-Aug-06 2:57
Saamir14-Aug-06 2:57 
Hi guys,
I need some help please, I am a newbie with C# and I am stuck on something.

I am using dataset to get data from the database, here is some bits of my code

SqlDataAdapter adp= new SqlDataAdapter();
DataSet ds=new DataSet();
adp.Fill(ds,"tbACJE");

if(ds.Tables["tbACJE"].Rows.Count>1)
{
System.Data.DataRow rd= ds.Tables["tbACJE"].Rows[0];
Double fTemp= 0.0;
fTemp=double.Parse(ds.Tables["tbACJE"].Compute("SUM(rd[0] + rd[1])", "").ToString());

What I am trying to do is
1) if there are more than 1 rows get the sum of the first 2 columns and if it's zero than Message and if not zero than get the difference amount.

Please help???



sasa

QuestionLoaderLock was detected Pin
Johan Russouw14-Aug-06 2:53
Johan Russouw14-Aug-06 2:53 
AnswerRe: LoaderLock was detected Pin
Ista14-Aug-06 4:12
Ista14-Aug-06 4:12 
AnswerRe: LoaderLock was detected Pin
Mike_V14-Aug-06 4:35
Mike_V14-Aug-06 4:35 
Question.DLL VS .EXE in Dot Net Pin
Arun Hegde14-Aug-06 2:50
Arun Hegde14-Aug-06 2:50 
AnswerRe: .DLL VS .EXE in Dot Net Pin
Guffa14-Aug-06 3:00
Guffa14-Aug-06 3:00 
AnswerRe: .DLL VS .EXE in Dot Net Pin
Ista14-Aug-06 3:24
Ista14-Aug-06 3:24 
GeneralRe: .DLL VS .EXE in Dot Net Pin
Super Lloyd14-Aug-06 4:26
Super Lloyd14-Aug-06 4:26 
Questionxml search Pin
kkadir14-Aug-06 2:41
kkadir14-Aug-06 2:41 
AnswerRe: xml search Pin
MHASSANF14-Aug-06 2:44
MHASSANF14-Aug-06 2:44 
GeneralRe: xml search Pin
kkadir14-Aug-06 3:32
kkadir14-Aug-06 3:32 
GeneralRe: xml search [modified] Pin
MHASSANF15-Aug-06 4:12
MHASSANF15-Aug-06 4:12 
AnswerRe: xml search Pin
Ista14-Aug-06 4:17
Ista14-Aug-06 4:17 
GeneralRe: xml search Pin
Not Active14-Aug-06 5:51
mentorNot Active14-Aug-06 5:51 
Questionhow can i call other program in c# [modified] Pin
trannguyen8614-Aug-06 2:11
trannguyen8614-Aug-06 2:11 
AnswerRe: how can i call other program in c# [modified] Pin
Iquoba14-Aug-06 2:32
Iquoba14-Aug-06 2:32 
Question.Net Remoting problem [modified] Pin
alexthebowman14-Aug-06 2:02
alexthebowman14-Aug-06 2:02 
AnswerRe: .Net Remoting problem Pin
S. Senthil Kumar14-Aug-06 2:37
S. Senthil Kumar14-Aug-06 2:37 

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.