9,869,444 members (25,909 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*
22 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 1
Page Size:
10
·
25
·
50
Author filtered by: ontheline89
[x]
Datagridview in WindowsForm
by
ontheline89
Question
12 Mar 2013
license:
CPOL
Hello, I want to start Blinking the Label if the Last ROW in the Datagridview has entry Critical. I really dont know, how to check whether that last row contains word Critical or not. Thanks.
General Programming
»
Uncategorised Quick Answers
»
General
C#
DataGridView
How to Highlight Datagridview CELL not a ROW.
by
ontheline89
Question
12 Mar 2013
license:
CPOL
Hello, Below code highlight the entire row, but i need to highlight only specific CELL. private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { int colIndex = e.ColumnIndex; int rowIndex =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
DataGridView
Object reference not set to an instance of an object.
by
ontheline89
Question
11 Mar 2013
license:
CPOL
Hello,I am trying to change the cell color. The code run successfully and the Back color changes but after sometime i get error which is Object reference not set to an instance of an object. at line if (theRow.Cells[colIndex].Value.ToString() == "Normal")private...
General Programming
»
Uncategorised Quick Answers
»
General
C#
DataGridView
Changing color of a Datagridview cell color based on its value
by
ontheline89
Question
8 Mar 2013
license:
CPOL
Hello, I am trying to Change the Back color of a Cell in a Datagridview if the Column value >39. I am using below code , private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { // If the column is the Artist column, check...
General Programming
»
Uncategorised Quick Answers
»
General
C#
DataGridView
WindowsForms
Refreshing a Chart in C#
by
ontheline89
Question
7 Mar 2013
license:
CPOL
Hello, I am drawing a Chart on Windows Form using C# and chart is using Database Table. Can anyone please tell me, what is the easiest way to refresh the chart as more data is inserted into a database ?
General Programming
»
Uncategorised Quick Answers
»
General
C#
Chart
Strings Assignment in C#
by
ontheline89
Question
27 Feb 2013
license:
CPOL
Hello, Can anyone please tell me what is the mistake in it. string Stat; if (fsensorvalue1 >= 05 && fsensorvalue1 = 30...
General Programming
»
Uncategorised Quick Answers
»
General
C#
strings
Floating datatype of SQL Server
by
ontheline89
Question
26 Feb 2013
license:
CPOL
Hello, I am storing values in SQL Database table as floating point. But i dont need a long floating number, just want to display it in two decimal places. Thanks
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
SQL Query and Displaying
by
ontheline89
Question
26 Feb 2013
license:
CPOL
Hello, I am inserting data in a SQL Database Table with columns SensorID,SensorValue, DateTimeWhere SensorID is constant. I need to display database table in a datagridview in a Sorted form with respect to DateTime. Can anyone please tell me the SQL Query for that. Thankyou !
General Programming
»
Uncategorised Quick Answers
»
General
SQL
DataGridView
Console Application and windows application
by
ontheline89
Question
13 Feb 2013
license:
CPOL
Hello, I want to use this statement richTextBox1.Invoke(new EventHandler(delegatein Console Application. How can i avoid richTextBox1. Thanks
General Programming
»
Uncategorised Quick Answers
»
General
C#
Datagridview Automatically Update
by
ontheline89
Question
12 Feb 2013
license:
CPOL
Hello, I have made a Window Service which is saving data from COM Port to a Database. I have made Windows Form with one Datagridview. My question is, how can i automatically update datagridview when there is any new data goes into a database. Thanks
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
DataGridView
SELECT SQL Statement for a datagridview
by
ontheline89
Question
11 Feb 2013
license:
CPOL
Hello, I am inserting Records in a Database. I need my records to be shown in a Datagridview, when a button is pressed. Datagridview should show records only with SensorValue is
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
selection
Comparisons in C# and inserting to database
by
ontheline89
Question
30 Jan 2013
license:
CPOL
Hello, I am trying to insert value (X) to a database, but now i want to compare that, if X last value is not equal to X present value then INSERT to a database table. I really dont know what will be its syntax. Thanks
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
Adding values to a database table with IF condition
by
ontheline89
Question
25 Jan 2013
license:
CPOL
I am adding hexvalue in Table_1 . But if the hexvalue is not AA (or any specified value) then, i need to insert that hexvalue to Table_2. How can i do it ? Thanks try{ SqlConnection sqlconn = new SqlConnection("Data Source=AAN-PC;Initial Catalog=mon26;Integrated Security=True"); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
How to display database table ?
by
ontheline89
Question
17 Jan 2013
license:
CPOL
I have created table, but How can i display database table in Windows Form ?SqlConnection sqlconn = new SqlConnection("Data Source=AAN-PC;Initial Catalog=friday;Integrated Security=True"); SqlDataAdapter sa = new SqlDataAdapter(); string...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
Error in SQL Line in C#
by
ontheline89
Question
16 Jan 2013
license:
CPOL
I am getting error in Invalid Expression Term "," in SqlConnection sqlconn = new SqlConnection("Data Source=ARSALAN-PC;Initial Catalog=latestsensordata;Integrated Security=True");SqlDataAdapter sa = new SqlDataAdapter(); string query = "insert into Table_1(SensorValue,Time) values("...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
How to save values to Database with current Time.
by
ontheline89
Question
16 Jan 2013
license:
CPOL
I am saving values to a database but I am not able to save them with current Time. I have created a colume with name Time in database, but dont know how to save time. SqlConnection sqlconn = new SqlConnection("Data Source=AAN-PC;Initial Catalog=latestsensordata;Integrated...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
time
Input String is not in a correct format
by
ontheline89
Question
16 Jan 2013
license:
CPOL
I am taking substrings in HEXADECIMAL Format and converting them in Decimal Integer. For displaying, i need to convert intergers to strings. After getting some correct values I am getting error.Input String is not in a correct format. string substring = string.Empty; ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
strings
Converting String to Integer
by
ontheline89
Question
16 Jan 2013
license:
CPOL
Actually i am getting substrings like 19 or sometimes 1A.I am taking substring and converting it to a Integer. For displaying in richtextbox i am converting it to a string. I get errors after getting some correct values. error : Input String is not a correct format. private...
General Programming
»
Uncategorised Quick Answers
»
General
C#
strings
Getting Error in Inserting Record
by
ontheline89
Question
16 Jan 2013
license:
CPOL
I am trying to insert Record into a Database, but i am getting following error. Incorrect Syntax error near ')'using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
How to Save COM Port data to a SQL Server with TimeStamp ?
by
ontheline89
Question
16 Jan 2013
license:
CPOL
I am saving incoming data from COM Port to a String first and then displaying sub string from that string in a richTextBox1. I need to save substrings with TimeStamp to a SQL Server Database. What i need to do for it ? Thanks !In below code, i need to store substring with TimeStamp in...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
string
COMPort
Save COM Port data to a SQL Server with TimeStamp
by
ontheline89
Question
15 Jan 2013
license:
CPOL
I am display data which is coming at COM Port. I am saving that incoming data to a String and then displaying sub string from that string. I need to save substrings with TimeStamp to a SQL Server Database. What i need to do for it ? private void DisplayData(MessageType type, string...
General Programming
»
Uncategorised Quick Answers
»
General
C#
serialport
strings
Help to display selected element of Array
by
ontheline89
Question
30 Dec 2012
license:
CPOL
Hello everyone, i am new to C#, i am getting Output : 7E 45 00 FF FF 00 01 0A 00 93 00 00 01 00 00 01 00 02 17 B5 70 20 7EI am using following below Code. I need to display only 17 B5 elements. what should i do ? Thank you !using System;using System.Collections.Generic;using...
General Programming
»
Uncategorised Quick Answers
»
General
C#
display
serialport
Page 1 of 1
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