html button
hi friends
on aspx form i have one server button ( Save ) and one HTML button (Canel)
On Save button values of text box store in database
on Cancel button I Just invisble one panel
both buttons are working fine
when i press save button and
when values of text box already exist in table
it gives me an Sql Error 2627
i shown error desc in label
now i want to cancel it means invisible panel
but it doesn't work here
how can i make it invisible in such condition
thanks
|