15,885,949 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Motamas (Top 11 by date)
Motamas
30-Mar-13 20:00pm
View
More code fragment would help. Is the grid bound to a datatable or dataset for example?
Motamas
21-Mar-13 4:30am
View
I am not really understand what you trying to achieve. Do you need a simple column with checkbox? In this case the easiest way to use a boolean datatable column and the ultragrid will automatically set the columm's cell to checkbox. But as I see you habe to ultraGrid (3 and 4). So I am bit confused, please try to clarify in more detail.
Motamas
12-Mar-13 10:55am
View
I am not fully understand but I guess the problem is the different time zone settings. Maybe the DateTime function called ToLocalTime could help? The DataColumn type is DateTime?
(note: I think DataSet is too heavy for webservice interaction, it works but too complex. This is not relevant for the answer just a note.)
Motamas
4-Mar-13 17:31pm
View
Remove the databinding or datasource from the ultragrid or try to remove from the grid.displaylayout.bands[0].columns.... bands is a collection can be 0..1..2 you can also set the column visibility if you dont want to remove just hide.
Motamas
3-Mar-13 16:32pm
View
I agree that we should know were you stucked. If you ask generally for the solution, you would need some image processing algorithm. I am not sure how bright is the ambient but if the place of the led is the most brightest place then probably the luminance channel and some treshold value would be enough.
Motamas
28-Feb-13 9:39am
View
Did it help?
Motamas
28-Feb-13 3:15am
View
The question what you want. The .where statement needs a predicate. For example you can use something like this:
context.table1.Include("table2").where(a => a.value = 10));
or
context.table1.Include("table2").SelectMany(a => a.Table2.Where(b => b.value = 20));
or
context.table1.Include("table2").SelectMany(a => a.Table2.Where(b => b.value = 20), (a,b) => new
{
item1 = a,
item2 = b
}
);
Motamas
27-Feb-13 18:37pm
View
Are they in a relation?
Motamas
26-Feb-13 3:56am
View
In c# you could try to get the Writeablebitmap from the image. Once you have it you can get the pixel. But it depends on which version of the framework are you working on. Some code example would be nice. Or you can use this solution: http://writeablebitmapex.codeplex.com/
Motamas
15-Feb-13 8:18am
View
It is really useful :-)
Motamas
11-Feb-13 4:05am
View
How you mean clear? Remove them or clear the content?
Show More