15,890,336 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 Harpreet_125 (Top 80 by date)
Harpreet_125
15-Jul-20 11:36am
View
if none are same then value should be 1
Harpreet_125
14-Jun-20 14:31pm
View
tried both... still same
Harpreet_125
12-Jun-20 8:43am
View
It is going to the right path. Debugger is returning false value for the following code.. that's the problem.. but i dont see anything wrong..
if (User.IsInRole("Student"))
{
return Redirect("~/Student/Dashboard");
}
Harpreet_125
24-Dec-18 5:06am
View
giving error... please write full query
Harpreet_125
15-Mar-15 3:13am
View
Actually sir i dont have any idea.. :(
Harpreet_125
19-Feb-15 9:57am
View
no, there are other columns also.
Harpreet_125
19-Feb-15 9:28am
View
can you please tell me how to fit in excel..
Harpreet_125
19-Feb-15 9:27am
View
This is not unique id column.. it can have duplicate values..
Harpreet_125
19-Feb-15 9:27am
View
This is not unique id column.. it can have duplicate values..
Harpreet_125
19-Feb-15 9:27am
View
This is not unique id column.. it can have duplicate values..
Harpreet_125
19-Feb-15 9:27am
View
This is not unique id column.. it can have duplicate values..
Harpreet_125
31-May-14 3:33am
View
when i create new application and drag and drop createuserwizard then it is working fine.. what should be the possible reason?
Harpreet_125
31-May-14 3:14am
View
i also tried this but with this approach textbox is not accessible because it is in the createuserwizard control..
Harpreet_125
31-May-14 3:09am
View
I am doing same like this but it is still being postback.. i don't know why...
Harpreet_125
31-May-14 2:06am
View
Thank you so much Damith SL.
Harpreet_125
31-May-14 1:51am
View
below is my markup..
Harpreet_125
21-May-14 8:09am
View
It is giving url exactly what i have written in code.
Harpreet_125
21-May-14 8:08am
View
No, it's not working.. It is giving url like http://localhost:53345/max/Default.aspx?ProductId=%3C%# DataBinder.Eval(Container.DataItem, "Id")%>+<%# DataBinder.Eval(Container.DataItem, "parent")%>
Harpreet_125
17-Apr-14 13:14pm
View
But i did not set any username or password for database..
Harpreet_125
28-Mar-14 6:35am
View
is it not possible to integrate blogger comment system in my website??
Harpreet_125
28-Mar-14 6:13am
View
i want comment box like blogger...
Harpreet_125
28-Mar-14 6:13am
View
i want comment box like blogger...
Harpreet_125
28-Mar-14 6:13am
View
i want comment box like blogger...
Harpreet_125
18-Mar-14 3:41am
View
thanks.. this is working for me...
Harpreet_125
18-Mar-14 3:33am
View
i have updated my question.. please go through my question and answer me again..
Harpreet_125
18-Mar-14 3:33am
View
i have updated my question.. please go through my question and answer me again..
Harpreet_125
16-Mar-14 3:17am
View
your code will return false in my case... that's the problem..
Harpreet_125
16-Mar-14 3:15am
View
Sorry, but you did not understand my question..
Harpreet_125
1-Mar-14 2:36am
View
How????
Harpreet_125
25-Feb-14 2:23am
View
how can i use finally block before try block..??
Harpreet_125
25-Feb-14 2:20am
View
you can try this code... you will not be allow to use datareader in finally block...
Harpreet_125
25-Feb-14 2:06am
View
let i do something like this..
while
{
string user_id = dr[0].Tosring();
dr.close();
}
But then the loop will not work for the second time.. Hope you understand..
Harpreet_125
25-Feb-14 2:01am
View
i dont think your code can solve my problem..
Harpreet_125
25-Feb-14 1:56am
View
even it will not insert record for the single time because datareader is used in the second command..
Harpreet_125
25-Feb-14 1:55am
View
Am i right???
Harpreet_125
25-Feb-14 1:55am
View
if i do like this then loop will not work for the second time.. it works fine only for the first time with this..
Harpreet_125
22-Feb-14 7:35am
View
Please suggest full query.. i dont have much knowledge about sql.. tommorow is the last date of project submission.. i will be very-very thankful of yours...
Harpreet_125
13-Feb-14 10:00am
View
i have no idea how to count pairs for a user from database.. like pairs are showing in binary tree. i am saving data same like article.. any suggestions
Harpreet_125
13-Feb-14 9:53am
View
Hope you understand my question now...
Harpreet_125
13-Feb-14 9:53am
View
Hope you understand my question now...
Harpreet_125
13-Feb-14 9:52am
View
Harpreet_125
21-Jan-14 13:32pm
View
can you please tell me how... i am totally new to sql..
Harpreet_125
21-Jan-14 13:32pm
View
can you please tell me how... i am totally new to sql..
Harpreet_125
6-Nov-13 13:12pm
View
please give any sample of doing this..
Harpreet_125
6-Nov-13 13:11pm
View
i am not good in sql.. thats why i am asking :)
Harpreet_125
24-Oct-13 3:58am
View
i have tried but not logged in as a loin state.
Harpreet_125
18-Oct-13 7:23am
View
didnt work..
Harpreet_125
18-Oct-13 7:22am
View
didnt work..
Harpreet_125
17-Oct-13 3:40am
View
it is giving error operatior <= cannot be applied to operands string and string.
Harpreet_125
7-Oct-13 7:34am
View
how can i solve this problem??
Harpreet_125
7-Oct-13 7:19am
View
but i am able to connect and fetch other data from the server.. i am only getting error while login..
Harpreet_125
7-Oct-13 7:00am
View
then how i am able to access data from the server??
Harpreet_125
7-Oct-13 6:54am
View
it is also same like other.. and it is correct.. because it works fine on localhost with the live server..
Harpreet_125
4-Oct-13 12:50pm
View
any idea of doing this??
Harpreet_125
3-Oct-13 9:50am
View
i am binding dynamically with anchor tag..
Harpreet_125
3-Oct-13 7:02am
View
i am doing like that but query variable of class is not accessible on aspx page.
Harpreet_125
3-Oct-13 6:58am
View
but i have to call variable in a class file...
Harpreet_125
3-Oct-13 6:53am
View
actually i want to use query string of default.aspx page in Class1.cs.. i am not able to do that.. because Class file is not accepting Request.QueryString["category"]. so i am thinking that how to retreive querystring of default page in Class file...
Harpreet_125
3-Oct-13 6:43am
View
sorry.. any idea of doing that??
Harpreet_125
1-Aug-13 7:19am
View
Sorry Brother my mistake i was giving column name wrong... extremely sorry.. Appreciate your help.. I am very Very thankful of yours... Thanks..
Harpreet_125
1-Aug-13 7:10am
View
roomNosCSV retrieves value like 'Single-101','Single-102'.
String sqlr = "update roominformation set status = '0' where roomno in ('" + roomNosCSV + "')";
new OleDbCommand(sqlr, coo).ExecuteNonQuery();
i am using single quotation mark with roomNosCSV because my datatype is text.. I think there is the problem. because it gives error like Syntax error (missing operator) in query expression 'roomno in (''Single-101','Single-102'')'.
It gives error because c# adds single quotation marks from self. I hope u understand my problem now.
Harpreet_125
1-Aug-13 6:59am
View
i am using string(text) data type in access database.. And it is giving error like "No value given for one or more required parameters".
Harpreet_125
1-Aug-13 6:38am
View
i have tried as you said but not able to achieve the task.. i think gautam is saying right..
Harpreet_125
1-Aug-13 6:37am
View
it is not working dude..
Harpreet_125
6-Jul-13 14:16pm
View
I am using picturebox in my application.
I am saving the selected image of picturebox in database and then retreive the same image in that picturebox from access database.. Now i want to insert picture box image again in database that is retrieved from database.
Harpreet_125
6-Jul-13 14:14pm
View
I am saving only images..
Harpreet_125
2-Jul-13 9:52am
View
i was trying to use like this. but it is not retreiving unique contact no records.. i dont know why..
Harpreet_125
5-Mar-13 11:49am
View
can you please suggest me query..
Harpreet_125
7-Feb-13 4:29am
View
can you please tell me how to do this practically..
Harpreet_125
4-Jan-13 2:07am
View
can you please tell me how??
Harpreet_125
3-Jan-13 1:26am
View
it is windows application..
Harpreet_125
12-Dec-12 3:05am
View
sir your query is working fine.. but i dont understand your query.. can u explain this..
Harpreet_125
12-Dec-12 2:59am
View
actually what i want is when query found previous date from today'd date whatever it is.. suppose it is 12/19/2012.. then query should not fetch records of other than this date.. hope you all understand my question.. i think your querys will fetch all the previous date records.. i want only single date records...
Harpreet_125
12-Dec-12 2:59am
View
actually what i want is when query found previous date from today'd date whatever it is.. suppose it is 12/19/2012.. then query should not fetch records of other than this date.. hope you all understand my question.. i think your querys will fetch all the previous date records.. i want only single date records...
Harpreet_125
12-Dec-12 2:40am
View
"select * from test_table where [DATE] < "'+System.DateTime.Now.ToShortDateString()+'""
but i think it will retrieve all the previous date records. i dont want that... i have to only fetch single date records that is date before todays date or so on..
Harpreet_125
12-Dec-12 2:37am
View
mm/dd/yyyy
Harpreet_125
12-Dec-12 2:36am
View
i have tried this query... "select * from test_table where [DATE] < "'+System.DateTime.Now.ToShortDateString()+'"".. but it is fetching all the previous date records..
Harpreet_125
12-Dec-12 2:32am
View
yes..
Harpreet_125
12-Dec-12 2:32am
View
but i think it will retrieve all the previous date records. i dont want that... i have to only fetch single date records that is date before todays date or so on..
Harpreet_125
30-Oct-12 5:25am
View
can u plz tell me how to write full query for that ???
Show More