I do have something like this"
CancelSelectOnNullParameter="False" ConnectionString="<%$ ConnectionStrings:MainWebConnection %>"
SelectCommand="SELECT AutoNumber FROM MainClassifieds WHERE (TEnterDate = (SELECT MAX(TEnterDate) AS Expr1 FROM MainClassifieds AS MainClassifieds_1 WHERE (TUserName = @gettingUserName,TItemName = @ItemTitle AND TListingComment = @ListingComment )))">
This parameter:
The others two parameters are link to a textbox, and these textboxes are inside a form called: FormViewDataEntry. So, the control parameter can not get the value from inside the form. Is there any way that I get a value to these two parameter from the corresponding
textbox that are locate inside the form? How can I get the values from inside the form? Is it possible without using code behind?
Thanks
Hi,
You need to refer to your control with its full name.
You can easily find the control's full name when you open the page in the browser. Simply view source and you will see it.
And refer the similar thread
http://stackoverflow.com/questions/9250334/asp-net-could-not-find-control-in-controlparamater
http://www.devexpress.com/Support/Center/Question/Details/Q381969
Hope it can help you
沒有留言:
張貼留言