insert from button

Hello,

I have created a registration formview that works perfectly when using the
link 'Insert' that is created automaticaly when you create the form.

My problem is that I want a button instead of a link, just for looks no
other reason. When I create a button and have the onclick code as:

Datesource1.insert()

It does not use the parameters it just misses them out. I have two
parameters based on controls on the page and they insert correctly but
everything else is blank.

Is there something I have to do extra to use buttons instead of the link?

Many thanks for your advice in advance.
James
James [ Di, 29 Januar 2008 20:34 ] [ ID #1918919 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » insert from button

Vorheriges Thema: IIS 6.0 404 Redirect to pagenotfound.aspx themes missing
Nächstes Thema: Time conversions from EST with daylight saving to GMT