Online Mobile Shop | Part 8:- Registration form User Data Store In Database using ASP.Net C#
Online Mobile Shop | Part 8:- Registration form User Data Store In Database using ASP.Net C#
https://youtu.be/TUGpLjC66iQ
Description:-
Sign in Button Logic Code:-
protected void btnLog_Click(object sender, EventArgs e)
{
try
{
string loginqry = "select COUNT(*) from UserTable " +
"where EmailAddress = '"+txtEmail.Text+"' and Password = '"+txtPassword.Text+"';";
SqlDataAdapter sda = new SqlDataAdapter(loginqry, dbconfig.con);
DataTable dt = new DataTable();
sda.Fill(dt);
if (dt != null && dt.Rows.Count greater than 0)
{
if (dt.Rows[0][0].ToString() == "1")
{
Session["UserName"] = txtEmail.Text;
if (txtEmail.Text == "admin@gmail.com")
{
Response.Redirect("indexAdminhome.aspx");
}
else
{
Response.Redirect("indexhome.aspx");
}
}
else
{
lblerror.Text = "UserName or Password is Wrong";
}
}
else
{
lblerror.Text = "UserName or Password is Wrong";
}
}
catch (Exception ex)
{
lblerror.Text = ex.Message;
}
#aspproject #dotnetproject #websiteproject #collegeproject #synopsis #ppt #registration #form #aspproject #webforms #css #visualstudio
#Subscribe the #Channel #Link :- #bansodetechsoluiotn #ajupgrading https://www.youtube.com/c/AjUpgradingBANSODETECHSOLUTION?sub_confirmation=1
ONLINE MOBILE SHOP PROJECT DESCRIPTION AND STEP-BY-STEP CREATION OF A PROJECT
https://www.youtube.com/playlist?list=PLHeKsaIQNmlrbgW5Q-mzHQi3st3L1qij_
Github Upadated link #github
https://github.com/BansodeTechSolution/MobileShopping-youtube.git
IF any #Query or #Doubt #DM on #Instagram :- #bansode_ajay_2102
https://www.instagram.com/bansode_ajay_2102?r=nametag
Whatsapp Channel Link
https://whatsapp.com/channel/0029VaOllPkEKyZAoy7K791X
Видео Online Mobile Shop | Part 8:- Registration form User Data Store In Database using ASP.Net C# канала BANSODE TECH SOLUTION
https://youtu.be/TUGpLjC66iQ
Description:-
Sign in Button Logic Code:-
protected void btnLog_Click(object sender, EventArgs e)
{
try
{
string loginqry = "select COUNT(*) from UserTable " +
"where EmailAddress = '"+txtEmail.Text+"' and Password = '"+txtPassword.Text+"';";
SqlDataAdapter sda = new SqlDataAdapter(loginqry, dbconfig.con);
DataTable dt = new DataTable();
sda.Fill(dt);
if (dt != null && dt.Rows.Count greater than 0)
{
if (dt.Rows[0][0].ToString() == "1")
{
Session["UserName"] = txtEmail.Text;
if (txtEmail.Text == "admin@gmail.com")
{
Response.Redirect("indexAdminhome.aspx");
}
else
{
Response.Redirect("indexhome.aspx");
}
}
else
{
lblerror.Text = "UserName or Password is Wrong";
}
}
else
{
lblerror.Text = "UserName or Password is Wrong";
}
}
catch (Exception ex)
{
lblerror.Text = ex.Message;
}
#aspproject #dotnetproject #websiteproject #collegeproject #synopsis #ppt #registration #form #aspproject #webforms #css #visualstudio
#Subscribe the #Channel #Link :- #bansodetechsoluiotn #ajupgrading https://www.youtube.com/c/AjUpgradingBANSODETECHSOLUTION?sub_confirmation=1
ONLINE MOBILE SHOP PROJECT DESCRIPTION AND STEP-BY-STEP CREATION OF A PROJECT
https://www.youtube.com/playlist?list=PLHeKsaIQNmlrbgW5Q-mzHQi3st3L1qij_
Github Upadated link #github
https://github.com/BansodeTechSolution/MobileShopping-youtube.git
IF any #Query or #Doubt #DM on #Instagram :- #bansode_ajay_2102
https://www.instagram.com/bansode_ajay_2102?r=nametag
Whatsapp Channel Link
https://whatsapp.com/channel/0029VaOllPkEKyZAoy7K791X
Видео Online Mobile Shop | Part 8:- Registration form User Data Store In Database using ASP.Net C# канала BANSODE TECH SOLUTION
Комментарии отсутствуют
Информация о видео
11 марта 2024 г. 19:30:07
00:13:17
Другие видео канала



















