>Hello all,
>How do i set defaults for Formview Control just before getting to insert mode.The Fields are bound to a datasource.
>I actually need to set the Date Field to Current Date.
>and also some other Field to a Request.Querystring value.
>
>Is this appoach right?
>This is quite urgent. Please help.
>TIA.
For the Insert Parameters you may use DefaultValues. You can also use QueryString parameter.
See also
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.formviewinserteventhandler.aspx though this is for getting/not setting values.
I had a link at work to do what you want, but I'm not there right now...
If it's not broken, fix it until it is.
My Blog