Hi All,
the problem I am experiencing is that when I try to populate a table on a online environment with the below code, the table is populated twice. With the same code the table is populated correctly on an offline/production environment and cannot understand why :
This is what I have:
The table is called Trips
Code Behind:
Imports System.Data.SqlClient
Imports System.IO
Partial Class myapplication_application
Inherits System.Web.UI.Page
Protected Sub PostCommentButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PostCommentButton.Click
If Not Page.IsValid Then Exit Sub
'Make sure the picture has been successfully uploaded
If FileUpload.PostedFile Is Nothing OrElse String ...
Go to the complete details ...