Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataView/DataSet/DataReader
Message
From
09/01/2007 15:41:40
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
09/01/2007 15:33:57
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01183234
Message ID:
01183957
Views:
25
>>>>Use [] instead of () in c#.
>>>
>>>Yes. But I must still use ...ToString() method as MyVar = MyObj.ToString()).
>>>Then I can do DateTime.Parse(MyVar)) or int.Parse(MyVar)) or double.Parse(MyVar)) or bool.Parse(MyVar) etc....
>>
>>Sam again
>>DateTime myVar = (DateTime)MyObj;
>>int myVar = (int)MyObj;
>>double myVar = (double)MyObj;
>>DataSet myVar = (DataSet)MyObj;
>>
>>Think u get the idea.
>
>Yes I think it finally hit me.
>
>See, I was expecting to get back like a cursor with various datatype. But no. As you have tried to tell me, I get an OBJECT back and it's up to me to do what I want/can cast it to.
>
>Thanks.
Your welcome Sam as I said many times the worst thing you can do when learning .net language is trying to compare to vfp or think in vfp worked this way so perhaps .net is the same, everything in .net are objects just like in java.
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform