9,867,803 members (41,146 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*
432,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,653
Page Size:
10
·
25
·
50
Category filtered by: General Programming
[x]
| Uncategorised Quick Answers
[x]
How to access the contentpage controls in javascript
by
Pandiaraj_4u
Answer
14 May 2013
license:
CPOL
Yes you are right.. Using ContentPageID_ControlID not good,But we have an option try like below it will help you...On the Submit Button Client Click Event call a user defined function and on that function try the below code...JavaScript : var elems =...
General Programming » Uncategorised Quick Answers »
General
ASP.NET
Javascript
how to use mapguide with java
by
TorstenH.
Answer
14 May 2013
license:
CPOL
The wen knows it all[^]
General Programming » Uncategorised Quick Answers »
General
Java
Error Exporting to Excell C#
by
- NA -
Question
14 May 2013
license:
CPOL
I'm getting an error when i'm exporting Excell to C# , i can´t find where my code is wrong and the solution for my problem :sError :An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in GestãoSI.exeAdditional information: Índice inválido. (Excepção...
General Programming » Uncategorised Quick Answers »
General
C#
Connection string provider error in mysql
by
AlluvialDeposit
Answer
14 May 2013
license:
CPOL
You need to reference a "connector" in your project. This one is free Connector/Net is a fully-managed ADO.NET driver for MySQL[^]
General Programming » Uncategorised Quick Answers »
General
MySQL
Validation of login page-whats wrong with this code,its not working,please help me rectify my error
by
sunilsvsnlr2007
Answer
14 May 2013
license:
CPOL
please remove the Quotation from below.....Existingif (st == "UsernametextBox.Text") { if (str == "PasswordtextBox.Text") {After Changeif (st == UsernametextBox.Text){ if (str == PasswordtextBox.Text) ...
General Programming » Uncategorised Quick Answers »
General
C#
Word file creation error for using COM component
by
Sunil Kumar Pandab
Question
14 May 2013
license:
CPOL
Dear All Experts, I am trying to fix one bug from 2 days. But unable to fix it. My application's work is to edit one word file and saving that in server.but i am getting one exception after hosting. The exception message is given below:- Retrieving the COM class factory for...
General Programming » Uncategorised Quick Answers »
General
ASP.NET
COM
MSWord
Execute query on .dbf File.
by
- NA -
Question
14 May 2013
license:
CPOL
hello!!!i create windows(in C#) base application, its based on .dbf file so i want to fatch some column from .dbf file so how can i execute query on .dbf file.Thank you.
General Programming » Uncategorised Quick Answers »
General
C#
Validation of login page-whats wrong with this code,its not working,please help me rectify my error
by
TanzeelurRehman
Answer
14 May 2013
license:
CPOL
Your conditional structure is not correct. please go through over your code.private bool ValidateForm(){bool returnVal = true;if (UsernametextBox.Text == ""){usernamelabelerror.Visible = true;usernamelabelerror.Text = "username should not be blank";returnVal = false;}if...
General Programming » Uncategorised Quick Answers »
General
C#
Validation of login page-whats wrong with this code,its not working,please help me rectify my error
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Several things spring to mind:First off, you will only try to check details if the pasword is not blank - if the username is blank, you will check anyway. There are also better ways to check for empty stringsTry this:private void button1_Click(object sender, EventArgs e) { bool...
General Programming » Uncategorised Quick Answers »
General
C#
How to copy/move a column from one table to another in SQL?
by
Vidor
Answer
14 May 2013
license:
CPOL
I managed to solve the problem:Firststring alterSQL = "ALTER TABLE ADD NVARCHAR(5) ";Now comes the updatestring qryMove ="UPDATE SET = (SELECT FROM WHERE = )";After update I can remove...
General Programming » Uncategorised Quick Answers »
General
C#
SQL-Server
Wont required field validator work for a FileUpload?
by
Murali0195
Answer
14 May 2013
license:
CPOL
Hi...see this may helpful to u. if (!fileupload.HasFile) { lbl.Visible = true; lbl.ForeColor = Color.Red; lbl.Text = "Please Select file"; //checking if file uploader has no file selected } ...
General Programming » Uncategorised Quick Answers »
General
ASP.NET
Delegate or delegate
by
Divymital
Question
14 May 2013
license:
CPOL
Hi,I am working with delegates in one of my project. I know that Delegate is a class (Syatem.Delegate)and delegate is a keyword for the same. But I am not able to understand why I can not create delegate type in method but for Delaget it goes fine in a method(method can not have types...
General Programming » Uncategorised Quick Answers »
General
C#2.0
ASP.NET
C#
GetExtension Method code example
by
p.uday kishore
Question
14 May 2013
license:
CPOL
i wanted to know how to work with GetExtension Method in c++,can any one help me regarding this.i need to know how to use that.
General Programming » Uncategorised Quick Answers »
General
C++
VC++
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 load data in jqGrid pagewise
by
Diya khan
Answer
14 May 2013
license:
CPOL
Here is the sample code for paging implementation in jqGrid.http://trirand.com/blog/jqgrid/jqgrid.html
General Programming » Uncategorised Quick Answers »
General
JQGrid
Help with Postdata declaration
by
VitorHugoGarcia
Answer
14 May 2013
license:
CPOL
Hi Vid,This is to vague for me but i would try thispostData = "__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
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#
icici payament gateway (pay seal)
by
ayyappadasnk
Question
14 May 2013
license:
CPOL
i integrate icici payment gateway in my site.my question is that how can i more secure this payment gateway.what security measurement is done for this payament systems to avoid hacking from hackers?.i am only checks only respose code for successfull transaction.in other payment gateway like...
General Programming » Uncategorised Quick Answers »
General
ASP.NET
Crystal Reports with vb.Net
by
Basmeh Awad
Answer
14 May 2013
license:
CPOL
try this.After collecting data in dataAdapter fill data set like this and move on..da.Fill(ds,"TableName")Dim cryRpt As New ReportDocumentcryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt")cryRpt.SetDataSource(ds.Tables(0))CrystalReportViewer1.ReportSource =...
General Programming » Uncategorised Quick Answers »
General
VB
VB.NET
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
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
Page 1 of 8,653
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid