9,867,109 members (48,226 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
465,564 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 9,312
Page Size:
10
·
25
·
50
License filtered by: The Code Project Open License (CPOL)
[x]
web service not able to update
by
Lakshmimsridhar
Question
14 May 2013
license: CPOL
I have created one webservice and DB in Ms access. now i need to change it to sqlserver db. I replaced to sqlserver. but when i deployed in IIS still its in Ms access. What is the problem.please let me know.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
WebService
Asynchronous Programming in C# 5.0 using sync and await
by
Assil
Tip/Trick
14 May 2013
license: CPOL
A light article about a new feature in C# 5 and .NET 4.5
Languages
»
C#
»
How To
C#
.NET
Architect
Dev
Beginner
Intermediate
.NET
.NET4.5
An exception safe OO thread-pool framework
by
Peter Hancock
Article
14 May 2013
license: CPOL
Provides a plug in multithreaded environment, using an exception safe thread-pool and functors.
General Programming
»
Threads, Processes & Ipc
»
Threads
VC6
VC7
Win2K
WinXP
Dev
Intermediate
C++
Windows
Continuous Database Integration
by
Peter Hancock
Article
14 May 2013
license: CPOL
Using NAnt and CruiseControl.NET to continuously integrate database changes
Development Lifecycle
»
Design And Architecture
»
General
SQL2000
SQL2005
SQL
Windows
.NET
Visual-Studio
Architect
DBA
Dev
Advanced
, +
Loosely Couple Your Tests
by
Peter Hancock
Article
14 May 2013
license: CPOL
Loosely couple your tests from your implementation to allow your implementation to be refactored, without having to change the tests
Development Lifecycle
»
Design And Architecture
»
General
Windows
Visual-Studio
Architect
Dev
QA
Beginner
Add input text field which allows numeric values only
by
Murali0195
Answer
14 May 2013
license: CPOL
Hi...validate textbox with RegularExpressionValidator like blow.its allow only numeric values only into textbox.
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
HTML
how to view a "$" in my label
by
NarasimhaMurthy
Answer
14 May 2013
license: CPOL
You can use to format your value to currency format
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Login page using MVC 4 using ldap should populate domains' dropdownlist
by
sarvankarthik
Question
14 May 2013
license: CPOL
I'm writing a web-app that is required to present users with a login screen.Users can enter username/password and select a domain from a dropdown list.how to enumerate all available domains in the server's AD forest even before user login after basic authentication? I came to know that...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
Razor
LDAP
MVC4
compare values in a list using lamda expression c#
by
rohit24c
Question
14 May 2013
license: CPOL
Hi, I have a list ={1,1,2,3,4,5}I want to comapre the items in a list.var LST= (from i in list join j in list on i.val equals j.val select i).ToList();But this doesnot work.Any suggestion Plz
General Programming
»
Uncategorised Quick Answers
»
General
Linux
How to Remove duplicate data From table in sqlserver table
by
Prasad C.M.
Answer
14 May 2013
license: CPOL
Try this one ..SELECT Name, MAX(ID) FROM tablenameGROUP BY Name
General Programming
»
Uncategorised Quick Answers
»
General
sqlserver2008
Error while creating HttpSession. Please do me the needfull
by
Shruthi GM
Question
14 May 2013
license: CPOL
Login.jsp
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
Servlet
YouTube™ API for ASP.NET
by
DrABELL
Article
14 May 2013
license: CPOL
YouTube™ API for ASP.NET, AJAX-extended (C#).
Web Development
»
Asp.Net
»
Samples
C#
ASP.NET
Javascript
CSS
.NET
Visual-Studio
HTML
Dev
WebForms
Ajax
, +
Hoe to Store Value From Dataset To SQL Database
by
José Amílcar Ferreira Casimiro
Answer
14 May 2013
license: CPOL
Hello,I recommend you to start read here: ADO.NET -> http://msdn.microsoft.com/en-us/library/e80y5yhx.aspx[^]Bye.
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
C#4.0
.NET4
how to view a "$" in my label
by
Masoom Mir
Answer
14 May 2013
license: CPOL
$
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Hoe to Store Value From Dataset To SQL Database
by
Rohit Pandit
Question
14 May 2013
license: CPOL
Hello AllI have A Dataset and i also created some rows, but i want to add this table in my database how is that possible..??plz help... DataSet ds1 = new DataSet(); DataTable dt = new DataTable("Emp"); dt.Columns.Add("Name",typeof(string)); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
C#4.0
.NET4
context.SaveChanges() not persisting data in database
by
José Amílcar Ferreira Casimiro
Answer
14 May 2013
license: CPOL
Hello,Please read this articles:http://msdn.microsoft.com/en-us/library/bb896271.aspx[^]http://stackoverflow.com/questions/8056761/context-savechanges-not-working[^]Your object is probably detached from the context object.Bye.
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
SQL2008
MVC
arrangement based on dates
by
ali from hyd
Question
14 May 2013
license: CPOL
hi, for my table i am having the data as belowRF_Code Date Time 104 2013-01-01 09:00:00104 2013-01-01 18:12:00104 2013-01-02 09:02:00104 2013-01-02 19:05:00105 2013-01-01 09:30:00105 2013-01-01 18:30:00for a particular month...
General Programming
»
Uncategorised Quick Answers
»
General
MySQL
Lazy Loading using JQuery
by
Tadit Dash
Answer
14 May 2013
license: CPOL
You need to go through some articles and try to learn and implement. Follow the below ones.1. Lazy Load Plugin for jQuery[^].2. How to 'lazy'-load images with jQuery[^]
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
jQuery
Publish form to pdf report
by
Maciej Los
Answer
14 May 2013
license: CPOL
Have a look here: Programmatically Complete PDF Form Fields using Visual Basic and the iTextSharp DLL[^]
General Programming
»
Uncategorised Quick Answers
»
General
VB
how to validate datetimepicker value changed in C#
by
Johnny J.
Answer
14 May 2013
license: CPOL
Don't post the same question more than once. I have already answered it here:How to find out if datetime picker value is changed or not?[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to access the contentpage controls in javascript
by
sachin kakade
Answer
14 May 2013
license: CPOL
Please use JQUERY$(document).ready(function(){ $("[$id='btnSubmit']").click(function(){ if($("[$id='txtBloodGroup']").val() == ''){ alert("Please enter blood group name"); } });});
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
How to add Items like attribute of ListBox to a custom control?
by
lukeer
Answer
14 May 2013
license: CPOL
That's a job for a custom UITypeEditor[^]. See the link for an example on building an editor for your custom object that works with .NET's PropertyEditor.
General Programming
»
Uncategorised Quick Answers
»
General
C#
WinForm
WIndow Application c# and MySql Database
by
Shubh Agrahari
Question
14 May 2013
license: CPOL
Hello Proffessionali am developing Window Application With MYSql Database for some reasons.but i dont know how to make setup of my window project in Visual Studio with Mysql Database.that can easily run on client computer without installing MySql DataBase Setup.Have Any...
General Programming
»
Uncategorised Quick Answers
»
General
C#
MySQL
how to validate datetimepicker value changed in C#
by
Pheonyx
Answer
14 May 2013
license: CPOL
you cannot do a logical comparison on an event.ValueChanged is an event on the control not a property.Hence your error.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Accessing pieces of combined model in controller
by
jfabus09
Question
14 May 2013
license: CPOL
This might be difficult to explain but please bear with me... So, I have a model that combines two different models so that I can utilize data found in both in one view: Combined:public class EventFullModel{ public AccessListModel AccessPointsList; public EventListModel...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
MVC
How to Remove duplicate data From table in sqlserver table
by
rk_prabakar
Answer
14 May 2013
license: CPOL
Hi nandkishore,Try using distinct keyword to remove duplicates from the table.likeSELECT DISTINCT(Name),ID FROM tablenameI hope this could help you out.Regards,RK
General Programming
»
Uncategorised Quick Answers
»
General
sqlserver2008
How to write xml string
by
Rajesh Yerramsetti
Question
14 May 2013
license: CPOL
Please help me in solving the error. My Problem is I actually getting xml String from Web service,I am storing that string into XML File and reading the file using xml.reader();But will getting the string from web service if there is empty xml node the node is geting in single tag...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP
.NET
Regarding SQL Server Membership
by
José Amílcar Ferreira Casimiro
Answer
14 May 2013
license: CPOL
Hello,View this article:ASP.NET SQL Server Registration Tool - http://msdn.microsoft.com/en-us/library/ms229862(v=vs.100).aspx[^]This tool creates all the objects needed in the sql server.Bye.
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
MVC
Modify an existing xml
by
OriginalGriff
Answer
14 May 2013
license: CPOL
An XML file normally has a header line such as you describe - it is optional, but recommended, and XDocument always adds it when you use the Save method.If it really disturbs you, you need to use an XmlWriter instead - it has an option to turn it off. XDocument doc = new...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
How to get the right LPITEMIDLIST to use for IShellLink::SetIDList
by
Oso Oluwafemi Ebenezer
Question
14 May 2013
license: CPOL
Please how can I get the right LPITEMIDLIST to use for IShellLink::SetIDList?I triedHRESULT hr = S_OK;ULONG celtFetched;LPITEMIDLIST pidlItems = NULL;LPITEMIDLIST netItemIdLst = NULL;IShellFolder* pPrinterFolder = NULL;IEnumIDList* pEnumIds = NULL;IMalloc* pMalloc =...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
COM
Shell
limit pages in aspx by username and password
by
abhishek b patel
Answer
14 May 2013
license: CPOL
Hello You can restrict anonymous user by two methods1)By Using Session In this method you have to mantain the UserId in session and have to check the session variable on PageLoad or PageInit event of the page.If the UserId is your you can carry on , else you can redirect the user to...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Lazy Loading using JQuery
by
ashishbisen
Question
14 May 2013
license: CPOL
Hi AllI want to implement a Lazy Loading using jquery to implement this what are the thing we need to do.Thanks in Advance.
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
jQuery
Modify an existing xml
by
sharmarun
Question
14 May 2013
license: CPOL
Hi allI have to remove declaration from existing xml using C#
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
GetExtension Method code example
by
max_nowak
Answer
14 May 2013
license: CPOL
If you mean the extension of a file, this is a good example.http://www.richelbilderbeek.nl/CppGetExtension.htm[^]If you don't, please put your question more elaborate.
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
Regarding SQL Server Membership
by
yrishi
Question
14 May 2013
license: CPOL
Hi,I am planning to implement Membership into my Asp.Net-MVC web application.My question is, which table should I used to provide application page based access to respective User roleEx. Customer - View Only, AddAdmin - Add,Update,DeleteSomething like this.Do I need to...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
MVC
Modify an existing xml
by
José Amílcar Ferreira Casimiro
Answer
14 May 2013
license: CPOL
Hi sharmarun,Did you check all constructors available for XDocument class? Check hereYou need to instance XDocument class with no declaration element/object.For example:XDocument doc = new XDocument();doc.Add(new XComment("This is a comment"));doc.Add(new XElement("Root",...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Need to connect linq with mysql
by
Sudhakar Shinde
Answer
14 May 2013
license: CPOL
Here is the [Sample link] as required by you.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
LINQ
MySQL
VisualStudio2010
How to Remove duplicate data From table in sqlserver table
by
nandkishorre
Question
14 May 2013
license: CPOL
How to Remove duplicate data From table in sqlserver tableMy table Data :ID   Name344B6794 VisalCA6B5B10 Raghu9DC012F7 VisalFDC12AC1 Raghu9B439B6F RakeshF9F7D96A NareshA28909C3 RakeshI need to get below data...
General Programming
»
Uncategorised Quick Answers
»
General
sqlserver2008
Add Auto Scroll to a window with multiple buttons
by
yloginov
Answer
14 May 2013
license: CPOL
put your buttons inside the System.Windows.Forms.Panel and set AutoScroll = truemore info here:Customize a panel with Autoscroll property[^]
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
programming
Scrollbar
Scrolling
modify word document
by
Douglas D. Wolf
Answer
14 May 2013
license: CPOL
Hi, as an alternative to C# word automation (Office Interop)you can also very easily C# create Word and edit Word files with this .NET Word component.Here is an example that shows how easy it is to C# edit Word file and save it:// Load a document.var document =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to find out if datetime picker value is changed or not?
by
Johnny J.
Answer
14 May 2013
license: CPOL
You can't use them like that. They're events - not properties. You need to add an eventhandler. Something like:public partial class Form1 : Form{ private bool dateChanged = false; private void Form1_Load(object sender, EventArgs e) { dateTimePicker1.ValueChanged...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WinForm
How to show accounts in dynamics crm 2011 using silverlight?
by
Tadit Dash
Answer
14 May 2013
license: CPOL
You can refer this MSDN article - Sample: Create, Retrieve, Update and Delete Using the REST Endpoint with Silverlight[^].Please go through this and try to implement.
General Programming
»
Uncategorised Quick Answers
»
General
Silverlight
Dynamics
crm
How to show accounts in dynamics crm 2011 using silverlight?
by
- NA -
Question
14 May 2013
license: CPOL
hi m new to the dynamics CRM 2011. and i want to show all accounts using custom button which i have already added at the main ribbon. now i want to show all accounts when user click button.please help me in this regardThnx in advance.
General Programming
»
Uncategorised Quick Answers
»
General
Silverlight
Dynamics
crm
Import excel data into mysql
by
Murali0195
Answer
14 May 2013
license: CPOL
Hi...its may helpful to u.write blow cmmd in mysql command promt window.Load data local infile ‘file path’ into table databasename fields terminated by ‘,’ enclosed by ‘”’ lines terminated by ‘\n’;this way also excel file insert into database through command.thank u.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to add Items like attribute of ListBox to a custom control?
by
Ibrahim Adham
Question
14 May 2013
license: CPOL
I want to add a custom attribute to a custom button control like Items attribute of ListBox Control so that user can add item to custom button control using designer editor.public List LstOfValues = new List(); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WinForm
how can i get the below output using ms access database.
by
Member 8054539
Question
14 May 2013
license: CPOL
Query as follows; select Sch_Date,session,Faculty_Code from Tb_SCh_TIme_Table where course = 'cl2'; when i execute the above query,output as follows in Ms access...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to find out if datetime picker value is changed or not?
by
leaderbalaji
Question
14 May 2013
license: CPOL
There are two events. One is ValueChanged and another one is TextChanged If value is changed then I can do something that is my need actually But following two conditions getting same error How to know the value is changed or not? if (datetimepicker.ValueChanged == true) ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WinForm
vb console application
by
OriginalGriff
Answer
14 May 2013
license: CPOL
"is it posible to take reference to c#."Yes. You can use assemblies from any .NET language in any other .NET language."how to get dll or reference file."Right click your project, and select "Add Reference". It's pretty obvious from there, but the exact details will depend on your...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Horizontal menu with vertical cascading
by
Avik Ghosh22
Answer
14 May 2013
license: CPOL
http://stackoverflow.com/questions/10477184/pure-css-vertical-menu-with-submenu[^]http://www.welovecss.com/showthread.php?t=922[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Word Processoing Application
by
Douglas D. Wolf
Answer
14 May 2013
license: CPOL
Hi, just to add to Sergey's solution, if you use FlowDocument for your GUI than try this C# Word component. With it you can easily implement your business layer for manipulating in .NET docx files.
General Programming
»
Uncategorised Quick Answers
»
General
Windows
C#
C#4.0
Page 1 of 9,312
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid