Advertisement

1 - 10 of 31 containing alltags:("tostr") (0 seconds)
tempFunded = myDataRow["Funded"].ToString(); Is returning: 2/11/2004 10:41:07 AM But I just want the date part: 2/11/2004 Don't remember how to handle this. Tom
Zones: C#Date Answered: 03/26/2004 Grade: A Views: 0
Can you call the ToString method of this class?   public class MyClass   {     public MyClass(MyClass myClass)     {     }   }
Zones: C#Date Answered: 04/22/2004 Grade: A Views: 0
I have a valid (its valid, it parses!) XML object (basically a representation of a HTML page), when I call toString() it creates invalid XML, i.e.   <link ahref="" rel=""/> becomes <link ahref=""...
Zones: ColdFusion Application Server, XHTMLDate Answered: 12/18/2004 Grade: A Views: 0
Hi folks: Why the following code snippet would throw an exception return DateTime.Parse( (string)reader[columnName] ); where the one below does not return DateTime.Parse( reader[colum...
Zones: C#Date Answered: 02/10/2005 Grade: A Views: 83
What is ToString? How do we use it? I'm just trying to understand it. If(languageList.SelectedItem is Nothing) = False Then       language = LanguageList.SelectedItem.ToString()       ISBN = books(lan...
Zones: ProgrammingDate Answered: 11/02/2005 Grade: A Views: 110
I am tyring to populate the user's full name and not getting back the actual value. 1. welcome.ascx 2. clsUser.cs welcome control - welcome.ascx.cs // get current user's identity WindowsIde...
Zones: ASP.Net ProgrammingDate Answered: 08/30/2006 Grade: A Views: 0
I have an Enum like this: Public Enum Language     en       spa   End Enum I set the value, then I get it like so;  Dim test1 As String = CStr(DAL.WebApp.Data.Common.DBTools.Lan)  Dim t...
Zones: ASP.Net Programming, MS Visual BasicDate Answered: 02/15/2007 Grade: A Views: 0
Hi, Shasha this won't work for me because i don't invoke constructors, here is a little snippet of what i have see how i invoke the getters ? i want to invoke the setters ,      private void i...
Zones: JavaDate Answered: 02/25/2001 Grade: A Views: 0
Dear Colleagues, I am trying to convert int to string using toString() method, but unsuccessfully. This is what I am doing: GregorianCalendar cal = new GregorianCalendar(); int intMonth =...
Zones: JavaDate Answered: 03/21/2001 Grade: A Views: 0
i have a question.. in Java, every class should have a toString method. what is method toString used for? Tom
Zones: JavaDate Answered: 12/16/2003 Grade: B Views: 0