How to Convert a String into Float without using any built-
in library of .NET
String = "1235.45" needs to converted to a float
Answers were Sorted based on User's Feedback
Answer / j.d.babu
We can Directly Assign String To the Double Object
Dim Str As String = "1235.45"
Dim Ifloat As Double = Str
| Is This Answer Correct ? | 6 Yes | 7 No |
Answer / lince
string str = "555.67";
double a;
a=Convert.ToDouble (str);
| Is This Answer Correct ? | 1 Yes | 4 No |
How does the XmlSerializer work? What ACL permissions does a process using it require?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is connection pooling and how to enable and disable connection pooling?
What are the Types of object in asp
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
What is a master page and what does it do?
What is a ashx file?
How do I upload a file from my ASP.NET page?
You need to be able to retrieve data from DataSet object that has four DataTable objects. There are currently UniqueConstraint and ForeignKeyConstraint Object on the DataTable objects to enforce the data rules. You find that you can retrieve the data from the individual DataTable objects, but you are not able to retrieve the data from the combination of DataTable objects in a Parent/Child manner. What should you do to able to retrieve the data in a Parent/Child manner? a) Set the EnforceParentChild parameter of the DataSet to True. b) Set the EnforceRelation parameter of the Relations collection to True. c) Add DataRelation objects to the Relations Collection to make the DataSet present the data in Parent/Child manner. d) Add a primary key and a foreign key to each of the DataTable objects that should present the data in a Parent/Child manner.
Explain how do you validate the controls in an asp .net page?
what is pagination in asp.net ?
Types of objects in ASP ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)