View Single Post
  #1 (permalink)  
Old March 31st, 2005, 01:29 AM
marksartwork marksartwork is offline
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change the properties of a textbox control?

I'm using a datagrid to update an Access database. The default width and rows appear in the datagrid. How can you modify it to a longer width and multiline?

Dim AnswerTextBox As TextBox = CType(E.Item.Cells(2).Controls(0), TextBox)
Dim Answer As String = Convert.ToString(AnswerTextBox.Text)