从一种形式登录到另一种形式 [英] Log in from one form to another

查看:135
本文介绍了从一种形式登录到另一种形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好:)

我的问题是如何使存储过程检查用户名和密码是否正确.以及如何在C#中为此编写代码...

因此,我需要帮助的是:


  • 用于检查用户是否通过的存储过程代码是否正确
  • 登录按钮"的C#代码以及与数据库的连接
  • 如果登录成功,则用户将在此表单内找到一个新表单,该表单位于我的数据库中.
  • 如果用户名和密码错误,则会出现一个消息框
  • Hello everybody :)

    The problem for me is how to make the stored procedure for checking if Username and Password is correct. And also how to write the code in the C# for that...

    So the things I want help with are :


    • The stored procedure code for checking if user, pass is correct
    • The C# code for the "login button" and connection with the Database
    • If login sucess the user get to a new form inside this form the table found in my data base
    • If username and password are wrong a message box appears
    • 推荐答案

      好吧,我想这个问题被问了很多遍了,所以您仍然无法自己进行任何研究.您是否尝试过搜索Google,此处有关CodeProject,MSDN等的ASP.NET文章?
      Well I guess this question has been asked so many times that you are still not able to do any sort of research for yourself. Did you try searching through Google, the ASP.NET articles here on CodeProject, MSDN etc?


      这篇关于从一种形式登录到另一种形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆