15,898,134 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 sr_24 (Top 54 by date)
sr_24
16-Mar-13 10:59am
View
if i write a simple delete query to delete a record , then Will Commit be performed automatically or i need to do it ....in case such case when i dont use commit , what could be done ??
sr_24
16-Mar-13 10:56am
View
tried it but not worked
sr_24
16-Mar-13 10:45am
View
not working sir !
i tried this as well --
SELECT JobTitle, CONVERT(VARCHAR(11),CreatedDate,103) FROM JobForm
WHERE CONVERT(DATE,CreatedDate,103) BETWEEN CONVERT(DATE,'06/03/2013',103) AND CONVERT(DATE,'09/02/2013',103)
sr_24
16-Mar-13 10:40am
View
i have swaped them , but not working ---
select JobTitle, CONVERT(VARCHAR(11),CreatedDate,103) from JobForm
where CreatedDate between CONVERT(VARCHAR(11),'09/02/2013',103) and CONVERT(VARCHAR(11),'06/03/2013',103)
sr_24
14-Mar-13 9:16am
View
thanks for u reply but ..have u find any thing wrong in my cod e please have a look..pls
sr_24
11-Mar-13 15:36pm
View
i have experimented pager on div but it cant be done bec Div does not have IPAgablecontainer ,so it can only be done by some control of asp.net
sr_24
11-Mar-13 15:13pm
View
Deleted
actually i am showing my table columns data in a Div
<div id="DisplayJobs" runat="server"></div>
and from code behind i am doing this
as the data to be displayed is user dependent so i can not write hard cooded item template in Listview
DisplayJobs.InnerHtml +="Code in html tags as above written in my question";
so what can i do ??
so can i apply pager on it ????
i mean can we do pagging on a data dispalyed in a div ,
<asp:DataPager ID="DataPager1" runat="server">
<fields>
<asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" ShowLastPageButton="True" />
sr_24
11-Mar-13 6:05am
View
thanks
sr_24
11-Mar-13 6:04am
View
thanks Pakistan bhai ..i hv used it like this
for (int k = 0; k <= t; k++)
{
if (arr[k].Length > 15)
{
arr[k]= arr[k].Substring(0, 12) + " ..";
}
Display_Keywords.InnerHtml += "<li>"
+ "
" + arr[k] + "
"
+ "</li> ";
}
sr_24
11-Mar-13 5:53am
View
my Visual studio 2008 doesnot support css3 text-overflow:ellipsis ...can there be any alternative solution ?? in css2
sr_24
11-Mar-13 3:04am
View
thaanks
sr_24
11-Mar-13 1:47am
View
thanks for the reply .... but why we use it before a string like-- ??
string _Insert = @"insert into Details(fName,lName,DOB,City) Values('" + fName_Txt.Text + "','" + lName_Txt.Text + "','" +_Date.ToString() + "','" + City_Txt.Text + "')";
sr_24
11-Mar-13 1:46am
View
thankyou very much awesome explaination ...So can iu conclude by it that -- Is it optional to use when initializing/declaring a string variable , if the string does not contain \p ,\f ..i can skip @
otherwise i hv to use it .. ?????
Is their any other reason also ..as my query does not have any \f , \p
sr_24
7-Mar-13 6:40am
View
I only want to write a Select Query to display date in dd/mm/yyyy format ,though datetype in db is -- DateTime()
what should i do in select query ?
sr_24
7-Mar-13 6:38am
View
u mean i have to alter my table ??????
sr_24
5-Mar-13 10:58am
View
Can't i only do that-- after user logout ,when browser backbutton pressed ,i got redirected
to my home page ?????? OriginalGriff ...it wont need to disable browser back button !!
sr_24
4-Mar-13 9:27am
View
and i hv quecuted the query with both upprer/lower K ..it does not matter Raje_
sr_24
4-Mar-13 9:24am
View
i resolved thew error ,though i was using + concatenator in the Query i was passing ,but some thing was though wrong , now i hv removed all + and it worked ...thanks for ur help bro Raje_
sr_24
4-Mar-13 8:51am
View
these are the columns -- Raje_
Table -UserFeedSelection--
User_Id
JobFeed
Selectedkeyword
Table -JobForm--
[Job_Id] [int] NOT NULL,
[Recruiter_id] [int] NULL,
[JobTitle] [varchar](100) NULL,
[Location] [varchar](50) NULL,
[Category] [varchar](50) NULL,
[MinExp] [varchar](20) NULL,
[MaxExp] [varchar](20) NULL,
[Body] [varchar](2000) NULL,
[Keyword1] [varchar](50) NULL,
[Keyword2] [varchar](50) NULL,
[Keyword3] [varchar](50) NULL,
[Keyword4] [varchar](50) NULL,
[Keyword5] [varchar](50) NULL,
[Keyword6] [varchar](50) NULL,
[Keyword7] [varchar](50) NULL,
[Investor1] [varchar](50) NULL,
[Investor2] [varchar](50) NULL,
[Investor3] [varchar](50) NULL,
[Investor4] [varchar](50) NULL,
[Investor5] [varchar](50) NULL,
[CreatedDate] [datetime] NULL
sr_24
4-Mar-13 8:34am
View
its difficult to show the format here but i have maintained proper spaces
I am already using Concatenator "+" i have increased space between Table name and alias name ...but same error is repeating ... Incorrect syntax near 'A'.
sr_24
4-Mar-13 8:33am
View
I am already using Concatenator "+"
i have increased space between Table name and alias name ...but same error is repeating ...
Incorrect syntax near 'A'.
sr_24
4-Mar-13 4:14am
View
i was firing a sql query against a table where column can accept a null value ,but as i user did not provided any value for that --- it was not null but space "" ..but i expect it to be null ,whats d problem ??
sr_24
4-Mar-13 4:10am
View
i mean to say if i hv not set any default value then what would it be the default value by it self
sr_24
4-Mar-13 4:07am
View
thanks
sr_24
4-Mar-13 4:07am
View
thanks sir
sr_24
3-Mar-13 10:55am
View
this is my Get Function for ajax calling in Jquery--
function SetID(ID)
{
//debugger;
var strID = "#" + ID;
var IsSelected = true;
var temp2 = $(strID)[0].value;
$.get('Dynamic_page.aspx', { Id: ID, Mode: $(strID)[0].value, XYZ: IsSelected }, function() {
//alert("");
});
sr_24
3-Mar-13 10:50am
View
yes u r right , i hv resolved this mismatch ,the below solution worked
SELECT DISTINCT A.USER_ID, A.CHoice FROM
UserFeedSelection A
INNER JOIN JobForm B ON
A.choice = B.Keyword1 OR A.Choice = B.Keyword2 OR
A.choice = B.Keyword3 OR A.Choice = B.Keyword4 OR
A.choice = B.Keyword5 OR A.Choice = B.Keyword6 OR
A.choice = B.Keyword7
WHERE A.User_ID = 2
but even it has some problem like--
if 4 keywords match with 4 choices
it REPEAT a SAME RECORD 4 Times ...so what should i do Karthik Harve ???
sr_24
3-Mar-13 10:47am
View
it worked but it has a PROBLEM like that---
if 4 keywords match with 4 choices
it REPEAT a SAME RECORD 4 Times ...so what should i do Karthik Harve ???
sr_24
1-Mar-13 6:30am
View
I have Update my Question with Table scripts in it !!have a Look gvprabhu
sr_24
27-Feb-13 7:09am
View
What is Mode in Mode:$(strID)[0].value ???
sr_24
27-Feb-13 6:44am
View
Sir I have to do this through my above written JQuery Function ,how can i manupulate this function
function SetID(ID)
{
//debugger;
var strID = "#" + ID;
$.get('Dynamic_page.aspx', { Id: ID, Mode:$(strID)[0].value }, function() { });
//callAjax();
//ID = "#" + ID;
if ($(strID)[0].value == "Follow")
{
$(strID)[0].value = "UnFollow";
}
else
{
$(strID)[0].value = "Follow";
}
}
sr_24
27-Feb-13 6:44am
View
Sir I have to do this through my above written JQuery Function ,how can i manupulate this function
function SetID(ID)
{
//debugger;
var strID = "#" + ID;
$.get('Dynamic_page.aspx', { Id: ID, Mode:$(strID)[0].value }, function() { });
//callAjax();
//ID = "#" + ID;
if ($(strID)[0].value == "Follow")
{
$(strID)[0].value = "UnFollow";
}
else
{
$(strID)[0].value = "Follow";
}
}
sr_24
27-Feb-13 6:32am
View
Actually i am crating these buttons at Runtime from Code behind so i can write like this --when a User clicks on my button this Jquery function with Ajax is called
function SetID(ID)
{
//debugger;
var strID = "#" + ID;
$.get('Dynamic_page.aspx', { Id: ID, Mode:$(strID)[0].value }, function() { });
//callAjax();
//ID = "#" + ID;
if ($(strID)[0].value == "Follow")
{
$(strID)[0].value = "UnFollow";
}
else
{
$(strID)[0].value = "Follow";
}
}
so where how can i Identify that my button is clicked on second time or not??
sr_24
27-Feb-13 6:29am
View
Mode:$(strID)[0].value
what Does [o] Means ?? Anyone Please Describe ...thanks in advance
sr_24
27-Feb-13 6:16am
View
how can i do it Bro ??? Dharmendra-18
sr_24
27-Feb-13 6:07am
View
Thanks Sir !!! OriginalGriff
sr_24
27-Feb-13 5:31am
View
Ok ...but in some scenario i have to send parameters values to other pages ,then how could i do pass ,if they are VITAL and UNSECURE ...pls suggest sir ..
If i send USerID instead of UserEmail value will it be secure ????
Thanks
sr_24
27-Feb-13 5:02am
View
Actually i am sending UserEmailId's through Response.Redirect(), Parameters ...will it be safe Now ??????
Is there any way to Encrypt my Response.Redirect() parameter values ???
sr_24
27-Feb-13 5:02am
View
Actually i am sending UserEmailId's through Response.Redirect(), Parameters ...will it be safe Now ??????
Is there any way to Encrypt my Response.Redirect() parameter values ???
sr_24
25-Feb-13 12:54pm
View
thanks sir for ur reply !!! Asim Mahmood
sr_24
25-Feb-13 12:46pm
View
No I want to ask ...can i stop page postback without using UPDATE PANEL ??? is there any other way
sr_24
25-Feb-13 6:59am
View
thanks for ur help ...i am new to asp.net have very little knowledge of jquery ,ajax ,i dont know anything about JSOn,webservices ...Asim Mahmood
...can any more easy way
sr_24
22-Feb-13 5:29am
View
Capitals words were to emphasize the important words ..whats d problem _Amy ???
sr_24
19-Feb-13 23:54pm
View
Now a interviewer asked me this question to my friend ,about the name of software specially for this purpose ,he told the name of the sofw but my friend forgot ???
sr_24
18-Feb-13 7:12am
View
Thanks Pallavi Wailar
sr_24
18-Feb-13 4:00am
View
thanks MDubey87
sr_24
14-Feb-13 2:42am
View
cmd.CommandText = "select CreatedDate 'Posted Date' ,JobTitle,Location,Job_Id,Category from JobForm ";
sr_24
13-Feb-13 23:41pm
View
field name is same as in Table
sr_24
13-Feb-13 11:53am
View
It is still showing the same error---- richcb
DataBinding: 'System.Data.Common.DataRecordInternal' does not contain a property with the name 'CreatedDate'.
sr_24
13-Feb-13 1:27am
View
thanks
sr_24
13-Feb-13 1:27am
View
Deleted
thanks
sr_24
25-Jan-13 7:38am
View
thanks MIlind_T it has updated all rows without where clause
I have changed my sp to this one,
what should i write in WHERE clause so that a record with a particular EMAiL and JS_ID will be updated
CREATE PROCEDURE JSP_ResumeUpdate
@JS_Id [int],
@UserEmailId [varchar](150),
@Name [varchar](50),
@Phone [varchar](200) ,
@Institute [varchar](100) ,
@Batch varchar(50),
@Designation varchar(100),
@Organization varchar(100) ,
@Experience_Months varchar(10),
@Experience_Years varchar(10) ,
@TotalExp int ,
@Industry varchar(300),
@CurrentLocation varchar(100) ,
@PreferredLocation varchar(100) ,
@IsInserted int ,
@IsUpdated int ,
@Result Tinyint OutPut
AS
BEGIN
-- IF EXISTS(SELECT * FROM JS_ResumeInsert WHERE UserEmailId =@UserEmailId )
--BEGIN
-- SET @Result = 0-- Already Exists
--END
--ELSE
-- BEGIN
UPDATE JS_ResumeInsert SET
JS_Id=@JS_Id ,
UserEmailId=@UserEmailId ,
Name=@Name ,
Phone=@Phone ,
Institute=@Institute ,
Batch=@Batch ,
Designation=@Designation ,
Organization=@Organization ,
Experience_Months=@Experience_Months,
Experience_Years=@Experience_Years ,
TotalExp=@TotalExp ,
Industry=@Industry ,
CurrentLocation=@CurrentLocation ,
PreferredLocation=@PreferredLocation ,
IsInserted=@IsInserted ,
IsUpdated=@IsUpdated ,
CreationDate=GETDATE() where UserEmailId=@UserEmailId
set @Result =1
return
--END
END
sr_24
25-Jan-13 6:55am
View
it is generating no error but no updation as well
sr_24
25-Jan-13 6:52am
View
i already have data in table JS_ResumeInsert ,but the stored procedure is not updating it
Show More