Greetings,
I have a data grid control and code behind page. I took this code from  
"http://www.dotnetjunkies.com/quickstart/util/srcview.aspx?path=/quickstart/aspplus/samples/webforms/data/datagrid6.src";
 
 
Dim I As Integer
For I=2 To NumCols-2 'skip first, second and last column
   Dim CurrentTextBox As System.Web.UI.WebControls.TextBox
   CurrentTextBox = E.Item.Cells(I).Controls(0)
   Dim ColValue As String = CurrentTextBox.Text
Next

Visual Studio scribles "E.Item.Cells(I).Controls(0)" and tells that "Option Strict On 
disallows implicit conversions from "System.Web.UI.Control" to 
"System.Web.UI.WebControls.TextBox"/

I will appreciate your help--Zehra


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to