Click here to Skip to main content
15,908,843 members
Home / Discussions / C#
   

C#

 
GeneralRe: TCPListener/TCPClient -> Loops and a lot of CPU Usage! Pin
Luc Pattyn9-Jun-09 2:56
sitebuilderLuc Pattyn9-Jun-09 2:56 
GeneralRe: TCPListener/TCPClient -> Loops and a lot of CPU Usage! Pin
softwarejaeger9-Jun-09 4:08
softwarejaeger9-Jun-09 4:08 
GeneralRe: TCPListener/TCPClient -> Loops and a lot of CPU Usage! Pin
softwarejaeger9-Jun-09 4:57
softwarejaeger9-Jun-09 4:57 
GeneralRe: TCPListener/TCPClient -> Loops and a lot of CPU Usage! Pin
harold aptroot7-Jun-09 2:12
harold aptroot7-Jun-09 2:12 
QuestionHow to set focus to specified cell of Datagridview Pin
KIDYA6-Jun-09 21:16
KIDYA6-Jun-09 21:16 
AnswerRe: How to set focus to specified cell of Datagridview Pin
I Believe In GOD6-Jun-09 21:34
I Believe In GOD6-Jun-09 21:34 
GeneralRe: How to set focus to specified cell of Datagridview Pin
KIDYA6-Jun-09 21:42
KIDYA6-Jun-09 21:42 
QuestionSending sql Query string as parameter in User defined function Pin
mmdullah6-Jun-09 19:37
mmdullah6-Jun-09 19:37 
Hi all,

I want to write a sql generic function that will return numeric value.
I want to pass the whole sql query.
but it results error when executing

my user user defined function:

Create FUNCTION GetDoubleAmount(@strSQL varchar(500))
RETURNS decimal(18,6)
AS
BEGIN
return (select @strSQL)
END

calling with:
select dbo.GetDoubleAmount(
'SELECT SUM(CRAMT) As TotAmt From tblTLHistory'
)
results:

Msg 8115, Level 16, State 6, Line 1
Arithmetic overflow error converting varchar to data type numeric.

please help in asap
AnswerRe: Sending sql Query string as parameter in User defined function Pin
Mycroft Holmes6-Jun-09 21:27
professionalMycroft Holmes6-Jun-09 21:27 
AnswerRe: Sending sql Query string as parameter in User defined function Pin
I Believe In GOD6-Jun-09 21:58
I Believe In GOD6-Jun-09 21:58 
QuestionHow to lunch a console application from a form application Pin
nhack6-Jun-09 11:36
nhack6-Jun-09 11:36 
AnswerRe: How to lunch a console application from a form application Pin
I Believe In GOD6-Jun-09 12:20
I Believe In GOD6-Jun-09 12:20 
AnswerRe: How to launch a console application from a form application Pin
Alan N6-Jun-09 12:48
Alan N6-Jun-09 12:48 
GeneralRe: How to launch a console application from a form application Pin
nhack6-Jun-09 21:24
nhack6-Jun-09 21:24 
GeneralRe: How to launch a console application from a form application Pin
Alan N7-Jun-09 0:42
Alan N7-Jun-09 0:42 
GeneralRe: How to launch a console application from a form application Pin
nhack7-Jun-09 1:22
nhack7-Jun-09 1:22 
Questionany advantage by using get/set in c#? Pin
Seraph_summer6-Jun-09 10:43
Seraph_summer6-Jun-09 10:43 
AnswerRe: any advantage by using get/set in c#? Pin
0x3c06-Jun-09 10:53
0x3c06-Jun-09 10:53 
AnswerRe: any advantage by using get/set in c#? Pin
I Believe In GOD6-Jun-09 11:17
I Believe In GOD6-Jun-09 11:17 
AnswerRe: any advantage by using get/set in c#? Pin
Troy Russell6-Jun-09 11:18
Troy Russell6-Jun-09 11:18 
AnswerRe: any advantage by using get/set in c#? Pin
FocusedWolf6-Jun-09 11:32
FocusedWolf6-Jun-09 11:32 
AnswerRe: any advantage by using get/set in c#? Pin
Troy Russell6-Jun-09 12:10
Troy Russell6-Jun-09 12:10 
AnswerRe: any advantage by using get/set in c#? Pin
Christian Graus6-Jun-09 12:51
protectorChristian Graus6-Jun-09 12:51 
AnswerRe: any advantage by using get/set in c#? Pin
Henry Minute7-Jun-09 0:48
Henry Minute7-Jun-09 0:48 
Questionhttp://www.sourceforge.net/ Pin
I Believe In GOD6-Jun-09 10:29
I Believe In GOD6-Jun-09 10:29 

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.