15,888,908 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 Sơ Mi Tv (Top 20 by date)
Sơ Mi Tv
5-Feb-21 10:42am
View
yeap, I've find out solution write for each value in file XML to Sql server and count it :)
Sơ Mi Tv
30-Jan-21 5:33am
View
you can see Solution1 Posted 1hr 20mins ago :)
Sơ Mi Tv
30-Jan-21 3:34am
View
Ok, i update the question, please see it agian
Sơ Mi Tv
29-Jan-21 22:09pm
View
Deleted
With your solution I don't really understand it yet. Can you help me with code in my project when I stop calling DelFile () function?
private void CompeteLog () {
string[] all = Directory.GetFiles(cbChoisePS.Text, "
Sơ Mi Tv
29-Jan-21 21:26pm
View
Can you help me code delete file if the content in the search is not mactching as the file name to search?
Sơ Mi Tv
28-Jan-21 7:29am
View
Can you show more detailed code? Example of placing code in if_else statement pair. Because I'm beginner :)
Sơ Mi Tv
24-Jan-21 8:57am
View
Ok special thanks bro
Sơ Mi Tv
24-Jan-21 7:56am
View
I am a beginner, with such text format can you help me convert?
'''
S21020215311
CHCM_INGENICO
NHCMINGAOI05_T
PQC
n296277001AD.MS
rA
Oc_admin
L4
p1
[2021-01-21 07:44:07
]2021-01-21 07:44:11
TF
F,u302,u1701
>Failed
~
cc905
AUpside down
(2021-01-21 07:44:11
~
~
cu302
ABillboarding
(2021-01-21 07:44:11
~
~
cu1701
AMissing
(2021-01-21 07:44:11
~
'''
Sơ Mi Tv
24-Jan-21 7:22am
View
hi @RickZeeland tried creating a New Class with the name ConverXML. In the form, I call the class but the value is null because the class is not a file string. I want to ask with the new class how can it read the XML file in the specified Folder?
```
RepairEventXML xml = new RepairEventXML();
sw.WriteLine(xml.NumberOfActiveComponents);
```
Sơ Mi Tv
23-Jan-21 6:41am
View
I still don't understand. If create such a class, where does the input file xml? Namespace = "http://tempuri.org/BoardTestXMLExport.xsd" =>? You can help me improve the code?
Sơ Mi Tv
26-Oct-20 3:09am
View
thanks for suggestion
Sơ Mi Tv
26-Oct-20 2:37am
View
My suggestion is as follows:
You can count the HardworkCount inside the for loop only... and display it in label after the for loop –
Is this right?
Sơ Mi Tv
26-Oct-20 2:32am
View
but I got a problem specified cast is not valid. I think there is a need to convert int32 =>??? i don't know :(
Sơ Mi Tv
23-Oct-20 16:29pm
View
I update code below,please see and help me fix it
special thanks!
Sơ Mi Tv
23-Oct-20 16:24pm
View
Deleted
Below soure code use in project. please see and help me fix it:
Images:
https://ibb.co/ssP8VqG
https://ibb.co/dGjFFwp
(Please copy and paste new tag browse)
Sơ Mi Tv
23-Oct-20 14:14pm
View
You can copy and paste new tag browser
Sơ Mi Tv
23-Oct-20 10:00am
View
I also tried your code but the results are still the same
Sơ Mi Tv
23-Oct-20 9:54am
View
Columns in my Datagirdview name "TotalTime" or [07]. I tried 2 name but not run
Sơ Mi Tv
23-Oct-20 9:29am
View
I've try code but not run. errors appear:
'System.InvalidCastException: 'Specified cast is not valid.'
I try breackpoint > IEnumerable<datagridviewrow> rows = dataGridView1.Rows.Cast<datagridviewrow>().Where(r => ((int)r.Cells["TotalTime"].Value) == HardWorkThreshold);
results return: rows null
Sơ Mi Tv
22-Oct-20 18:15pm
View
I have label total lines already. But I need show difficult work in other label (if on columns Total Time have columns >= 30, labels "Hard Work ++")
Show More