html page calls default.aspx.vb and gets Ispostback false Hi, I have an asp html page that allows the user to input data into a web page. When they click the submit button it calls a default.aspx.vb. The ISPostback is always false so it skips my sql add parameters. Here is the code: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="_default" %> GDR Request Form
Commercial: DSN:

**************************************************** Default.aspx.vb **************************************************** Imports System.Data.SqlClient Imports System.Data Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) _ Handles Me.Load txtRequester_Date.Text = Date.Today txtRequestDate.Text = Date.Today If (IsPostBack) Then ' this creates the connection. Dim sqlConn As New SqlConnection("Data Source=JITC-PC\GEOINT; Initial catalog=DEV_GEOINT; Integrated Security=SSPI;") ' create the command object Dim sqlCmd As New SqlCommand("sp_InsertRequest", sqlConn) ' define the connection for the command object sqlCmd.Connection = sqlConn sqlCmd.CommandType = CommandType.StoredProcedure ' define the SQL parameter sqlCmd.Parameters.AddWithValue("@Org", txtOrganization.Text) sqlCmd.Parameters.AddWithValue("@REQ_Date", txtRequester_Date.Text) ' open the connection sqlConn.Open() ' execute the data insertion sqlCmd.ExecuteNonQuery() ' close SQL connection sqlConn.Close() ' dispose of the connection object (mostly optional but good practice) sqlConn.Dispose() ' Notify the submission was accepted Response.Write("Thank-you for your Request!") End If End Sub Private Function isempty(ByVal p1 As Object) As String Throw New NotImplementedException End Function End Class