Link to home
Start Free TrialLog in
Avatar of noobe1
noobe1

asked on

Passing parameters value to SqlDataSource

Hi Experts,
How do I pass a value to a paramater of a SqlDataSource in code? Is there any other way besides using the DefaultValue?

Thanks
CandidateDataSource.UpdateParameters.Item("DateUpdated").DefaultValue = Date.Today
                CandidateDataSource.Update()

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of bele04
bele04

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial