I am creating a datagrid that is editable w/ a button on the lower 
right side of page... I setup the click event, but am now getting an 
error...

ERROR : 
System.argumentoutofrangeexception. Specified argument was out of 
the range of valid values... parameter name: index

My index field is an integer, and here is the code behind the asp 
page

VB
 
Dim lblIndex as label

lblIndex = Ctype(dgi.Cells(0).Controls(1), label)

My question is: do I need to convert this and how... should it be 
Cint instead of Ctype or should I put the dim as an integer? 

THANKS 








------------------------ 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/AspClassicAnyQuestionIsOk/

<*> 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