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




Reply With Quote