John Baird
Coatesville, Pennsylvania, United States
General information
Category:
The Mere Mortals .NET Framework
DOH! I did it again. I didn't even see the MM category tag. I don't know anything about it and don't plan to use it. The framework costs as much as the developemnt suite.
>John,
>
>Yes, the data in the DataRow columns are always of object type. If you were using a Typed DataSet (and not knowing the MM Framework, I don't know if it supports this or not), then it would be strongly typed and you wouldn't have to worry so much about casting (or using .ToString()).
>
>~~Bonnie
>
>
>>This is where I'm still having trouble undestanding what's going on. The dr["c"] type is an object when you look at it in the debugger, even though it contains a string type. I had to cast it to a string to get it to work for me.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only