asp.net database editor

D

DJK

I am used FP2003 to create an asp.net database editor for an MS sql db. I
have two problems: 1. If I break the db down to sections of 5 items, when an
item is searched with a list of 3 or less a runtime error occurs
"[HttpException (0x80004005): An error has occurred because a control with
auto-generated id 'ResultsGrid:_ctl6:_ctl0' could not be located to raise a
postback event. To avoid this error, explicitly set the ID property of
controls that raise postback events.] Can anyone tell me how to change this
postback event?
2. Dropdown list work until a different item is selected in the dd list.
Here is the error -
HttpException (0x80004005): A DropDownList cannot have multiple items
selected.] If I change the ListItem item =
((DropDownList)control).Items.FindByValue( sValue );if(item !=
null){item.Selected = false; to false in the fpdbnet.cs I don’t get the
error; however, items from the db are not pulled into the db editor. Does
anyone have a fix?
 

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