Click here to Skip to main content
16,021,041 members

Comments by Member 12059614 (Top 2 by date)

Member 12059614 21-Oct-15 6:42am View    
There is error occurred when i declare session name in code.
My code is like this:
cn.Open()
Dim query As String
query = "delete * from tabdata where email='" + Session + "'"
Try
MsgBox("Account deleted succsessfully")
Response.Redirect("Homepage.aspx")
Catch ex As Exception
Response.Write("<script>alert('" + ex.ToString() + "');</script>")
End Try
End Sub
Member 12059614 20-Oct-15 8:54am View    
Sir I did so many things I have not to run my company I have a college project and that's why I am using SMTP server rather than hosting server I googled so many things and still there is a problem that's why I asked the question.