9,869,444 members (35,643 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,704 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,315
Page Size:
10
·
25
·
50
License filtered by: The Code Project Open License (CPOL)
[x]
how can i get the output in ms access database
by
Maciej Los
Answer
14 May 2013
license: CPOL
Have a look here:HOW TO: Transpose Data in a Table or Query in Access 2000[^]Transpose data from columns into rows using SQL[^]and try to it by yourself.
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to call ascx page to razor in mvc
by
PratapReddyP
Answer
14 May 2013
license: CPOL
No server controls in MVC Razor. Use a Partial View instead.
General Programming
»
Uncategorised Quick Answers
»
General
MVC
how can i get the output in ms access database
by
Member 8054539
Question
14 May 2013
license: CPOL
Allotment table as follows in Ms access database Sdate Period Staff 14/5/2013 1 TR 14/5/2013 2 MD 15/5/2013 1 SG 15/5/2013 2 GV from the above Allotment table, i want the output as follows in ms access database Sdate ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to rediect from one action to another action within two diferent ccontroller
by
PratapReddyP
Answer
14 May 2013
license: CPOL
The above code will return the markup for the Events/Index to JQuery method.The post method of Home controller should be "void" in your case, and then just remove return before RediectToAction().It will give you desired result.
General Programming
»
Uncategorised Quick Answers
»
General
MVC
How to get WPF Menu items names when window loaded?
by
Clifford Nelson
Answer
14 May 2013
license: CPOL
I have not actually tested this, but it should work for your simple case:var names = baseMenu.Items.Cast().Select(j => j.Name);What I have had to do is dynamically change a context menu depending on the selected record. I used the ContextMenuOpening event and then used a method in the...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
Overloaded variable type?
by
Zoltán Zörgo
Answer
14 May 2013
license: CPOL
Might not be the most elegant one, but it is a working solution:using System;using Newtonsoft.Json;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { Newtonsoft.Json.JsonSerializerSettings jsonSettings = new...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
i want to show the faculty rating from the database using sql server
by
Member 8054539
Question
14 May 2013
license: CPOL
My query as follows; SELECT F.facname, BA.examdate, FD.bfid, FD.rate FROM faculty F JOIN bthfac B ON F.facid = B.facid JOIN facfeedback FD ON FD.bfid = B.bfid JOIN batch BA ON BA.bthid = B.bthid...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Arrays declared as structure members cannot be declared with an initial size
by
Amy Adams
Question
14 May 2013
license: CPOL
I have the following code in VB6. How can I re-write this in Visual Studios 2012? As it is written below, I get the following error message: "Arrays declared as structure members cannot be declared with an initial size. "I've seen possible alternatives to how this should be written...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB10
How to get WPF Menu items names when window loaded?
by
Pheonyx
Answer
14 May 2013
license: CPOL
There are various approaches you could take to achieve this.one could be to do a foreach loop on the form.controls collection where you are searching for a control of type MenuItem, then collect the name property from it and put that in an array. Then when you want to retrieve a control you...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
Map pin markers on a HTML Imagemap in a VB.net Webbrowser control
by
psypgmr
Question
14 May 2013
license: CPOL
I have a VB.Net 2005 project that uses a WebBrowser control on a windows form. On the control, I have created an imagemap using HTML and javascript. When a user clicks on the imagemap, a marker (like a map pin) is displayed where the user clicked, and prescribed processing for that section of...
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
HTML
VB
VB.NET
problem with refresh image in updatepanel
by
NJRoha
Answer
14 May 2013
license: CPOL
You might want to try F12 Developer Toolbar in IE/ FF - Web Console tools to find out what is wrong in the rendered output.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Ajax
C#
C#4.0
updatepanel
How to Remove duplicate data From table in sqlserver table
by
Adarsh chauhan
Answer
14 May 2013
license: CPOL
well in your case there is no duplicate data in table,but if you consider only names as duplicate data then you can get distinct data in following ways...select MIN(ID), Name from tbl_1group by Nameorselect MAX(ID), Name from tbl_1group by Namechoose any of above according to...
General Programming
»
Uncategorised Quick Answers
»
General
sqlserver2008
2 Connection Strings - Entity Framework- select at runtime
by
Luci C
Answer
14 May 2013
license: CPOL
So this is how I have solved:1. Modified the App.config like: and this is DatabaseConnectionDetails.config:
General Programming
»
Uncategorised Quick Answers
»
General
C#
MySQL
related to validation
by
NJRoha
Answer
14 May 2013
license: CPOL
I see that you have SetFocusOnError="true" propery set for RequiredFieldValidator.since it is set when there is validation failure, focus will be set to the control which failed in validation. Set SetFocusOnError="false", if you wish to change that behaviour.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Fabric Image Map Editor, ImageMapster, and Virtual Designers
by
Bill SerGio, The Infomercial King
Article
14 May 2013
license: CPOL
How to Use the Fabric JQuery Library to Create Image Maps
Web Development
»
Html / Css
»
General
Javascript
HTML
Advanced
What does it take to build a cloud-based SaaS Web app?
by
Neville Solomon
Question
14 May 2013
license: CPOL
Hi everyone, I joined this forum because I was hoping to learn from experts in programming. I know next to nothing about it.I want to develop a web app for lawyers, and plan to outsource it's development to a programmer. But I have no idea what I should look for, what language I want it to...
General Programming
»
Uncategorised Quick Answers
»
General
PHP
Web-Development
Reading Text File from the folder and Export To Excel in c#.net
by
Maciej Los
Answer
14 May 2013
license: CPOL
It's simple to achieve. Belive me...Steps to do:1) get file names from directory to List[^] generic class2) export values from List to ExcelJust try!Please, follow below links:How to: Enumerate Directories and Files[^]Exporting a List of any type to Excel[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Css Position fixed cannot view hole page text
by
Kurac1
Question
14 May 2013
license: CPOL
i have much text that i have placed in a div class , there i have .scroll { position: fixed; } i am trying to make that the scroll follows the text but the text is large bigger then the screen height, because my page has much text i only can view the half text? what...
General Programming
»
Uncategorised Quick Answers
»
General
CSS
Overloaded variable type?
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license: CPOL
Makes no sense at all.There is no such thing as "overloading", except ugly and very confusing terminology and some myths. (So many beginner have been confused! It's can be observed on CodeProject.) Methods are "overloaded" because nothing is overloaded. They are just different methods with...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Overloaded variable type?
by
xxhatred
Question
14 May 2013
license: CPOL
Hi,Is it possible have a variable with the same name that can either be a string or an object that contains a string?For example:public mynameobj{ value: string { get; set; }}public string myName { get; set; }public mynameobj myName { get; set; } // overload somehow,...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Find column Width and Column ID
by
Maciej Los
Answer
14 May 2013
license: CPOL
I would suggest you to ask a question on proper forum.Please, follow below links:Grid - Column/Row...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How We insert a record into ms access database 2010 from visual studio 2010 using visual c#.
by
Maciej Los
Answer
14 May 2013
license: CPOL
Please, follow below links: Walkthrough: Editing an Access Database with ADO.NET[^]Using an Access 2007 database with ASP.NET 3.5 and Expression Web 3[^]How to add data in ms access 2010 using VB.net 2010[^]It should be enough for start.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
MS-Access
How to get WPF Menu items names when window loaded?
by
Eng. Hudhud
Question
14 May 2013
license: CPOL
I'm new in WPF and I have this :
General Programming
»
Uncategorised Quick Answers
»
General
WPF
PostgreSQL and Building Reports
by
Runner55Code
Question
14 May 2013
license: CPOL
What do PostgreSQL users use to build reports? Is Spotfire TIBCO Software a good package for PostgreSQL?
General Programming
»
Uncategorised Quick Answers
»
General
PostgreSQL
Connection to database - MS Visual Studio 2012 to MS SQL Server 2005
by
- NA -
Answer
14 May 2013
license: CPOL
Yes indeed, the code throws me an exception:Troubleshooting Exceptions: System.Data.SqlClient.SqlExceptionIn the line:WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(WorkflowConsoleApplication4.Workflow1));>>>Could not find stored procedure...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
Database access doesn't work
by
Luthecia
Answer
14 May 2013
license: CPOL
After reading for a while and searching in numerous forums, I finally found my mistake.The field i was selecting in my own DataBase was not an "int", it was a smallint.I had to useConsole.WriteLine(lecteur.GetSqlInt16(0));I found the list of the data types at...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
SQL2008
Extraction of configuration from custom configuration file
by
Serdar Kurbanov
Article
14 May 2013
license: CPOL
Library for extracting configuration settings from custom configuration file is provided.
Desktop Development
»
Files And Folders
»
Configuration Files
C#
.NET
Dev
Intermediate
Database access doesn't work
by
Luthecia
Question
14 May 2013
license: CPOL
Hi :)I've been trying to work on a project for my little company.I bought a book to learn and test how SQL works with C# and everything.Working with the database they provide in the book worked just fine.But now, when I try to make my own database following their instructions,...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
SQL2008
Fetch data from two table by specific data in sql
by
Maciej Los
Answer
14 May 2013
license: CPOL
I'm not sure that i understand you well, but... check this:DECLARE @tabA TABLE(Mid INT, orgID INT)INSERT INTO @tabA (Mid, orgID)VALUES(1, 1)INSERT INTO @tabA (Mid, orgID)VALUES(2, 2)INSERT INTO @tabA (Mid, orgID)VALUES(3, 2)INSERT INTO @tabA (Mid, orgID)VALUES(4,...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
Server
Install Windows on Tablet Samsung
by
OriginalGriff
Answer
14 May 2013
license: CPOL
In all probability, you don't.AFAIK, the only version of windows that works on an ARM based processor is RT - and there is no guarantee that it will work.Start here:...
General Programming
»
Uncategorised Quick Answers
»
General
tablet
2 Connection Strings - Entity Framework- select at runtime
by
RaisKazi
Answer
14 May 2013
license: CPOL
To change connection of Entity Framework dynamically, you will have to pass connection string to the constructor of DataContext class as below. string connection = "YourConnectionString";DataContext myDataContext = new DataContext(connection);Quote:And how can I get tho login information...
General Programming
»
Uncategorised Quick Answers
»
General
C#
MySQL
Fetch data from two table by specific data in sql
by
rajesh@1989
Question
14 May 2013
license: CPOL
Table A -------- Mid orgID1 1 2 23 24 4Table B---------id Mid MemberID 1 1 2 2 1 3 3 1 4 4 2 1 5 2 3 6 2 4 7 4 2 8 4 3In above case orgId and MemberID is equivalent or treated as same.If I have...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
Server
Install Windows on Tablet Samsung
by
Richard MacCutchan
Answer
14 May 2013
license: CPOL
https://www.google.com/search?q=How+do+I+install+Windows+on+a+tablet+with+Android+OS[^].
General Programming
»
Uncategorised Quick Answers
»
General
tablet
How to pass child notifications to main window?
by
JackDingler
Answer
14 May 2013
license: CPOL
Use Spy++ to catch the messages going to your windows. This tool will give a you an inside view where the messages are going and will give you insight into how to catch them.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
how to access list item element in javascript
by
mhd.sbt
Answer
14 May 2013
license: CPOL
ok I solved this problem by below code:code behind: protected List objListItems = new List();And in javaScriptalert('')alert('')
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to print div in asp web page in windows xp?
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license: CPOL
This article explains how to print using ASP.NET:http://www.c-sharpcorner.com/uploadfile/rahul4_saxena/printing-in-Asp-Net/[^].Note that the server side only provides printable content, and all the detail of printing selection, printing quality and other options totally happens on the...
General Programming
»
Uncategorised Quick Answers
»
General
CSS
HTML
Database access doesn't work
by
OriginalGriff
Answer
14 May 2013
license: CPOL
The only place you are casting in that code fragment is when you try to get the value from the database:Console.WriteLine(lecteur.GetInt32(0));Which implies that the value in the first column of your table (or the "Sunfuki" table) is not an integer value.Have a look in SSMS at the table...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
SQL2008
Bool To Content Converter
by
Francisco T. Chavez
Tip/Trick
14 May 2013
license: CPOL
Bool to content converter
Platforms, Frameworks & Libraries
»
Windows Presentation Foundation
»
General
C#
.NET
Dev
XAML
WPF
Design
Beginner
Implementing Dictionary.RemoveAll
by
Michiel du Toit
Tip/Trick
14 May 2013
license: CPOL
Implementing Dictionary.RemoveAll as an extension method
Platforms, Frameworks & Libraries
»
Linq
»
General
C#
C# Post values from a console application to A web service
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license: CPOL
You cannot get a "simple code" in response to such a vague request. It really depends on the detail of what you want to achieve and your service.However, one thing is obvious: your Web Service application provides some interface to the client application. Your console application is no...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Post
HTTP
SOAP
WebService
Help with Postdata declaration
by
vidkaat
Answer
14 May 2013
license: CPOL
postData = "__VIEWSTATE=" & vState & "&ddlRegion=" & merchantID.Substring(2, 2) & "&txtPassword=%24%24region15%23%23&btnEnter=Enter" & "&__EVENTVALIDATION=" & eventvalidation...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Timings for Four Directory Traversal Algorithms
by
gggustafson
Article
14 May 2013
license: CPOL
This article presents the results of timing four directory traversal algorithms.
General Programming
»
Algorithms & Recipes
»
Algorithms
C#
Windows
WinMobile
Dev
Intermediate
Intercepting messages to a window
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license: CPOL
You can intercept messages by installing a Windows Hook. If you need to intercept some messages outside your application, the hook should be global. According to Microsoft documentation, to make it global, you can only install the hook in a native Windows DLL. Please start here:...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
Connecting to MySQL databases using VB.NET
by
Hassantga
Tip/Trick
14 May 2013
license: CPOL
How to connect to a MySQL database using VB.NET.
Database
»
Database
»
Mysql
VB
.NET
VB
VB.NET
2 Connection Strings - Entity Framework- select at runtime
by
Luci C
Question
14 May 2013
license: CPOL
I have an application that connects to a MYSQL database. I use Entity Framework to do all the job.Now When I first Installed, I set up entity, and resulted in a connection string like this:
General Programming
»
Uncategorised Quick Answers
»
General
C#
MySQL
Database access doesn't work
by
Luthecia
Answer
14 May 2013
license: CPOL
Code is :private void Btn_Chercher_Click(object sender, EventArgs e) { try { SqlCommand cmd; SqlConnection ctn; SqlDataReader lecteur; ctn = new SqlConnection(); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
SQL2008
error in .net web application while opening in IE8
by
eswar.wishes
Question
14 May 2013
license: CPOL
Hi,We are using one .net windows application for viewing the reports.we don't have any issue while opening this application with IE7.Recently our systems are upgraded to windows 7 and IE 8.Please find the example attached screenshot for reference.Here the problem is unable to select required...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to implement a docablepane within a MDI child frame wnd?
by
JackDingler
Answer
14 May 2013
license: CPOL
What Richard MacCutchan said.MFC doesn't implement that feature. You'll have to write it, or borrow it from the existing MFC code.You'll also need to overload your CView notifications for UpdateAllWindows and similar methods, as they are dependent on the windows parent/child relationship...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC C++ MDI OpenGL gl_spot_cutoff problem
by
JackDingler
Answer
14 May 2013
license: CPOL
Try the OpenGL DLL from http://www.mesa3d.org/[^]If that solves your problem, then you've probably found a bug in Radeon driver.
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
OpenGL
Publish form to pdf report
by
- NA -
Answer
14 May 2013
license: CPOL
Hello Maciej,Could you please share ur mail id.Needs to share some more help from your end.Please do the needful.Regards,Yashnara
General Programming
»
Uncategorised Quick Answers
»
General
VB
Page 1 of 9,315
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