9,869,444 members (30,256 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*
21 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: Nnorss
[x]
Select information from database table
by
Nnorss
Question
12 May 2013
license:
CPOL
Hello, i m doing a c# project with ADO .NET data entity model, i have a table Subjects with columns (idSubject(int), nameSubject(nvarchar), subjectNoted(bit/boolean). I'm getting from the table the first subject that have `subjectNoted==false` then i change the value to `==true` after clickin a...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
ADO.NET
Retrieve nth option from a database table
by
Nnorss
Question
12 May 2013
license:
CPOL
I'm developping an application with C# and ADO.Net entity data model. I have a table Users in SQL Server database with 3 columns (idUser, nameUser, statusUser). How can i retrieve the second or the third or the Nth user of the table that have statusUser == 0?
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
ADO.NET
updating first line with parameter in database
by
Naourass Derouichi
Question
12 May 2013
license:
CPOL
I'm developping an application with c# and ADO .NET entity data model. I have a table Articles(idArticle, nameArticle, statusArticles). I want to retrieve the first article where statusArticle=false, and update her value to true. Someone can help me with this code please: private void...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
ADO.NET
showing a word document in webKitBrowser trough google doc viewer
by
Naourass Derouichi
Question
12 May 2013
license:
CPOL
i have a form with a webKitBrowser. The user should surf on internet, and when he click a *.doc link, the word document must be shown. where can i tell the browser what to do when the user click on a .doc link?update:i've done this (using System.Web.dll):namespace testGoogleDoc{ ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
HTML
Word
url
webkit
getting informations from database
by
Naourass Derouichi
Answer
11 May 2013
license:
CPOL
here is the code:using (YourDatabaseContext context = new YourDatabaseContext()){ User firstUser = context.Users.FirstOrDefault(u => u.statusUser == 0); if (firstUser != null) { lblUserName.Text = firstUser.nameUser; }}
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
ADO.NET
getting informations from database
by
Naourass Derouichi
Question
11 May 2013
license:
CPOL
i'm developping an application with ADO .Net entity data model, i have a table Users, with 3 columns (idUser, nameUser, statusUser), from an sql db. What is the code to, select the first user of the table that have (statusUser = 0), and show her name in a label?
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
ADO.NET
showing a word document in webKitBrowser trough google doc viewer
by
Naourass Derouichi
Answer
11 May 2013
license:
CPOL
Solution by SA, it work perfectly:public class MyForm : Form { const string viewer = "https://docs.google.com/viewer"; const string viewerUrl = viewer + "?url={0}"; const string docSample =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Word
webkit
showing ms word file inside webKitBrowser
by
Naourass Derouichi
Answer
11 May 2013
license:
CPOL
here's a solution by SA, it works perfectly:public class MyForm : Form { const string viewer = "https://docs.google.com/viewer"; const string viewerUrl = viewer + "?url={0}"; const string docSample =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Word
Google-Docs
webkit
showing ms word file inside webKitBrowser
by
Naourass Derouichi
Question
10 May 2013
license:
CPOL
how can i show a ms word file in webKitBrowser after clicking on http:\\link.doc ?
General Programming
»
Uncategorised Quick Answers
»
General
C#
Word
Google-Docs
webkit
webKitBrowser *.doc link click
by
Naourass Derouichi
Question
10 May 2013
license:
CPOL
I try to show the clicked link of the browser in a label. Every time the user click on a link, the link is shown in the label, exept when i click on a *.doc, the value of the label dont change and nothing happen! I know It will be much easy with the default browser, i changed to web kit because...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Word
webkit
get selected text using webKitBrowser
by
Naourass Derouichi
Answer
10 May 2013
license:
CPOL
very simple:string browserSelextedText = webKitBrowser1.SelectedText;
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
Visual-Studio
webkit
get selected text using webKitBrowser
by
Naourass Derouichi
Question
10 May 2013
license:
CPOL
how can i get the selected text of a web page using webKitBrowser? here is the old code of the default browser:IHTMLDocument2 htmlDocument = webBrowser1.Document.DomDocument as IHTMLDocument2;IHTMLSelectionObject currentSelection = htmlDocument.selection; if...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
Visual-Studio
webkit
retrieve the last id of a table
by
Naourass Derouichi
Question
10 May 2013
license:
CPOL
hello, i m developping an application with an ado.net data model. What is the code to retrieve the last recorded id of a table, and show the value in a label?
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
ADO.NET
LINQ
retrieve the last id of a table
by
Naourass Derouichi
Answer
10 May 2013
license:
CPOL
here's the solution:using (DbEntities db = new DbEntities()) { int IdA = db.Table.Max(a => a.IdTable); label1.Text = IdA.ToString(); }
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
ADO.NET
LINQ
checking extention in a string that contain a file path
by
Naourass Derouichi
Answer
8 May 2013
license:
CPOL
here is the solution:public Form1() { InitializeComponent(); textBox1.Text = "http://www.site.com/Documents/file.pdf"; Match matchPdf = Regex.Match(textBox1.Text, @"^.*\.(pdf|PDF)$", RegexOptions.IgnoreCase); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Visual-Studio
regular-expression
checking extention in a string that contain a file path
by
Naourass Derouichi
Question
8 May 2013
license:
CPOL
hello, i have a form with a textBox and a label, i want to check if the textBox Text is finishing by ".pdf" or ".jpg", then i want to show the extention in the label :public Form1() { InitializeComponent(); textBox1.Text =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Visual-Studio
regular-expression
refresh a comboBox after button click
by
Naourass Derouichi
Question
6 May 2013
license:
CPOL
i have a form with a comboBox, a textBox, and a button. the comboBox shows items from an sql database using dataBindingSources. after filling the textBox and clicking the button, a new item is added to this database, but i can't see this new item in the comboBox until i close and re-open the...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
WinForm
VisualStudio2012
webBrowser navigation to listBox selected value
by
Naourass Derouichi
Answer
6 May 2013
license:
CPOL
Thank you guys, i found the solution, here is it: private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { string url = listBox1.Text; webBrowser1.Navigate(url); }It work perfectly.
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
Visual-Studio
How to link the elements showed in a listBox to the element selected in a combobox
by
Naourass Derouichi
Question
5 May 2013
license:
CPOL
helloi have a form with a listBox and a comboBox, the combobox contains the subjects, and the listBox must show only the articles of that subject. i'm using an sql server db and i dont find how to show in the listBox only the articles of the subject selected in the comboBox, help me...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
VisualStudio2010
webBrowser navigation to listBox selected value
by
Naourass Derouichi
Question
5 May 2013
license:
CPOL
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
Visual-Studio
webBrowser navigation to listBox selected value
by
Naourass Derouichi
Answer
5 May 2013
license:
CPOL
when i changed it, "SelectedText" is underlined by the red line, and when i place the cursor on it it says that "System.Windows.Form.Lisbox doesnt contain a definition for 'SelectedText' and no extention method that accept first argument.. using assembly missing" (sorry i'm using french visual...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
Visual-Studio
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