D
David C
In VS 2005 I was using a generic variable for referencing objects such as
textbox, dropdown, calendar controls, etc. using something similar to below.
In VS 2008 the variable is "marked" and assumed an object.
Dim varControl
varControl = row.FindControl("txtExpireDate")
Is there a better way, e.g. using the actual control such as Dim varControl
As TextBox, etc.? Thanks.
David
textbox, dropdown, calendar controls, etc. using something similar to below.
In VS 2008 the variable is "marked" and assumed an object.
Dim varControl
varControl = row.FindControl("txtExpireDate")
Is there a better way, e.g. using the actual control such as Dim varControl
As TextBox, etc.? Thanks.
David