9,867,109 members (43,829 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,650 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,813
Page Size:
10
·
25
·
50
Category filtered by: General Programming
[x]
page should not go another page when press back space button in keybord
by
varma_life
Answer
14 May 2013
license:
CPOL
We can also achieve this by disabling browser caching in code behind write the following lines of code in Page_Init event or Page_Load event and don’t forgot to add namespace using System.Web; because HttpCacheability related to that namespaceprotected void Page_Init(object sender,...
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
I am creating RDLC report ,but it is not showing word document format sentences like cross lined words
by
vishalpedkar
Question
14 May 2013
license:
CPOL
I'm creating a RDLC report in C#. Is it possible to insert the content of a Word 2003 document (with formatting) in it (either in design time or programmatically) before exporting to PDF. The final result will be a PDF file containing the initial report (fields from database) and the Word...
General Programming »
Uncategorised Quick Answers
»
General
C#
C#4.0
Swapping between Windows forms
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Try Show instead of ShowDialog - it doesn't wait for the form to close before continuing.You might want to add the Form.TopMost = True as well, and possibly add a FormClosing event handler so that you only show one form if the user requests it twice.
General Programming »
Uncategorised Quick Answers
»
General
.NET
limit pages in aspx by username and password
by
Bikash Prakash Dash
Answer
14 May 2013
license:
CPOL
Use Form authentication in your application follow this linkhttp://www.asp.net/web-forms/tutorials/security/introduction/an-overview-of-forms-authentication-cs[^]
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
web application publishing
by
ahmed hussein khazal
Question
14 May 2013
license:
CPOL
hello to alli need server host to hosting web application use https with high secure
General Programming »
Uncategorised Quick Answers
»
General
Server
Select information from database table
by
Masoom Mir
Answer
14 May 2013
license:
CPOL
private void ShowSubject(Subjects subject) { using (DbEntities db = new DbEntities()) { Subjects firstSubject = db.Subjects.FirstOrDefault(s => s.subjectNoted == false).Skip(1).Take(1) .FirstOrDefault(); if...
General Programming »
Uncategorised Quick Answers
»
General
C#
SQL
ADO.NET
Handle postthreadmessage() inside a thread which is blocking in while(1) loop
by
ayesha hassan
Question
14 May 2013
license:
CPOL
I have a single server multiple client udp application. There is a single thread (thread#1) with a single socket (socket#1) to receive data from client#1 continuously. The task of this receiving thread is to continuously receive data at its socket.I have a button which says "Send data to...
General Programming »
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
Threading
threads
programming
socket
Sockets
Problem using ms sql management studio 2008 R2 on windows 2007
by
arbaaz jalil
Question
14 May 2013
license:
CPOL
I downloaded ms sql server 2008 R2 Express from microsoft site i installed it successfully but i am unable to log into it whenever i use WIndows authentication i get this ...CLICK ME[^]
General Programming »
Uncategorised Quick Answers
»
General
SQL
Windows
SqlServer
sqlserver2008
asp.net 70-515 microsoft certification.
by
deeptul
Question
14 May 2013
license:
CPOL
Dear sir,i have plan for asp.net 70-515 microsoft certification,can u please help me out details from which site i can get the dumps for exam preperatin.Thanking you.
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
How to get missing number in Grouped data
by
Code-Hunt
Answer
14 May 2013
license:
CPOL
http://stackoverflow.com/quest...
General Programming »
Uncategorised Quick Answers
»
General
SQL-Server
Swapping between Windows forms
by
Darrell de Wet
Question
14 May 2013
license:
CPOL
I have tried (for hours now) searching on Google for the answer to my problem without any joy - My biggest problem, I think, is not knowing what keywords to search for.I have also searched thru Code Project without any luck (though I am sure the answer resides there somewhere)I have a few...
General Programming »
Uncategorised Quick Answers
»
General
.NET
C# small online talking
by
Yogesh Potdar
Answer
14 May 2013
license:
CPOL
Go with ASP.MVC4 and WCF REST, It would be more helpful for you.
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
WCF
C#
C#4.0
Error wile rendering control
by
Anupam Singh _
Question
14 May 2013
license:
CPOL
I am creating a custom control like :public class LocalizedLiteral : Literal { protected override void Render(HtmlTextWriter writer) { Text = MyResources.GetString(Text); base.Render(writer); }While using this custom control...
General Programming »
Uncategorised Quick Answers
»
General
C#
C#4.0
ASP.Net-4.0
Trouble using Session Variables
by
Marc James
Question
14 May 2013
license:
CPOL
I need some help on an ASP.Net project connected to a SQL Server 2008 database. The application is an Intranet using Web Forms. I am having trouble using session variables when querying the database.
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
Validation of login page-whats wrong with this code,its not working,please help me rectify my error
by
robinnn007
Question
14 May 2013
license:
CPOL
private void button1_Click(object sender, EventArgs e) { if (UsernametextBox.Text == "") { usernamelabelerror.Visible = true; usernamelabelerror.Text = "username should not be blank"; } if...
General Programming »
Uncategorised Quick Answers
»
General
C#
cheap and best off shore development business - which one is best
by
naflas
Question
14 May 2013
license:
CPOL
I have intention to open up an IT development business (set up a development team overseas). but not sure which tool is right for my goal such as SharePoint, SQL –BI or Android development etc. Doing business in Microsoft tools require a big investment. And I am not sure BI stuff can be out...
General Programming »
Uncategorised Quick Answers
»
General
SQL
Mobile
Android
Sharepoint
How can I add numbers to existing one in a database and save from Monday to Friday only?
by
VitorHugoGarcia
Answer
14 May 2013
license:
CPOL
Hi Prince,You could use the WeekDay function to know which day you are signing in and act accordingly.Take a look at [this]Best Regards,VG
General Programming »
Uncategorised Quick Answers
»
General
VB
ASP.NET
Fill the value in combobox from Database in silverlight
by
coolbaby_jayap@myway.com
Question
14 May 2013
license:
CPOL
Dear all Please help me anyone i want fill the value in combo box from Database in silver light any one give me Sample Code
General Programming »
Uncategorised Quick Answers
»
General
C#
How to get missing number in Grouped data
by
prakash.chakrala
Question
14 May 2013
license:
CPOL
Hi I have a requirement like thisi have the data like301 1301 2301 5301 7301 10302 2303 5303 6303 8303 9In this data i want find out missing number in each group.For example in 301 group the missing numbers are 3,4,8,9(Assume that the range is 1 to 10)in...
General Programming »
Uncategorised Quick Answers
»
General
SQL-Server
How to access the contentpage controls in javascript
by
UshaCbe
Question
14 May 2013
license:
CPOL
Hi,I m working with Master page and contentpage. I want to validate content page controls in javscript using button click event. I give that following coding. but it is not access it.if (document.getElementById("txtBloodGroup").value == "") { alert("Please Enter Blood Group...
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
how to fetch cheked node in tree view
by
Pandiaraj_4u
Answer
14 May 2013
license:
CPOL
Try the below code, It will help you...If TreeView1.CheckedNodes.Count > 0 Then For Each node As TreeNode In TreeView1.CheckedNodes MessageBox.Show(node.Text.ToString()) NextEnd If
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
Get performance counters of Hyper-V using C# and WMI
by
sharath.bhanapur
Question
14 May 2013
license:
CPOL
Hi,I am trying to develop a monitoring tool for Hyper-V Server. By various resources i came to know that it can be done using WMI. I want to monitor(and also some management activity) CPU, Memory, Disk I/O and network performance of Hyper-V server and it's underlying VM's. Any kind of help is...
General Programming »
Uncategorised Quick Answers
»
General
C#
WMI
how to validate input data in textbox.
by
Masoom Mir
Answer
14 May 2013
license:
CPOL
First put scriptmanager on your aspx page if (dtab.Rows.Count > 0) { GridView1.DataSource = dtab; GridView1.DataBind(); }else{ ScriptManager.RegisterStartupScript(this, GetType(), "alert", "alert('Record not Found');", true);}
General Programming »
Uncategorised Quick Answers
»
General
C#
ASP.NET
ASP.Net ReportViewer Control Issues
by
Disha gupta
Question
14 May 2013
license:
CPOL
Hi,I am using asp.net reportviewer control in my aspx page deployed on SharePoint site.I am calling SSRS report in the reportviewer in Remote Processing mode.I am facing following issues and no workaround found on these issues in net:1) ReportViewer is throwing "ASP.Net session...
General Programming »
Uncategorised Quick Answers
»
General
SSRS
Reports
Scheduling DBmail to different recipients
by
Code-Hunt
Answer
14 May 2013
license:
CPOL
http://social.msdn.microsoft.c...
General Programming »
Uncategorised Quick Answers
»
General
SQL-Server
Get data in dictionary order in sql server
by
Mahesh Bailwal
Answer
14 May 2013
license:
CPOL
OnKeyUp event of textbox you need to do followingClear your listbox.Get matching names from database using sql like operator (pass textbox value in your sql).Fill your listbox with names returned from database.
General Programming »
Uncategorised Quick Answers
»
General
SQL-Server
C#
.NET
C#4.0
database
.NET4
how to create menu in mvc using razor
by
arthamsai
Question
14 May 2013
license:
CPOL
can any one ex plane how to create menu in mvc using razor
General Programming »
Uncategorised Quick Answers
»
General
MVC
binary read mode code not working
by
Ian A Davidson
Answer
14 May 2013
license:
CPOL
You're opening the file with ios:ate so that the file pointer is at the end of the file, which is why tellg returns you the size you need. You then need to reset the pointer to the start of the file, using seekg, before you call read.Regards,Ian.
General Programming »
Uncategorised Quick Answers
»
General
C++
VC++
I am trying to render to repeater but the new label dont get any new id
by
Vipin kumar.P
Answer
14 May 2013
license:
CPOL
you are initilizing the i value=0 each time. When you call the Method it will be set to 0.Instead of that Add a parameter to the Method which you need to pass when u call the Method please try followingpublic string Assigment { get; set; }private List_Assigment=new...
General Programming »
Uncategorised Quick Answers
»
General
C#
ASP.NET
Add Auto Scroll to a window with multiple buttons
by
ayesha hassan
Question
14 May 2013
license:
CPOL
I have created a window and added almost 50 buttons to it. But the problem is that I can only see a few of those buttons as my window does not scroll up/down or left/right to show me the remaining buttons.If my window is an edit box, I can easily add AutoScroll to it i.e. as soon as the text...
General Programming »
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
programming
Scrollbar
Scrolling
Unnecessary ? comes when i try to create xml dynamically
by
- NA -
Answer
14 May 2013
license:
CPOL
I didn't got the exact reason for that '?'. I just got out of that by removing the element at zeroth position. I think the reason for that is same as stated by Sergey Alexandrovich.xmlOutput = xmlOutput.Remove(0, 1);
General Programming »
Uncategorised Quick Answers
»
General
C#
How to load data in jqGrid pagewise
by
ANKIT_JHA
Question
14 May 2013
license:
CPOL
Hi experts,How to load data in jqGrid pagewise? For example if I have 100000 json records which I need to load in the jqGrid but not all at once because it takes a lot of time. So, I want to load first 500 records at first load of page. And then next 500..next 500 and so on. Could you please...
General Programming »
Uncategorised Quick Answers
»
General
JQGrid
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
how to read text file line by line using for loop
by
shashank 1068
Question
14 May 2013
license:
CPOL
hi. i am creating a win form using vb.net.. in this i want to read all the line from text file using FOR loop which user opens. so how should i do this?? please help me..
General Programming »
Uncategorised Quick Answers
»
General
VB
VB.NET
how to fetch cheked node in tree view
by
sakshisoni
Question
14 May 2013
license:
CPOL
hey, i am using treeview tool with check boxes in asp.net/vb. i want to read the checked node of tree view than want this to show in message box . i have used treeview1.selectednode.text code but its not working ... plz help
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
binary read mode code not working
by
p.uday kishore
Question
14 May 2013
license:
CPOL
int main () { ifstream file ("C:\\Users\\filetypes.txt", ios::in|ios::binary|ios::ate); if (file.is_open()) { size = file.tellg(); memblock = new char [size]; file.read (memblock, size); cout { cout...
General Programming »
Uncategorised Quick Answers
»
General
C++
VC++
how to read text file line by line using for loop
by
Johnny J.
Answer
14 May 2013
license:
CPOL
Use the StreamReader.ReadLine method:http://msdn.microsoft.com/en-us/library/system.io.streamreader.readline.aspx[^]
General Programming »
Uncategorised Quick Answers
»
General
VB
VB.NET
Connection string provider error in mysql
by
Usha Muhunthan
Question
14 May 2013
license:
CPOL
My connection string is to connect MySQL from client system isProvider=MySQLProv;Driver={MySQL ODBC 5.0.9 Driver};Server=IPAddress;Database=DBName;User=root;Password=adminadmin;Option=3;I have installed MySQL Connector/ODBC 3.51 and 5.0.9 alsoThanks
General Programming »
Uncategorised Quick Answers
»
General
MySQL
how to bind dates as columns in mysql
by
ali from hyd
Question
14 May 2013
license:
CPOL
hi,how to bind Date as Columns in mysqlex:01-01-2013 02-01-2013 03-01-2013 04-01-2013 -- -- ----?
General Programming »
Uncategorised Quick Answers
»
General
MySQL
C# exception on sql subqueries
by
Zainulabdeen
Question
14 May 2013
license:
CPOL
CodeSqlConnection con = new SqlConnection(@"server=ZAIN\SQLEXPRESS;database=Project;user id=sa;pwd=abdeen"); SqlDataAdapter com = new SqlDataAdapter("execute UpdateShopDetails '" + txtName.Text + "','" + txtAddress.Text + "','" + txtPhoneNo.Text + "'", con); ...
General Programming »
Uncategorised Quick Answers
»
General
C#
SQL
Exception
Get data in dictionary order in sql server
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Try:SELECT username FROM MyTABLE WHERE userName LIKE '%a% ORDER BY userName ASC
General Programming »
Uncategorised Quick Answers
»
General
SQL-Server
C#
.NET
C#4.0
database
.NET4
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
How to call C + + function in JavaScript
by
Richard MacCutchan
Answer
14 May 2013
license:
CPOL
https://www.google.com/search?q=call+C+%2B+%2B+function+from+javascript[^].
General Programming »
Uncategorised Quick Answers
»
General
C++
VC
JS
C# exception on sql subqueries
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
First off, can I suggest that you only read the Sid and ContactId once per execution, and store them in a variable? Then ensure it returns only a single value:DECLARE @SID INTSet @SID = (SELECT TOP 1 Sid FROM MyTable WHERE Name=@Name)Then use the variable in each of your updates.
General Programming »
Uncategorised Quick Answers
»
General
C#
SQL
Exception
limit pages in aspx by username and password
by
reza.akbari.khezri
Question
14 May 2013
license:
CPOL
hi everybody I have member in my site , who can see every page, but I wana limit some of my pages to visitors who are not my member.what should I do ?
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
C# exception on sql subqueries
by
Mahesh Bailwal
Answer
14 May 2013
license:
CPOL
Your getting this error because your subquery is returning more than one value and you are using “=” operator which is anticipating single value. One to way solve the problem is to use “TOP 1” in your subquery.For Exampleset Sid=(select Top 1 Sid from Shops Where Name= @Name)
General Programming »
Uncategorised Quick Answers
»
General
C#
SQL
Exception
Publish form to pdf report
by
- NA -
Question
13 May 2013
license:
CPOL
Dear Friends,I have struck at a position where i have created multiple forms & unable to get the same data into a pdf report .Report to consist of data which is been selected in the forms by using list box ,buttons,logo etc.,Could any one help out please.Regards,Yashnara
General Programming »
Uncategorised Quick Answers
»
General
VB
How to call ascx page to razor in mvc
by
arthamsai
Question
13 May 2013
license:
CPOL
Iam having a usercontrol in that i have a menu content this content i want add inmy _layout.cshtml .can an one help methanxs
General Programming »
Uncategorised Quick Answers
»
General
MVC
In wpf user control how to minimize,maxmize
by
ashokreddyd
Question
13 May 2013
license:
CPOL
In my screen wpf(window) shows some records ,when i select particular record right click open user control.1.it will be opening but it will not minimize.2.At the time of user control is opening ,when i pressed Alt+Tab behind forms are opening but user control is displaying in front of my...
General Programming »
Uncategorised Quick Answers
»
General
.NET3.5
.NET
Cannot get inner content of div_images because the contents are not literal.
by
Mas11
Question
13 May 2013
license:
CPOL
Hey guys I am getting above error. Please see in my code below & suggest me what I was doing wrong : string ProductImages = string.Empty; string str_query = string.Empty; DataTable dt_Common = new...
General Programming »
Uncategorised Quick Answers
»
General
ASP.NET
Page 1 of 8,813
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid