Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



Specified argument was out of the range of valid values.CType(e.Item.Cells(1).Controls(1),

Home   ASP.NET   Specified argument was out of the range of valid values.CType(e.Item.Cells(1).Controls(1),          



ERROR:Specified argument was out of the range of valid values.Parameter name: index

This error occured in the line of code  If CType(e.Item.Cells(1).Controls(1), TextBox).Text = "" Then


Cells(1).Controls(1),  The 1 in either Cells or Controls is the problem. Either there wont be that much 
number of cells or That many number of controls. Please note that to put Cells(1) there must be two 
cells Cells(0) & Cells(1) 





  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam