Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
J

jarowbear

@jarowbear
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Update Record
    J jarowbear

    When you refer to codebehind are you referring to a separate page? How exactly do I put this at the top of my actual aspx page? Protected WithEvents frmpassword As System.Web.UI.HtmlControls.HtmlForm thanks

    ASP.NET database com help tutorial announcement

  • changing the directory of the default.aspx page
    J jarowbear

    I am a beginner with asp.net and am creating a login page. If the login is correct I want the default.aspx page to be displayed. By default, it appears that asp.net looks for the default page within the main root, but I want to redirect it to look for the default.aspx page within a specific folder within the main root. How do I do that? Many thanks

    ASP.NET question csharp asp-net learning

  • Lost Password Page
    J jarowbear

    I am trying to create a sendpassword page for users who have lost their password...using their email address to retrieve the users details. I have gotten this far...querying the database using the email field. Now, here are my questions: 1. Once the fields are authenticated and the password is found, how do I send it by email using system.web.mail for examp.e...what would the code be? 2. Also, if it works and the info is sent to them in an email, how do I create the code and text message that would appear on the same page that says: "password successfully sent" and conversely, if there is an error and the email cannot be sent how do I write the error message "email address not found, please contact administrator". Here is the code I have to date. Many, many thanks for your help <%@ Page Language="VB" %> Function GetEmail(ByVal email As String) As System.Data.DataSet Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=C:\Inetpub\wwwr"& _ "oot\LoginMatric\autores.mdb" Dim dbConnection As System.Data.IDbConnection = New System.Data.OleDb.OleDbConnection(connectionString) Dim queryString As String = "SELECT [authors].[pwd] FROM [authors] WHERE ([authors].[email] = @email)" Dim dbCommand As System.Data.IDbCommand = New System.Data.OleDb.OleDbCommand dbCommand.CommandText = queryString dbCommand.Connection = dbConnection Dim dbParam_email As System.Data.IDataParameter = New System.Data.OleDb.OleDbParameter dbParam_email.ParameterName = "@email" dbParam_email.Value = email dbParam_email.DbType = System.Data.DbType.String dbCommand.Parameters.Add(dbParam_email) Dim dataAdapter As System.Data.IDbDataAdapter = New System.Data.OleDb.OleDbDataAdapter dataAdapter.SelectCommand = dbCommand Dim dataSet As System.Data.DataSet = New System.Data.DataSet dataAdapter.Fill(dataSet) Return dataSet End Function

    Please enter your email address

    ASP.NET database help question com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups