15,905,607 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11804811 (Top 37 by date)
Member 11804811
23-Jun-16 12:46pm
View
ok
Member 11804811
23-Jun-16 12:43pm
View
Yes
Member 11804811
23-Jun-16 5:26am
View
Help me to resolve this
Member 11804811
17-Jun-16 8:45am
View
yes I have
Member 11804811
7-Jun-16 14:46pm
View
Deleted
How to share the screen.
Can u tell me please
Member 11804811
7-Jun-16 14:26pm
View
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'SclWebsite.Login'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Login.aspx.cs" Inherits="SclWebsite.Login" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /Login.aspx Line: 1
Now I am getting this Error.Please help me
Member 11804811
5-Jun-16 4:02am
View
Aspx.cs Page:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
namespace Sclwebsite
{
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void LoginBtn_Click(object sender, EventArgs e)
{
string ConnectionString = ConfigurationManager.ConnectionStrings["BankDatabaseConnectionString"].ConnectionString;
DataSet myset = new DataSet();
try
{
using (SqlConnection con = new SqlConnection(ConnectionString))
{
using (SqlCommand cmd = new SqlCommand("Select * from Users where Email=@User_ID and Password=@Password", con))
{
cmd.CommandType = CommandType.Text;
cmd.Parameters.Add(new SqlParameter("@User_ID", SqlDbType.VarChar, 200));
cmd.Parameters["@User_ID"].Value = UserIdtxt.Text;
cmd.Parameters.Add(new SqlParameter("@Password", SqlDbType.VarChar, 15));
cmd.Parameters["@Password"].Value = Passwordtxt.Text;
con.Open();
using (SqlDataAdapter sda = new SqlDataAdapter(cmd))
{
sda.Fill(myset);
}
}
}
if (myset.Tables[0].Rows.Count > 0)
LabelMsg.Text = "Login Successful!";
else
LabelMsg.Text = "Incorrect Credentials!";
}
catch (Exception ex)
{
LabelMsg.Text = "Exception Occured while Saving: " + ex.Message;
}
}
}
}
Member 11804811
5-Jun-16 4:01am
View
<div class="form-group">
<label class="sr-only" for="form-password">Password</label>
<asp:TextBox ID="Passwordtxt" runat="server" TextMode="Password" name="form-username" placeholder="Password..." class="form-username form-control"
style="margin-left: 0px" MaxLength="15" >
</div>
<asp:Button ID="LoginBtn" ValidationGroup="LoginValidation"
runat="server" Text="Login" onclick="LoginBtn_Click"
/><br />
<asp:Label ID="LabelMsg" runat="server" Text="" ForeColor="White">
</form>
<p class="text-center text-muted">Not registered yet?</p>
<p class="text-center text-muted">
<span class="style1">Register now</span>
! It is easy and done in 1 minute and gives you access to special discounts and much more!</p>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-3 social-login">
...or login with:
<div class="social-login-buttons">
Facebook
Twitter
Gmail
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Javascript -->
<script src="signinassets/js/jquery-1.11.1.min.js"></script>
<script src="signinassets/bootstrap/js/bootstrap.min.js"></script>
<script src="signinassets/js/jquery.backstretch.min.js"></script>
<script src="signinassets/js/scripts.js"></script>
<!--[if lt IE 10]>
<script src="assets/js/placeholder.js"></script>
<![endif]-->
</body>
</html>
Member 11804811
5-Jun-16 3:58am
View
Designer Page:
<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Login.aspx.cs" Inherits="SclWebsite.WebForm6" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html lang="en">
<head>
<title>RaoRamSinghPublicSchool</title>
<link rel="shortcut icon" href=" "/>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,100,300,500">
<link rel="stylesheet" href="signinassets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="signinassets/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="signinassets/css/form-elements.css">
<link rel="stylesheet" href="signinassets/css/style.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Favicon and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
<style type="text/css">
.style1
{
font-size: large;
}
</style>
</head>
<body background="images/bg1.jpg">
<!-- Top content -->
<div class="top-content">
<div class="inner-bg">
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text">
Customer Login
<div class="description">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-3 form-box">
<div class="form-top">
<div class="form-top-left">
<p>Enter your username and password to log on:</p>
</div>
<div class="form-top-right">
</div>
</div>
<div class="form-bottom">
<form role="form" action="" method="post" runat="server" class="login-form">
<div class="form-group">
<label class="sr-only" for="form-username">Username</label>
<asp:TextBox ID="UserIdtxt" runat="server" name="form-username" placeholder="Username..." class="form-username form-control" >
</div>
<div class="form-group">
<label class="sr-only"
Member 11804811
5-Jun-16 3:30am
View
Web Application
Member 11804811
5-Jun-16 3:25am
View
I tried all these Steps, But Got the same error. I Deleted the existing button and created a new one in design view and created the click Event too.
But got the same Error.
Member 11804811
23-Sep-15 2:29am
View
Thankyou Naveen....
Member 11804811
23-Sep-15 2:26am
View
Thankyou Maciej..........
Member 11804811
19-Sep-15 2:20am
View
Thankyou....It Works For me...
Member 11804811
10-Sep-15 1:41am
View
Thankyou All...
Member 11804811
10-Sep-15 1:41am
View
ThankYou Samira
Member 11804811
7-Sep-15 1:46am
View
ok...
Member 11804811
6-Sep-15 9:08am
View
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Member 11804811
6-Sep-15 9:07am
View
Got The Same Error Again
Member 11804811
6-Sep-15 8:32am
View
Thanku...But When I am taking <img> tag,it gives This Error.Help me to sort Out this
Member 11804811
6-Sep-15 8:31am
View
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1024: Preprocessor directive expected
Source Error:
Line 113: <tr>
Line 114: <td>
Line 115: <img src="<% #DataBinder.Eval(Container.DataItem, "image")%>" />
Line 116:
Line 117: </td>
Member 11804811
2-Sep-15 5:25am
View
Yes! I want to encrpt my Query String Variable not to Encode.
Please Reveiew my Question Again and Give me the Solution If You Know.
Member 11804811
1-Sep-15 6:49am
View
After Using Server.UrlEncode it becomes
http://localhost:63012/Admin/ResetPassword.aspx?resource=ram%40gmail.com
It isd not fully encrypted rather it adds some special character
Member 11804811
31-Aug-15 9:21am
View
Thankyou
Member 11804811
12-Aug-15 10:42am
View
Thanks for Comment. I will try this code.
Member 11804811
12-Aug-15 10:42am
View
Thanks for Comment. I will try this code
Member 11804811
17-Jul-15 10:46am
View
Okk....Let me check..
Member 11804811
17-Jul-15 10:19am
View
When i Debug It show this Error
Member 11804811
17-Jul-15 10:18am
View
I selected a item and rather it show this Exception And Know the Debugging also.
Member 11804811
16-Jul-15 13:26pm
View
Thanks.
Member 11804811
15-Jul-15 15:54pm
View
ok.
Member 11804811
15-Jul-15 15:34pm
View
Please Help Me to Resolve This Problem
Member 11804811
15-Jul-15 15:14pm
View
I checked Sql server Services is not running.
When I tired To Start the Service .It Give me This error:
computer 'AJIT-PC'. ---> System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at System.ServiceProcess.ServiceController.Start()
at ReportServicesConfigUI.Panels.ServerInformationPanel.StartStopServiceTask(Boolean start)
Member 11804811
15-Jul-15 15:04pm
View
Deleted
yes My Sqlserver is running
Member 11804811
6-Jul-15 10:08am
View
Thanks...The Error removed
Member 11804811
6-Jul-15 10:08am
View
Thanks....
Member 11804811
6-Jul-15 10:07am
View
Thanksss
Show More