Danny Hutson

100 thoughts on “registration form in asp.net with sql database

  1. if You can't get better solution plz comment our page and you can also ask qustion about
    here https://www.facebook.com/msaspweb/?ref=page_internal

  2. Hi would you be able to help me with con.ConnectionString = "Data source=?;
    What would be the correct path ?

  3. Hi… i would like to add an option of "forget password" so that if a user forgets his password then he will use this option to get his password….so plz tell me how can i do this?

  4. sir mi aise he kar raha hu but bar bar con.open(); error exception sqlException was ungealded by user code error bol raha hi

  5. Please help me with this part !!! 12:25
    how do i name each bracket so it could match the command "addwithvalue"?? my did in my brackets:
    <input type="text" placeholder="שם משתמש" name="username" id="username" />
    but when i use this command
    AddWithValue (@username, username. Text)
    it's ERROR , please help

  6. I need an ID column in my table when I add that column its not getting updated and I get error…………" Column name or number of supplied values does not match table definition" what should i do?

  7. I am getting an error
    CS1061: 'regform_aspx' does not contain a definition for 'Button1_Click' and no extension method 'Button1_Click'

  8. using System.Data.SqlClient;

    public partial class _Default : System.Web.UI.Page
    {
    SqlCommand cmd=new SqlCommand();
    SqlConnection con=new SqlConnection();

    protected void Page_Load(object sender, EventArgs e)
    {
    con.ConnectionString="Data source=DESKTOP-1DTVR5S\SQLEXPRESS; initial catalog=suren; integrated Security=true";
    con.Open();
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
    SqlCommand cmd=new SqlCommand ("insert into reg" + "(fname,lname,email,gender,address,contact,pass)values(@fname,@lname,@email,@gender,@address,@contact,@pass)",con);
    cmd.Parameters.AddWithValue("@fname", TextBox1.Text);
    cmd.Parameters.AddWithValue("@fname", TextBox2.Text);
    cmd.Parameters.AddWithValue("@fname", TextBox3.Text);
    cmd.Parameters.AddWithValue("@fname", DropDownList1.SelectedItem.Value);
    cmd.Parameters.AddWithValue("@fname", TextBox4.Text);
    cmd.Parameters.AddWithValue("@fname", TextBox5.Text);
    cmd.Parameters.AddWithValue("@fname", TextBox6.Text);
    cmd.ExecuteNonQuery();
    Label1.Text="Inserted Successfully";
    }
    }

  9. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).]
    System.Web.UI.ClientScriptManager.EnsureJqueryRegistered() +2923597
    System.Web.UI.WebControls.BaseValidator.RegisterUnobtrusiveScript() +11
    System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +9828113
    System.Web.UI.Control.PreRenderRecursiveInternal() +88
    System.Web.UI.Control.PreRenderRecursiveInternal() +160
    System.Web.UI.Control.PreRenderRecursiveInternal() +160
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +883

  10. How can I find my database connectionString as it shows in the tutorial?
    con.ConnectionString = "Data source = "DESKTOP-925…………………"

  11. yr bhai ap sy humble request hy k 1 chez bta du taqreban 1 mahena hu gya hy smag nai a rai kese kru,msla itna sy hay k jo hum ready made template jo bootstrap me hu us py backend coding kese ke jai just mslan login k template hu us py kese ke jai?

  12. Login form design contains two input fields i.e. Username and Password with Login Button and Forget password label which redirect to reset password popup
    Validations:
    Username or Password should be not empty
    3 sequential invalid credentials attempts will lock the account
    Password store in encrypted format in Database table
    hello sir mujhe tommorow 12am want to video please very fast upload video

  13. Create a login form with below validations.
    hello sir ye video mujhe chhiye please sir

    Login form design contains two input fields i.e. Username and Password with Login Button and Forget password label which redirect to reset password popup
    Validations:
    Username or Password should be not empty
    3 sequential invalid credentials attempts will lock the account
    Password store in encrypted format in Database table

  14. Bro gjb yarr…. Salute you … Bhot se logo ki help kri aapne lge rho . Web development ke Student aap ke shath hai

  15. i followed ur tutorial, but i am getting this error—–"System.Data.SqlClient.SqlException occurred in System.Data.dll but was not handled in user code". please help me

  16. When i double click on button it goes on design code …ie. HTML code ..not getting back end codding as like u …what i have to do..

  17. Will you please tell me brother that if you do that with store procedure concept then what i have to exactly write in that store procedure contant block.
    Please reply…

  18. pleas Help me how I can make a special page that brings me to the user 's request page so that it shows me in a special place with the request information

  19. sir i have a problem will u plz solve it when i enter this code on my project exception bar should b come
    plz sir reply

  20. Hi I'm getting a error which is saying incorrect syntax near 'name'. and its showing on cmd.ExecuteNonQuery(); what should i do ?? please help

  21. Sir insert into reg me ap ne ek colon bracket put kya i do the same but error occure that another colon is needed where i put it

  22. Help me out guys. I have done properly. However, I am constantly getting error on connectionstring part. Please see below
    con.ConnectionString = "Data Source=(LocalDB)v11.0;initial catalog:Database1;integrated security=true";
    Have I done anything wrong in the above?
    Note: I have given database name as Database1.mdf also.

  23. thank you bro to give me registration form and also connecting with sql databse /server. CAN you share the code of design the multiple quiz question with database connectivity to me.
    THANK YOU AGAIN!!

  24. Ihave sent applicaton for net exam . but registration id is mis. then iam not giving conformation .i paid fee in bank.pls help recover my registration id.

  25. aapne yaha pe table design kiya or second column select karke cursor ko top pe laya oo visual studio 2017 me oo option he hi nahi so plz koi to bataye ki konsa option use kare use top pe lane ke liye plz ans anyone

Leave a Reply

Your email address will not be published. Required fields are marked *