>Hi Paul,
>
>I'm thinking that I do indeed can access a custom property in the Page using FormParameter.
>
>Here is the link
>
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.formparameter.aspx>
>I don't see why if we can use form's textbox, why we can not use the public property the same way. At least I can select the properties when I Configure Data source. So, for the Insert command, do you think I can use it?
Not using FormParameter, no. FormParameter evaluates Request.Form["Name of FormField value"], so the parameter value it gets has to be a member of the Form collection. You could add a hidden control to do this, though (instead of a property). It actually doesn't look too complicated to create your own subclass of Parameter if you really want to do this.