Hi
I have a set of validation controls on my web form and i now want to click a button and save the information in my validated controls into my database. I have a save buttoin but dont know what the syntax is.
If page.Validate = true then
save the stuff into my data base
else
dont save it
end if
page.validate does not return a value so I cant use that.
Thanks in advance
I have a set of validation controls on my web form and i now want to click a button and save the information in my validated controls into my database. I have a save buttoin but dont know what the syntax is.
If page.Validate = true then
save the stuff into my data base
else
dont save it
end if
page.validate does not return a value so I cant use that.
Thanks in advance