Click here to Skip to main content
15,890,336 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to retrive images from sql database which is already strored, and show in image componet, using asp.net with c# Pin
Satish_S25-Oct-07 1:11
Satish_S25-Oct-07 1:11 
GeneralRe: how to retrive images from sql database which is already strored, and show in image componet, using asp.net with c# Pin
John-ph25-Oct-07 2:01
John-ph25-Oct-07 2:01 
GeneralRe: how to retrive images from sql database which is already strored, and show in image componet, using asp.net with c# Pin
Satish_S25-Oct-07 2:11
Satish_S25-Oct-07 2:11 
GeneralRe: how to retrive images from sql database which is already strored, and show in image componet, using asp.net with c# Pin
John-ph25-Oct-07 4:57
John-ph25-Oct-07 4:57 
AnswerRe: how to retrive images from sql database which is already strored, and show in image componet, using asp.net with c# Pin
Abhijit Jana23-Oct-07 22:29
professionalAbhijit Jana23-Oct-07 22:29 
QuestionHow to attach a file in with Mail in Mailing System in asp.net2.0 Pin
mrgaddam23-Oct-07 20:17
mrgaddam23-Oct-07 20:17 
AnswerRe: How to attach a file in with Mail in Mailing System in asp.net2.0 Pin
N a v a n e e t h23-Oct-07 20:26
N a v a n e e t h23-Oct-07 20:26 
QuestionIdentifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 20:16
VinothRao23-Oct-07 20:16 
Hi,


i have the below code in my page.

protected string ConvertPercent(object number)
{
if (number == DBNull.Value)
return "-";
else
if (number == float.Negative)
return "0";
else
return "1";
};

i want the "0" to be return incase NUMBER having negative (exp: -1.236)
i want the "1" to be return incase NUMBER having positive (exp: 1.236)

Please help me......i dont know the syntax for this....thxxx
AnswerRe: Identifying the value is negative or positive in float number Pin
Imran Khan Pathan23-Oct-07 20:29
Imran Khan Pathan23-Oct-07 20:29 
GeneralRe: Identifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 20:34
VinothRao23-Oct-07 20:34 
GeneralRe: Identifying the value is negative or positive in float number Pin
Malcolm Smart23-Oct-07 21:00
Malcolm Smart23-Oct-07 21:00 
AnswerRe: Identifying the value is negative or positive in float number Pin
N a v a n e e t h23-Oct-07 20:42
N a v a n e e t h23-Oct-07 20:42 
GeneralRe: Identifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 20:59
VinothRao23-Oct-07 20:59 
GeneralRe: Identifying the value is negative or positive in float number Pin
Malcolm Smart23-Oct-07 21:07
Malcolm Smart23-Oct-07 21:07 
GeneralRe: Identifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 21:11
VinothRao23-Oct-07 21:11 
GeneralRe: Identifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 21:12
VinothRao23-Oct-07 21:12 
GeneralRe: Identifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 21:14
VinothRao23-Oct-07 21:14 
GeneralRe: Identifying the value is negative or positive in float number Pin
N a v a n e e t h23-Oct-07 21:15
N a v a n e e t h23-Oct-07 21:15 
GeneralRe: Identifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 21:20
VinothRao23-Oct-07 21:20 
GeneralRe: Identifying the value is negative or positive in float number Pin
VinothRao23-Oct-07 21:37
VinothRao23-Oct-07 21:37 
GeneralRe: Identifying the value is negative or positive in float number Pin
Malcolm Smart23-Oct-07 21:38
Malcolm Smart23-Oct-07 21:38 
QuestionProblem while Login Pin
pavya_Cool23-Oct-07 19:44
pavya_Cool23-Oct-07 19:44 
AnswerRe: Problem while Login Pin
Sandeep Akhare23-Oct-07 19:58
Sandeep Akhare23-Oct-07 19:58 
AnswerRe: Problem while Login Pin
Deepak Nigam23-Oct-07 20:28
Deepak Nigam23-Oct-07 20:28 
GeneralRe: Problem while Login Pin
pavya_Cool23-Oct-07 20:31
pavya_Cool23-Oct-07 20:31 

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.