9,867,109 members (44,878 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*
440,826 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
Algorithms & Recipes
Bugs & Workarounds
Collections
Cryptography & Security
Date and Time
DLLs & Assemblies
Exception Handling
Game Development
Internet / Network
Localisation
Macros and Add-ins
Parallel Programming
Programming Tips
String handling
Threads, Processes & IPC
Tools and IDE
Ultrabooks
Uncategorised Quick Answers
Uncategorised Tips and Tricks
WinHelp / HTMLHelp
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 8,817
Page Size:
10
·
25
·
50
Category filtered by: General Programming
[x]
How to return HWND from a function which is designed to return integer.
by
joyjhonson
Question
14 May 2013
license:
CPOL
Hi All,I have a function is designed to return integer type, but I need to return HWND ( handle of an window) of an window from the same function.I am trying to cast as below.However I am not seeing results as expected.Am I doing somthing somthing wrong in conversion?Please let me...
General Programming »
Uncategorised Quick Answers
»
General
C++
VC++
How to implement "Direct Video Recording" functionality in asp.net website
by
sonusharma65
Question
14 May 2013
license:
CPOL
Hi friends..,I want to implement "Direct Video Recording" functionality in my web application. Actually in my web application there is a button for reviews posting. Review posting may be textual or video for reviews. so i want that when user selects video review than his/her pc web came is...
General Programming »
Uncategorised Quick Answers
»
General
C#
ASP.NET
C# image processing fixing scanned image
by
irfanniazi
Question
14 May 2013
license:
CPOL
i have two images both are different in sizes i want to perform some type of translation/transformation on second image so that it should become same as first one. i want that pixels of both images must be exactly at same position. kindly guide me how this can be done and if some one have done...
General Programming »
Uncategorised Quick Answers
»
General
C#
How to Remove duplicate data From table in sqlserver table
by
nandkishorre
Answer
14 May 2013
license:
CPOL
select ID,Name from Table1 as A where ID = ( select top1 ID from Table1 where Name= A.Name)
General Programming »
Uncategorised Quick Answers
»
General
sqlserver2008
Child window doesn't display its own children.
by
Nenad Smiljkovic
Question
14 May 2013
license:
CPOL
Hello everyone! I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I have a main window with a child static control. I have named the variable hsInfo.This static control is created with styles SS_BITMAP, SS_NOTIFY and...
General Programming »
Uncategorised Quick Answers
»
General
C++
Win32
How to calculate Bayesian Average Rating using Bayesian Formula
by
sonusharma65
Question
14 May 2013
license:
CPOL
Hi...friendsI want to calculate average rating for reviews on products using Bayesian Rating Formula in my website. So please clerfy me that how we can implement Bayesian Avg. rating formula or any other reference link where i can found for this.....In Bayesian formula for rating...
General Programming »
Uncategorised Quick Answers
»
General
C#
ASP.NET
mathematics
How to Remove duplicate data From table in sqlserver table
by
Maciej Los
Answer
14 May 2013
license:
CPOL
Maciej Los - wrote:Based on which criteria?nandkishorre - wrote:Based on Name bind only name and idIt's not possible, because names are duplicated, but id's not! ID Name344B6794 Visal is not equal to 9DC012F7 VisalCA6B5B10 Raghu is not equal to FDC12AC1 Raghu9B439B6F...
General Programming »
Uncategorised Quick Answers
»
General
sqlserver2008
i want to show the faculty rating from the database using sql server
by
Pheonyx
Answer
14 May 2013
license:
CPOL
You issue is this:FacId varchar(40) as a result when you do this:ON F.facid = B.facid you are trying to compare a Varchar(40) with a Bigint which you cannot. Hence your error.
General Programming »
Uncategorised Quick Answers
»
General
C#
Method to load data on the form
by
- NA -
Question
14 May 2013
license:
CPOL
Good Day,How do you create a method that load the data on the form when you want to update?i have 5 text boxes (Username,Password,Fullname,Surname and Email)My...
General Programming »
Uncategorised Quick Answers
»
General
C#
Public variable invoking incorrect result
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
You will. The clue is in the word new: ThanglishToTamilGUI tt = new ThanglishToTamilGUI(); String apper = tt.anz;Since you create a new instance, it will not have the values that the user entered into a different instance!Try just using the current value! Have a look at...
General Programming »
Uncategorised Quick Answers
»
General
C#
.NET
.NET4
Public variable invoking incorrect result
by
Prasad C.M.
Answer
14 May 2013
license:
CPOL
Try by changing to static variablepublic string anz;aspublic static string anz;
General Programming »
Uncategorised Quick Answers
»
General
C#
.NET
.NET4
Error Exporting to Excel C#
by
Pedro Brito
Answer
14 May 2013
license:
CPOL
Thanks all for your answer , i discover my problem :))) public static void ExportDataGridViewTo_Excel12(DataGridView itemDataGridView) { Excel_12.Application oExcel_12 = null; //Excel_12 Application Excel_12.Workbook oBook = null; ...
General Programming »
Uncategorised Quick Answers
»
General
C#
DataGridView setting up colums from textfile
by
Johnny J.
Answer
14 May 2013
license:
CPOL
Perhaps something like:string[] s = line.Replace("#COLUMNNAME", "").Trim().Split('\t');That should filter out the Column name keyword...
General Programming »
Uncategorised Quick Answers
»
General
DataGridView
Advance my Performance exporting data to Excel
by
CHill60
Answer
14 May 2013
license:
CPOL
To improve performance you need to minimise the use of the Excel COM interface.I would suggest converting your list of objects to a datatable first and then exporting that to excel ...Here is a generic way to convert a list to a datatable Converting a List to Datatable[^]and here's how...
General Programming »
Uncategorised Quick Answers
»
General
Excel
Interop
performance
export
DataReader
txt.file remove lines
by
CPallini
Answer
14 May 2013
license:
CPOL
There is no direct way for removing a line from a file. However you might read the input file line by line, copying to a new file only the lines you want to maintain. At the end of the process discard the original file and rename the freshly written one.
General Programming »
Uncategorised Quick Answers
»
General
C++
Visual-Studio
VisualStudio2012
Public variable invoking incorrect result
by
Suthan-S
Question
14 May 2013
license:
CPOL
public partial class ThanglishToTamilGUI : Form{ public string anz; public ThanglishToTamilGUI() { InitializeComponent(); } public void btnConvertToBraille_Click(object sender, EventArgs e) { anz = richTextBoxTamil.Text.ToString(); ...
General Programming »
Uncategorised Quick Answers
»
General
C#
.NET
.NET4
txt.file remove lines
by
andremateus
Question
14 May 2013
license:
CPOL
I need help.I have a txt file. which is an inventory of a store. The format of each is aritgo by name, location in the warehouse and date separated by ";". Example: Computer; 001; 10/02/2013One aim of my work is to select an item and remove. How can I do?
General Programming »
Uncategorised Quick Answers
»
General
C++
Visual-Studio
VisualStudio2012
array in javascript to server side code
by
Sam Van den Bossche
Question
14 May 2013
license:
CPOL
Hi I have this code working, it prints all email adresses it gets from a request to gmail but now I need to send the array with results to another partial view how can I store it in a way that I can use it somewhere else? (the partialview does appear on the same page)var array =...
General Programming »
Uncategorised Quick Answers
»
General
C#
ASP
ASP.NET
HTML
Ajax
MVC
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#
DataGridView setting up colums from textfile
by
maxbre
Question
14 May 2013
license:
CPOL
Hi. I have a textfile with columns that I want to output in a DataGridView. The line that I want to read the clumn names from isn't in the beginning of the file so I have to look for a line that starts with #COLUMNNAME and read the coulm names from that line. The problem is that when I do this...
General Programming »
Uncategorised Quick Answers
»
General
DataGridView
scrolling Header with drop down
by
ravi1989h
Question
14 May 2013
license:
CPOL
Hello sir,can you please tell me any example of scrolling header .It mean that there are lot of images in header .we can able to see images using next button .i used tinycarousel .But problem is that in each image click i want to show dropdown can you please tell me any example?Thanks
General Programming »
Uncategorised Quick Answers
»
General
Javascript
HTML
How to print div in asp web page in windows xp?
by
MJ MOUSAVI
Question
14 May 2013
license:
CPOL
I have a div that I want to print it. I use css to print that specific div and it is right when i use it in windows seven.But when i use it in windows xp, my settings are ruined. I do not know whats the problem with windows xp?Thanks in Advanced.
General Programming »
Uncategorised Quick Answers
»
General
CSS
HTML
Compare values in a list using lambda expression C#
by
rohit24c
Question
14 May 2013
license:
CPOL
Hi,I have a list = {1,1,2,3,4,5}I want to compare the items in the list.var LST= (from i in list join j in list on i.val equals j.val select i).ToList();But this doesn't work.Any suggestions, please?
General Programming »
Uncategorised Quick Answers
»
General
Linux
Getting HTML Fields Data into your TFS Warehouse
by
Gordon W Beeming
Article
14 May 2013
license:
CPOL
Small trick on how to get HTML data into your warehouse
General Programming »
Tools And Ide
»
General
TFS
how to view a "$" in my label
by
Prasad C.M.
Answer
14 May 2013
license:
CPOL
Try like this ..'>
General Programming »
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Remove duplicate data From table in sqlserver table
by
RaisKazi
Answer
14 May 2013
license:
CPOL
This link should help you.Click Here
General Programming »
Uncategorised Quick Answers
»
General
sqlserver2008
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...
General Programming »
Uncategorised Quick Answers
»
General
sqlserver2008
Add input text field which allows numeric values only
by
Code-Hunt
Answer
14 May 2013
license:
CPOL
http://www.dotnetfunda.com/for...
General Programming »
Uncategorised Quick Answers
»
General
Javascript
HTML
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 onlyID Name344B6794 VisalCA6B5B10...
General Programming »
Uncategorised Quick Answers
»
General
sqlserver2008
Advance my Performance exporting data to Excel
by
chenduran10
Question
14 May 2013
license:
CPOL
How can I make the export more faster.this one is too slow..public void createCodeListe(List pCodeGruppenListe,List pCodeNormalListe, string pVonDatum, string pBisDatum, bool pValidFlag) { try { ...
General Programming »
Uncategorised Quick Answers
»
General
Excel
Interop
performance
export
DataReader
Problem in Spire Document Viewer
by
- NA -
Question
14 May 2013
license:
CPOL
i faced some some problem in Spire Document viewer.spire doc document viwer is an third party tool problem is that i have to copy text whatever i upload in that document viewer such as doc file its urgent ...help me
General Programming »
Uncategorised Quick Answers
»
General
WPF
Updatepanel postback trigger problem
by
Nywalikar
Question
14 May 2013
license:
CPOL
Hi to all...To overwrite the operation of updatepanel in masterpage i have used one more updatepanel in content page.which contains 2 buttons one for saving , another for updating record in database..and one fileupload control.For triggering buttons action i have written code like...
General Programming »
Uncategorised Quick Answers
»
General
C#2.0
C#
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
hook page-fault in x64
by
- NA -
Question
14 May 2013
license:
CPOL
hi, i want to know if is possible hook KiPageFault from IDT like other interrupts?only this interrupt give me problems and i don't understand why.I also tried with this:NewHandler:jmp OrigHandler(this routine does nothing and doesn't work too...)Thanks
General Programming »
Uncategorised Quick Answers
»
General
Driver
Kernel
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
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
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
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
Page 1 of 8,817
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