Click here to Skip to main content
16,009,391 members
Home / Discussions / C#
   

C#

 
GeneralRe: Password Permission Pin
Dave Kreskowiak7-Jun-07 8:21
mveDave Kreskowiak7-Jun-07 8:21 
AnswerRe: Password Permission Pin
Rick van Woudenberg7-Jun-07 5:02
Rick van Woudenberg7-Jun-07 5:02 
AnswerRe: Password Permission Pin
Dan Neely7-Jun-07 7:29
Dan Neely7-Jun-07 7:29 
QuestionDouble seperator disappears upon insert in DB Pin
Rick van Woudenberg7-Jun-07 3:37
Rick van Woudenberg7-Jun-07 3:37 
AnswerRe: Double seperator disappears upon insert in DB Pin
Ian Shlasko7-Jun-07 4:38
Ian Shlasko7-Jun-07 4:38 
GeneralRe: Double seperator disappears upon insert in DB Pin
Rick van Woudenberg7-Jun-07 5:26
Rick van Woudenberg7-Jun-07 5:26 
GeneralRe: Double seperator disappears upon insert in DB Pin
Ian Shlasko7-Jun-07 12:01
Ian Shlasko7-Jun-07 12:01 
GeneralRe: Double seperator disappears upon insert in DB Pin
Rick van Woudenberg8-Jun-07 13:07
Rick van Woudenberg8-Jun-07 13:07 
Ian,

Thank you for your reply. it works. I implemented your solution and it all runs smooth now. Thanks a lot !!

However, your comment about Convert.ToDouble not being a string parser pursueded me to go down a different path. I tricked the database by presenting it with a string value for insertion into a double column. I was expecting a Cast Exception, but it went in happily, as long as the string value is in the double form, eg. 88,543. Any other form will be rejected. I'm just wondering if this a bug in Postgres or that the database is unable to distinguish a string value ( written as double ) from a true double value.

After I grabbed the string value back from the database, I converted it into a double :

Double aa;<br />
aa = (Double)cmd1.ExecuteScalar();


And the value was in the correct format ( 88,543 ).
However, I prefer your solution, and I'm using it.
Question[Message Deleted] Pin
Ankit Aneja7-Jun-07 3:07
Ankit Aneja7-Jun-07 3:07 
AnswerRe: Filename.indexof Pin
Sathesh Sakthivel7-Jun-07 3:12
Sathesh Sakthivel7-Jun-07 3:12 
AnswerRe: Filename.indexof Pin
Anthony Surendran7-Jun-07 3:20
Anthony Surendran7-Jun-07 3:20 
QuestionCheck Box inside a datagrid in VS2003 Pin
Anthony Surendran7-Jun-07 2:38
Anthony Surendran7-Jun-07 2:38 
AnswerRe: Check Box inside a datagrid in VS2003 Pin
SimulationofSai7-Jun-07 3:26
SimulationofSai7-Jun-07 3:26 
Question.NET C# server and VC++ client Pin
Kabirdas Jaunjare7-Jun-07 2:31
Kabirdas Jaunjare7-Jun-07 2:31 
QuestionHelp with config file error Pin
ttohme7-Jun-07 2:27
ttohme7-Jun-07 2:27 
AnswerRe: Help with config file error Pin
Sathesh Sakthivel7-Jun-07 2:33
Sathesh Sakthivel7-Jun-07 2:33 
GeneralRe: Help with config file error Pin
ttohme7-Jun-07 2:58
ttohme7-Jun-07 2:58 
GeneralRe: Help with config file error Pin
Sathesh Sakthivel7-Jun-07 3:02
Sathesh Sakthivel7-Jun-07 3:02 
GeneralRe: Help with config file error Pin
ttohme7-Jun-07 3:04
ttohme7-Jun-07 3:04 
Questionreport Pin
SVb.net7-Jun-07 2:10
SVb.net7-Jun-07 2:10 
QuestionProblem in retreiving Methods of current class using Reflection Pin
Divya Kasavar7-Jun-07 1:34
Divya Kasavar7-Jun-07 1:34 
AnswerRe: Problem in retreiving Methods of current class using Reflection Pin
Christian Graus7-Jun-07 1:50
protectorChristian Graus7-Jun-07 1:50 
AnswerRe: Problem in retreiving Methods of current class using Reflection Pin
leppie7-Jun-07 2:27
leppie7-Jun-07 2:27 
GeneralRe: Problem in retreiving Methods of current class using Reflection Pin
Brady Kelly7-Jun-07 3:19
Brady Kelly7-Jun-07 3:19 
AnswerRe: Problem in retreiving Methods of current class using Reflection Pin
szukuro7-Jun-07 4:20
szukuro7-Jun-07 4:20 

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.