Hi,
Does anyne have any idea why my data wont load into database without any error when I include the objects from the Toolbox (RegularFieldValidations & CompareValidations).
The data was loading fine until I added them.
thanks
Printable View
Hi,
Does anyne have any idea why my data wont load into database without any error when I include the objects from the Toolbox (RegularFieldValidations & CompareValidations).
The data was loading fine until I added them.
thanks
How are you loading your data, and how did you fit those two objects into the process?
Well Hack,
I found why the data is not going into the database but I dont know why. When I as for ISPostback and page.Isvalid no data is loaded.
:
Is it essential to ask for Postback or not.?? This is part of my submit button. To put it all clear Im asking for IsPostback also on Page load..
Can u please explain to me if you know the meaning of the qouted lines
VB Code:
'Try ' If Not (IsPostBack) And Page.IsValid Then myCommand.Connection.Open() myCommand.ExecuteNonQuery() MyConn.Close() MyConn = Nothing ' End If 'Catch er As Exception ' lblMessage.Text = er.Message.ToString 'End Try
Thanks
Not (IsPostBack) And Page.IsValid
Makes the code within execute ONLY the first time the page is loaded.
ok, Lord Rat it works fine now thanks.
do you know anything about email sending on the thread Ive jsut posted above. thanks