Click here to Skip to main content
15,893,644 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Submit details with enter key Pin
benams14-Jun-09 3:28
benams14-Jun-09 3:28 
GeneralRe: Submit details with enter key Pin
Sujay chakraborty15-Jun-09 4:31
Sujay chakraborty15-Jun-09 4:31 
QuestionLinkButton OnClick event problem Pin
benams9-Jun-09 19:40
benams9-Jun-09 19:40 
AnswerRe: LinkButton OnClick event problem Pin
saanj9-Jun-09 20:06
saanj9-Jun-09 20:06 
GeneralRe: LinkButton OnClick event problem Pin
benams9-Jun-09 21:12
benams9-Jun-09 21:12 
GeneralRe: LinkButton OnClick event problem Pin
saanj9-Jun-09 21:24
saanj9-Jun-09 21:24 
GeneralRe: LinkButton OnClick event problem Pin
benams10-Jun-09 0:11
benams10-Jun-09 0:11 
Questionthe following error in stored procedure Pin
anbusenthil9-Jun-09 19:31
anbusenthil9-Jun-09 19:31 
-- =============================================
-- Author: anbu
-- Create date:
-- Description: sp to check login and to set theme
-- =============================================
CREATE PROCEDURE EscIndexLoginCheckTheme
@username varchar(500),
@password varchar(500)
AS
BEGIN
declare @IsAlreadyexist as int
declare @sessionvalue as int
if exists(Select empguid from empmaster where employeeid=@username and password=@password and status=0)
begin
select @IsAlreadyexist=0 -- Login Available
Select @sessionvalue= empmaster.EmpGUID,Themesetting.th_name from empmaster inner join EmpTheme on empmaster.EmpGUID = EmpTheme.EmpGUID inner join Themesetting on EmpTheme.themeid = Themesetting.themeid
where employeeid=@username and password=@password
end
else
Begin
select @IsAlreadyexist=1 -- Invalid Login
end
select @IsAlreadyexist as Result,@sessionvalue as id
END



i am getting the following error

"A SELECT statement that assigns a value to a variable must not be combined with data-retrieval operations."
AnswerRe: the following error in stored procedure Pin
Christian Graus9-Jun-09 19:37
protectorChristian Graus9-Jun-09 19:37 
AnswerRe: the following error in stored procedure Pin
Abhijit Jana9-Jun-09 19:39
professionalAbhijit Jana9-Jun-09 19:39 
GeneralRe: the following error in stored procedure Pin
anbusenthil9-Jun-09 19:40
anbusenthil9-Jun-09 19:40 
GeneralRe: the following error in stored procedure Pin
Abhijit Jana9-Jun-09 19:56
professionalAbhijit Jana9-Jun-09 19:56 
GeneralRe: the following error in stored procedure Pin
Christian Graus9-Jun-09 20:23
protectorChristian Graus9-Jun-09 20:23 
GeneralRe: the following error in stored procedure Pin
anbusenthil9-Jun-09 21:09
anbusenthil9-Jun-09 21:09 
AnswerRe: the following error in stored procedure Pin
saanj9-Jun-09 19:43
saanj9-Jun-09 19:43 
QuestionSession expires when directory is moved. Pin
SekharOne9-Jun-09 19:24
SekharOne9-Jun-09 19:24 
AnswerRe: Session expires when directory is moved. Pin
Abhijit Jana9-Jun-09 19:30
professionalAbhijit Jana9-Jun-09 19:30 
GeneralRe: Session expires when directory is moved. Pin
SekharOne9-Jun-09 19:38
SekharOne9-Jun-09 19:38 
QuestionMail Dilivery NotiFication when Mail Delivery is Fail using amtp.send Method Pin
kirti.darji9-Jun-09 19:02
kirti.darji9-Jun-09 19:02 
AnswerRe: Mail Dilivery NotiFication when Mail Delivery is Fail using amtp.send Method Pin
saanj9-Jun-09 19:24
saanj9-Jun-09 19:24 
AnswerRe: Mail Dilivery NotiFication when Mail Delivery is Fail using amtp.send Method Pin
Abhijit Jana9-Jun-09 19:29
professionalAbhijit Jana9-Jun-09 19:29 
QuestionIssues in gridSorting Pin
RS.Ratheesh9-Jun-09 17:53
RS.Ratheesh9-Jun-09 17:53 
AnswerRe: Issues in gridSorting Pin
Christian Graus9-Jun-09 18:04
protectorChristian Graus9-Jun-09 18:04 
AnswerRe: Issues in gridSorting Pin
Abhijit Jana9-Jun-09 18:10
professionalAbhijit Jana9-Jun-09 18:10 
Questionfill checkbox list using jquery Pin
Jagz W9-Jun-09 17:48
professionalJagz W9-Jun-09 17:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.