15,887,936 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 Rishikesh_Singh (Top 41 by date)
Rishikesh_Singh
24-Nov-19 7:12am
View
What exact error are you getting?
Rishikesh_Singh
12-May-16 22:31pm
View
Instead of creating multiple solution , edit the existing solution.
Rishikesh_Singh
12-May-16 3:08am
View
Can you check what is the difference in your query when you run directly in ssms and query generated by linq in sql profiler
Rishikesh_Singh
14-Apr-16 9:42am
View
Contract in web.config doesn't look correct, it should be namespace.interface
Update it to whatever namespace you have defined for interface
Rishikesh_Singh
14-Apr-16 8:41am
View
For "contract="IcxnService.IIcxnService">" , you would have defined the interface "IIcxnService" in your webservice code, since this is local webservice . Paste that interface code here.
Rishikesh_Singh
14-Apr-16 4:38am
View
What is the issue here?
If you run this , it would return you inner text "August 2009".
If your obj.completion_date is not string then you will need the date to be casted.
Rishikesh_Singh
14-Apr-16 4:16am
View
Could you plz put your service contract code also
Rishikesh_Singh
14-Apr-16 4:00am
View
Since this 2 services a part running in application context, I think you need to add it in config file of your main project.
Rishikesh_Singh
13-Apr-16 1:30am
View
Is it winform application or web application. Please add the code otherwise it's difficult to find the issue.
Rishikesh_Singh
19-Mar-16 11:48am
View
What are you trying doesn't look difficult.
Where are you stuck? Its better if you ask specific question.
Rishikesh_Singh
18-Mar-16 10:59am
View
there is nothing like autopostback in mvc like webforms. You have to do something like below
@Html.DropDownListFor(model => model.PersonTitle, new SelectList(@ViewBag.Titles, "Value", "Text"),
new { onchange = @"
var form = document.forms[0];
form.action='<methodnameyouwanttocall>';
form.submit();"
} ) %>
OR make a ajax call like
$('ddl').change(function() {
$.ajax({
url: 'yoururl'
.....
Rishikesh_Singh
16-Mar-16 22:28pm
View
I'm assuming the winform app is accessing internet (making some webservice call) from your question. When user with the same account pushes the button from his windows phone
you listen to that event on the server and end the webservice call.
Rishikesh_Singh
10-Mar-16 3:50am
View
Deleted
ADO.Net provide set of classes that are used to access the data sources such as SQL. You are already using ADO.Net as classes such as SqlConnection ,SqlCommand ,SqlParameter etc are part of ADO.Net. You don't need to convert it.
In the above code SQLConnection allows you to connect to database, and SQLCommand allows you to run the command which is in form of query strSelect. The result returned by running the query against the database is filled into dataset dsPWD which is in-mem
Rishikesh_Singh
19-Apr-14 3:08am
View
Seems like my somebody from this post has assumed that i have downvoted their post and has downvoted this and all other my earlier posts...
Can i do the same, its just a click away.. loser.
Rishikesh_Singh
18-Apr-14 16:54pm
View
I can assure you its not difficult and now as a ASP.Net developers we cannot ignore power of JS . Microsoft themselves have realized it and have started adding JQuery library as default in all the VS projects starting 2010. They themselves are moving away from these server side controls as is evident from their recent MCPD certifications.
Rishikesh_Singh
18-Apr-14 12:46pm
View
What is the error you are getting? If you are calling from .net client then on adding the webreference it would generate the proxy with TestClass class for you to use. Can you post the client code you are using. Also check in Fiddler or WCF trace using traceviewer if you are getting any error .
Rishikesh_Singh
17-Apr-14 7:07am
View
I don't think that there is much difference bw vs 2005 or 2010 for report viewer...n u won't find vb for everything. ..There is small different bw vb n c# syntax..i suggest you to learn to understand c# n vb difference, even if u r primarily vb programmer
Rishikesh_Singh
4-Nov-13 2:50am
View
Check the exception and inner exception. Check the value of your each parameter and also double check your column datatype of the table you are trying to insert. If you still can't figure it out,update your question with all the information i mentioned.
Rishikesh_Singh
25-Mar-12 8:42am
View
what do you want to test?
You can get the value from the appconfig file using
ConfigurationManager.AppSettings[key];
Rishikesh_Singh
22-Mar-12 8:01am
View
yeah sorry about that.. but we really don't have any option in Checkedlistbox to disable. The best option seems to be creating either custom Checkedlistbox control deriving from CheckedListBox
or by using ListBox control and adding Checkbox controls to it like eg given at
social.msdn.microsoft.com/forums/en-US/winforms/thread/49927751-edc3-4c5c-97fe-8d192c2cfaa3/ by Zhi-Xin Ye.
Rishikesh_Singh
21-Mar-12 22:03pm
View
Deleted
would be happy if anyone downvoting provide some info or better alternative while downvoting.. doesn't make sense going to all post and downvoting senselessly
Rishikesh_Singh
21-Mar-12 22:02pm
View
Looks like the OP meant Winform by saying its not ASP.net.
Rishikesh_Singh
21-Mar-12 21:59pm
View
Reason for downvoting. isn't it correct way to disable particular item in winform application?
Would be happy if anyone downvoting provide some info or better alternative while downvoting.
Rishikesh_Singh
21-Mar-12 12:50pm
View
sorry already answered
Rishikesh_Singh
5-Mar-12 1:06am
View
May be i should have been more clearer in my question. Thanks anyway for helping almost all of us asking questions here.
Rishikesh_Singh
4-Mar-12 6:26am
View
There is a nice article here explaining the importance of PDB files
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/05/11/pdb-files-what-every-developer-must-know.aspx
Rishikesh_Singh
4-Mar-12 6:14am
View
I know there is no need to preserve PDBs and it doesn't come with Source, and i don't think any programmer will not know this.
In my question i didn't mention that for debugging i need PDB files , I said when we attach Running program(Attach to process option) to debugger then we need PDB files.
I read somewhere that if we maintain Source Store and Symbol store and source is indexed with Symbol then we can debug the application in QA or any environment without having actual Source there (but ofcourse visual studio is needed there)
Rishikesh_Singh
3-Mar-12 23:21pm
View
What about the Symbol store and source store that microsoft and many other companies are are maintaining.. May be not always but just because its confusing for some.. shouldn't be reason.
Rishikesh_Singh
29-Feb-12 12:27pm
View
thanks didn't know about this..
Rishikesh_Singh
28-Feb-12 22:15pm
View
Thanks Andreas
Rishikesh_Singh
28-Feb-12 22:14pm
View
5 from me too..
Rishikesh_Singh
28-Feb-12 21:00pm
View
Hi SA thanks for sharing this.. i know no one can give all the scenarios but whatever can be suggested is fine and will help me in thinking about using Reflection in more scenarios where i have initially thought of.
My 5
Rishikesh_Singh
28-Feb-12 0:37am
View
Deleted
thanks nikhi
Rishikesh_Singh
27-Feb-12 6:39am
View
public static string GetConnectionString(string name)
{
try
{
return ConfigurationManager.ConnectionStrings[name].ConnectionString;
}
catch (ConfigurationException oex)
{
throw oex;
}
catch (Exception oex)
{
throw oex;
}
}
Rishikesh_Singh
27-Feb-12 5:12am
View
I think your question is not very clear. Try rephrasing it to get proper help.
Rishikesh_Singh
27-Feb-12 5:10am
View
what do you mean by view? Are you saying you have to display it in grid in UI and you have pagination there.
Rishikesh_Singh
25-Feb-12 10:25am
View
@Naerling i think you are only thinking in terms of LINQ and i don't think Sundar has asked about LINQ or about ORM. He is just asking about applying OOPS concept. since he just told if he has Product how he can think about applying OOPS.I believe it might be easier to answer if we know his project requirement and how different entities are related.
If you have different product say Cycle,Car its not wrong in having a abstract class say product with all the common properties and method in Abstract class and overriding it in your actual Product like Cycle Car.
I agree when you say its very general topic but if you just give simple examples it will help more rather than saying its very wide topic.
Rishikesh_Singh
22-Feb-12 9:37am
View
Use Sqlprofiler and see exactly what is the query generated when you submit.
I think i just checked if the value is null pass empty.
Rishikesh_Singh
21-Feb-12 2:16am
View
Thanks and i mark it as answered.
Rishikesh_Singh
21-Feb-12 0:39am
View
Thanks for the link. i think i was not clear with my question so i have rephrased it.
Rishikesh_Singh
21-Feb-12 0:38am
View
Thanks for your suggestion, but i think my question was not very clear so i have rephrased it.
Show More