inserting float value in sql from c#
C#
2
Posts
2
Posters
0
Views
1
Watching
-
how to insert float value from string into sql from C# .net in float column in database. It should accept only the given decimal point.
Ashok
-
how to insert float value from string into sql from C# .net in float column in database. It should accept only the given decimal point.
Ashok
Hello Ashok, If I get it correctly, you wish to retrieve a value from a string variable containing a floating value. If thats the case, you can try this. String str = "123.32"; float f = float.Parse(str); I hope this helps. Regards, Allen
Allen Smith ComponentOne LLC www.componentone.com