Insert records using Gridview Footer

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top