Insert records using Gridview Footer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
Is it possible to insert records using the Footer row in a Gridview? I can
do it with a datagrid in VS2003, but the same code in VS2005 give me an error:

The code is:
Dim strOperatorID As String = CType(GVProgram.FindControl("ddlOperatorID"),
DropDownList).SelectedValue

Error:
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

Thanks
Hennie
 
Back
Top