
July 3rd, 2003, 05:22 AM
|
|
Junior Member
|
|
Join Date: Jul 2003
Location: UK
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
DataGrid Controls
Hello, I'm new here.
I am working on a company website and trying to succesfully add a new column for a DataGrid.
I've managed to add the column (Mobile No), but when I create a new entry in the DataGrid and try to add it, I get an error in the application.
I know it's something to do with the controls for the Mobile No column, but I don't know what to change it to.
Here's is the line that the error is in:
strMobileNo = CType(e.Item.Cells(6). Controls(1), TextBox).Text
The underlined and bold bit is where I presume the error is lurking.
Does anybody know what to do?!
I'm so confused 
|