E
elburze
I am using a gridview [only to view(select)] and a formview [to insert]
some data. My gridview displays information correctly, but clicking on insert
button for the formview gives me error: "No parameterless constructor defined
for this object".
Data are persisted in a hiddentextbox as Xml and are used to create a
globally declared Dataset on page_load(). I have a dataObjectType class
"DataSetWrapper" and a static data access class "TendersDataSetAccessMethods"
[ofcurse, methods have parameter of type "DataSetWrapper"].
I add the insert parameter on formview's itemInserting event
(objdataSource's Inserting event seems to be too late).
can someone tell me please which object has no parameterless constructor?!!
my data access class is static and I have added a parameterless constructor
to my dataObjectType class (though I still call the parameterd one in
itemInserting event).
note: I placed breakpoints in parameterless constructor and datasource's
objectCreating event; the error comes before the breakpoints are even reached.
some data. My gridview displays information correctly, but clicking on insert
button for the formview gives me error: "No parameterless constructor defined
for this object".
Data are persisted in a hiddentextbox as Xml and are used to create a
globally declared Dataset on page_load(). I have a dataObjectType class
"DataSetWrapper" and a static data access class "TendersDataSetAccessMethods"
[ofcurse, methods have parameter of type "DataSetWrapper"].
I add the insert parameter on formview's itemInserting event
(objdataSource's Inserting event seems to be too late).
can someone tell me please which object has no parameterless constructor?!!
my data access class is static and I have added a parameterless constructor
to my dataObjectType class (though I still call the parameterd one in
itemInserting event).
note: I placed breakpoints in parameterless constructor and datasource's
objectCreating event; the error comes before the breakpoints are even reached.