9,866,691 members (30,667 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*
16,822 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 337
Page Size:
10
·
25
·
50
Tag filtered by: C#3.0
[x]
XML Operations Read XML File as input and dynamically generate new XML File for output in C#
by
Mohammed Hameed
Answer
13 May 2013
license:
CPOL
I think it is better to use XmlReader for reading xml files.Refer this link: http://stackoverflow.com/questions/5827668/how-to-read-xml-file-using-xml-reader[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
XML
C#
XmlReader
XML Operations Read XML File as input and dynamically generate new XML File for output in C#
by
sixthplanets
Answer
13 May 2013
license:
CPOL
Refer this link to manipulate with xml data'sManipulate XML data with XPath and XmlDocument (C#)[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
XML
C#
XmlReader
XML Operations Read XML File as input and dynamically generate new XML File for output in C#
by
NileshKRathod
Question
13 May 2013
license:
CPOL
I am working on generalized component which is developed in C# .net. In this component i get an XML file as input parameter. After process I have to create a new XML File and write my Output into it. I do google and found many solutions but not sure which is the best approach to follow.Please...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
XML
C#
XmlReader
How create dynamic GroupBox
by
vishal deb
Answer
12 May 2013
license:
CPOL
Solution 2 is the code which I wrote for generating dynamic groupbox and dynamic checkbox inside groupbox.I got help from
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How create dynamic GroupBox
by
vishal deb
Answer
12 May 2013
license:
CPOL
Here is code after modification which gave me my desired resultprivate void RO_SelectedIndexChanged(object sender, EventArgs e) { groupBox1.Controls.Clear(); String m = RO.SelectedItem.ToString(); Console.WriteLine(m); aCommand2 =...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
how to update the database value when the checkbox is checked iin gridview using c#
by
- NA -
Question
12 May 2013
license:
CPOL
hi can anyone help me how to update the database value when the check box in grid view is checked using c#thank you in advance
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
Another Generic State Machine
by
forester joe
Tip/Trick
12 May 2013
license:
CPOL
A basic yet generic state machine implementation
Development Lifecycle
»
Design And Architecture
»
Design Patterns
.NET2.0
Mono
DotGNU
C#2.0
.NET3.0
C#3.0
.NET3.5
C#
.NET
Dev
, +
How to add row in datagridview from access database on per button click
by
Maciej Los
Answer
12 May 2013
license:
CPOL
You can do it in 2 ways:1) creating query that returns nth record: http://www.techrepublic.com/blog/msoffice/an-access-query-that-returns-every-nth-record/3617[^]2) fetching all data into datatable and then looping through the rows collection. More about DataTable class...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
check box value checked
by
Maciej Los
Answer
12 May 2013
license:
CPOL
Please, read these articles:Convert.ToBoolean Method (Int32)[^]Convert.ToInt32 Method (Boolean)[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How to add row in datagridview from access database on per button click
by
vishal deb
Question
12 May 2013
license:
CPOL
I have a access database from where I am populating the datagridview on button click event. but what I exactly I want to add record of access database in datagridview when button is clicked. Means on 1st click 1 record should be add in datagridview, on 2nd click another record should be add and...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How create dynamic GroupBox
by
Abhinav S
Answer
12 May 2013
license:
CPOL
Tryhttp://www.dotnetpools.com/Article/ArticleDetiail/?articleId=143[^]http://www.dotnetspider.com/forum/181808-Radio-button-creating-dynamically.aspx[^]http://p2p.wrox.com/c/40016-dynamic-checkbox-radiobutton-lists.html[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How create dynamic GroupBox
by
vishal deb
Question
12 May 2013
license:
CPOL
Dear AllI am trying to create groupbox dynamically and these GB will create on selection on checkbox.Means I have 5 check boxes now if I select 1st CB then 1 GB with some other dynamic checkbox shall be created, if I select 3rd check then another GB shall be created with few more other...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
check box value checked
by
- NA -
Question
11 May 2013
license:
CPOL
How do i make check box in grid view checked when the database value is 1
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
how to make checkbox checked
by
- NA -
Question
11 May 2013
license:
CPOL
how to make checkbox checked depending on the database value in gridview
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
how to make checkbox checked
by
Abhinav S
Answer
11 May 2013
license:
CPOL
Get the database values using a datareader.Loop through the returned records and then write code similar to the following -if (dr["colName"] == "Yes"){ ckBox.Checked = true;}else{ ckBox.Checked = false;}
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
Mocking Event Handlers
by
forester joe
Tip/Trick
11 May 2013
license:
CPOL
A solution for monitoring Events called during test
Development Lifecycle
»
Design And Architecture
»
Unit Testing
.NET2.0
Mono
DotGNU
C#2.0
.NET3.0
C#3.0
.NET3.5
C#
.NET
Dev
, +
Make a phone call from Windows Application using c#
by
- NA -
Answer
10 May 2013
license:
CPOL
include#host:[];local/port GET;SET;
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
conversion failed when converting the nvarchar value to data type int
by
Ganesan Natarajan
Answer
10 May 2013
license:
CPOL
Hi try this,CAST(@your_param AS nvarchar(15))
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
ASP.NET
C#
Display or format lists/collections/arrays using simple LINQ-style extension methods.
by
Eric Lynch
Article
10 May 2013
license:
CPOL
This article provides and describes the EnumerableExt class, which simplifies the display and formatting of lists, collections, and arrays. It accomplishes this by implementing extension methods (Append, BuildString, and Write) that are available via the IEnumerable interface.
General Programming
»
Collections
»
General
C#3.0
.NET3.5
C#
Windows
.NET
Dev
LINQ
Intermediate
C#
.NET
, +
GetCellContent From Mydatagrid
by
sasan22
Question
10 May 2013
license:
CPOL
himy project is WPF program and use on form Datagrid. soi want to set any object(etc TextBox) Text Properties from datagridview and my selection rowbut I dont Know ?For Example :TextBox1.text = dgv.currentrow.column[0].tostring();help me
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
WPF
C#
Convert C Code to C# Code
by
Sisir Behera
Answer
10 May 2013
license:
CPOL
/*****************************...
General Programming
»
Uncategorised Quick Answers
»
General
C#1.0
C#2.0
C#3.0
C
C#
C#
C#4.0
how to fetch missed name from another table
by
Samresh.ss
Answer
10 May 2013
license:
CPOL
Use: select * from master_table where id not in (select id from daily_att);where id is the primary key for the tables
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
how to fetch missed name from another table
by
Prasad C.M.
Answer
10 May 2013
license:
CPOL
try like this ..conn.Open();DataTable dtusers = new DataTable(); SqlDataAdapter da = new SqlDataAdapter("select name from admin_table where name not in (select name from daily_att where tdate='"+tdat+"' ) ", conn); SqlCommandBuilder cmd = new...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
how to fetch missed name from another table
by
srigates
Question
10 May 2013
license:
CPOL
hi , every one: i am using a attendance concept in my windows application, one table is have all name in the concern all details are filled by admin. Another table is filled by entry of employee in to company. now i have to seperate presented list and absented list. i am showing 2...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
mvc 3 xml data result from stored procedure
by
Bhajanlal
Question
10 May 2013
license:
CPOL
i have a stored procedure which return an xml stringhow to get this xml string in mvc.net with entity framework
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How to bind Derived Type in MVC View
by
Abhay@Accenture
Tip/Trick
9 May 2013
license:
CPOL
How to bind Derived Type in MVC View
Web Development
»
Asp.Net
»
Howto
.NET2.0
C#2.0
.NET3.0
C#3.0
.NET3.5
C#
.NET
HTML
Architect
Dev
, +
Include JavaScript Files with Automatic Versioning
by
Hernán Hegykozi
Tip/Trick
9 May 2013
license:
CPOL
Versioning file inclusion JavaScript by date of last modification
Web Development
»
Client Side Scripting
»
General
C#1.0
C#2.0
C#3.0
C#
Javascript
HTML
C#
C#4.0
How to remove unchecked checkbox dynamically
by
yloginov
Answer
9 May 2013
license:
CPOL
1. store an array of labels, just like you do with an array of CheckBoxes and create the labels at the same time you create checkboxeslabel= new Label[bran_count];for (int i = 0; i
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
Need an simple & sample application in Multi tenancy in mvc
by
Garth J Lancaster
Answer
9 May 2013
license:
CPOL
I suggest you write some code then ... seriously - we dont give people code here - we help them with something they have bothered to write themselves When you have something specific you need help with in the code, then you can ask questions on it here 'g'
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
Need an simple & sample application in Multi tenancy in mvc
by
dhulipudi
Question
9 May 2013
license:
CPOL
Hi,Need sample simple Multi Tenancy Application in MVC Architecture.Note:- That application should like to generate creating a dir by own ..ex:- www.xxxxx.com\abc\adminthe abc is dir have to generate by code.Thanks,Vijay Dhulipudi
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How to remove unchecked checkbox dynamically
by
vishal deb
Question
8 May 2013
license:
CPOL
HelloI am making a win form application on frame work 3.5 using C#. I am creating dynamic checkboxes depending on the numbers of records in access table. After this I am also able to get the name, text and other properties of dynamically created checkboxes and I am displaying the name of...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How to add many column in crustal report
by
BhanuRaja
Answer
8 May 2013
license:
CPOL
Sir As I told you I am newer in Crystal report , So please clarify how to do it.
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
CrystalReports
How to add many column in crustal report
by
Aarti Meswania
Answer
8 May 2013
license:
CPOL
either decrease fontsize of fieldsorset paper "Landscape" or e.g. if using A4 size then increase Papersize to A3 you can also set paper margin it also affect available-space in Paper to paste fieldsHappy Coding!:)
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
CrystalReports
How to add many column in crustal report
by
BhanuRaja
Question
8 May 2013
license:
CPOL
Dear Sir, I have 26 column to create the crystal report, but after 10 column its going over pap to each other.Please suggest as soon as possible. And also suggest for design in crystal report . I am new in crystal report,
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
CrystalReports
how to control session expiration for staff login and user login
by
Dharma Muniasamy.S
Question
8 May 2013
license:
CPOL
Hi Friends,I my project i have to control the session using Response.AddHeader("Refresh", Convert.ToString((Session.Timeout * 60) + 5));but the problem is :1)Login as Staff through staff login page2)Goto-->the page called Showlist.aspx and check the data available 3)Next Goto -->...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
ASP.NET
C#
Running Two Functions at the Same Time in C#.
by
CPallini
Answer
8 May 2013
license:
CPOL
Did anyone suggest you multithreading yet? :-)"Safe, Simple Multithreading in Windows Forms, Part 1"[^].
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
C#
C#4.0
Running Two Functions at the Same Time in C#.
by
Maciej Los
Answer
8 May 2013
license:
CPOL
Did you hear about threads?Threading tutorial[^]How to create threads[^]How to: Create and Terminate Threads (C# Programming Guide)[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
C#
C#4.0
Running Two Functions at the Same Time in C#.
by
yloginov
Answer
8 May 2013
license:
CPOL
1. Run your DLL.function() on a separate thread. 2. Have the DLL.function() fire an event every time a foreach loop has completed and increment the value.3. Have you main project listen for this event. Every time the event is triggered update your progress bar. You can pass the value for...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
C#
C#4.0
Running Two Functions at the Same Time in C#.
by
- NA -
Question
8 May 2013
license:
CPOL
I have created a class library in my project which scans a series of files. In my main project which uses this DLL as a reference, I'd like to create a progress bar which shows how many file have been scanned so far. The dll class makes use of a foreach loop since it's purpose is to turn...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
C#
C#4.0
User Permissions in SharePoint-hosted App
by
neham_2000
Tip/Trick
8 May 2013
license:
CPOL
This tip demonstrates user permissions in SharePoint-hosted apps in SharePoint 2013 with attention to a multiple user scenario.
Enterprise Systems
»
Sharepoint Server
»
General
C#3.0
Windows
Intermediate
C#
Server
SharePoint2013
How to archive tables in a database and add to another database?
by
Pheonyx
Answer
8 May 2013
license:
CPOL
Yes it should be possible.Have a read of the following links they should provide a good starting...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
SQL-Server
SQL2008
How to archive tables in a database and add to another database?
by
Gokulnath007
Question
8 May 2013
license:
CPOL
How to archive tables in a database and add to another database? suppose, a database consists of 10 tables, and the tables are growing very fastly with new values. I would like to archive the values from a particula date(old data) and collect all those values from those tables and then create...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
SQL-Server
SQL2008
which is the best practice to generate report in pdf format using ASP.NET MVC3?
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
You will need to generate you report on server side and send it as content to the client. Start here: PDF reporting using ASP.NET MVC3[^].
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
ASP.NET
Javascript
C#
C#4.0
MVC
jQuery
MVC3
which is the best practice to generate report in pdf format using ASP.NET MVC3?
by
manoj.jsm
Question
8 May 2013
license:
CPOL
I need to generate a PDF report which contains some images, costume text info, and a table from my ASP.net MVC3 application. please give me any ideas on the best way to implement this?
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
ASP.NET
Javascript
C#
C#4.0
MVC
jQuery
MVC3
MS.Net controls memory management in Windows Form
by
omgade
Question
7 May 2013
license:
CPOL
Hi Everybody,I have one problem with MS.Net Controls.I have use buttons in my project. When i click on windows form button that time my PC Memory(private working set ) automatically increase & after some days my application automatic throw exception of "Out Of Memory Exception".How can...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
Util Library and Extension Methods
by
Farhan Ejaz
Article
7 May 2013
license:
CPOL
A simple Util library.
Languages
»
C#
»
Utilities
C#3.0
Dev
Intermediate
C#
C#4.0
What is the use of this code line ? System.Configuration.ConfigurationManager.AppSettings["CheckPassword"];
by
Tadit Dash
Answer
7 May 2013
license:
CPOL
There will be a web.config/app.config file existing on that application. Check that.That is xml file usually contains all the configuartion information for the application.You will find the key CheckPassword inside AppSettings tag under parent tag configuration inside that file something...
General Programming
»
Uncategorised Quick Answers
»
General
.NET1.0
.NET2.0
C#1.0
.NET3.0
C#3.0
.NET3.5
C#
ASP
ASP.NET
.NET
, +
What is the use of this code line ? System.Configuration.ConfigurationManager.AppSettings["CheckPassword"];
by
KM Perumal
Answer
7 May 2013
license:
CPOL
My Part of answerYou ll get the value of CheckPassword from web.config or app.config.
General Programming
»
Uncategorised Quick Answers
»
General
.NET1.0
.NET2.0
C#1.0
.NET3.0
C#3.0
.NET3.5
C#
ASP
ASP.NET
.NET
, +
What is the use of this code line ? System.Configuration.ConfigurationManager.AppSettings["CheckPassword"];
by
mojtaba1596
Answer
7 May 2013
license:
CPOL
With this code you can read the variables of your program that is saved in the web.config or app.config.you can access to it from all forms.
General Programming
»
Uncategorised Quick Answers
»
General
.NET1.0
.NET2.0
C#1.0
.NET3.0
C#3.0
.NET3.5
C#
ASP
ASP.NET
.NET
, +
What is the use of this code line ? System.Configuration.ConfigurationManager.AppSettings["CheckPassword"];
by
Kavitha le
Question
6 May 2013
license:
CPOL
In my new project they have used one code likestring A = System.Configuration.ConfigurationManager.AppSettings["CheckPassword"];What is the use of this code? why the are using this?What could be the use of this code?
General Programming
»
Uncategorised Quick Answers
»
General
.NET1.0
.NET2.0
C#1.0
.NET3.0
C#3.0
.NET3.5
C#
ASP
ASP.NET
.NET
, +
Page 1 of 337
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 13 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid