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:
  1. 'Try
  2.         '    If Not (IsPostBack) And Page.IsValid Then
  3.                 myCommand.Connection.Open()
  4.                 myCommand.ExecuteNonQuery()
  5.  
  6.                 MyConn.Close()
  7.                 MyConn = Nothing
  8.         '    End If
  9.         'Catch er As Exception
  10.         '    lblMessage.Text = er.Message.ToString
  11.         'End Try

Thanks