text in textbox as object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhii
    New Member
    • Feb 2008
    • 30

    text in textbox as object

    hi everyone,
    please can anyone tel me how i can convert the text in the text box into the object....
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    Typecast... :)

    object myNewObject = (object)textBox 1.Text;

    Comment

    Working...