Hi Everyone,
It was recommended I post this in the ASP forum instead of the Visual Basic forum.![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
Perhaps the solution to this is more simple than I am making it out to be. I am trying to get the contents of a field within a DataList to assign to a variable, and thought I could use e.Item.FindControl(). After several attempts and variations on the code I still get a Null return from fields I know to be populated.
Can I get the text contained from a field for a particular Item using this method, or do I need to use an SQLReader to obtain the information?
I am using Visual Basic Code Behind on ASP.NET pages (using Visual Studio 2005)
Thanks,
Mike
"It Seems All My Problems Exist Between Keyboard and Chair"
It was recommended I post this in the ASP forum instead of the Visual Basic forum.
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
Perhaps the solution to this is more simple than I am making it out to be. I am trying to get the contents of a field within a DataList to assign to a variable, and thought I could use e.Item.FindControl(). After several attempts and variations on the code I still get a Null return from fields I know to be populated.
Can I get the text contained from a field for a particular Item using this method, or do I need to use an SQLReader to obtain the information?
I am using Visual Basic Code Behind on ASP.NET pages (using Visual Studio 2005)
Thanks,
Mike
"It Seems All My Problems Exist Between Keyboard and Chair"