Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Values to Formview Controls Just before insert M
Message
 
 
To
28/05/2008 13:59:50
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
01320027
Message ID:
01320047
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform