15,911,891 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 Armel_Djient (Top 25 by date)
Armel_Djient
8-Aug-16 4:26am
View
i have already replied to you. what u have said it's not what i want. let me set the question in another manner: how can i from my winform access the remote linux server by opening putty and passing a command for its execution?
Armel_Djient
5-Aug-16 22:32pm
View
no my winform program runs on windows
Armel_Djient
4-Aug-16 13:19pm
View
thanks for ur reply. i found an article talking about Mono and it's seems to be close to what i want
Armel_Djient
2-Jun-16 14:59pm
View
i figure out the term used is not appropriated. i want to execute thre methods i described in parallel using threading. i request u to do not focus on the tittle given(it seems to be not correct) but on what i want to do. yes SrCreated and srSolved are independent. both only require output of golbal and dchild methods. How can i execute these methods in parell after the dashboard form appears?
Armel_Djient
28-May-16 4:50am
View
i got unexpected result. what i have done, i ping the database every time and that makes the app slow. let me improve my question
Armel_Djient
15-May-16 16:56pm
View
this is in the same class, how to do if i want to get that static datatable in other winform for example
Armel_Djient
15-May-16 16:53pm
View
thanks for ur reply. after reading MVC seems to be intersting
Armel_Djient
14-Apr-16 3:29am
View
i got your point and i think youu are right. Subdivise my app in 3 layers(presentation, business logic and data access layer) will be benefict for me.
thanks for ur reply
Armel_Djient
12-Apr-16 17:23pm
View
according to you, how can manage the access to my database such that my winform app will not go down?
note: i have mysql phpmyadmin
Armel_Djient
12-Apr-16 17:20pm
View
connection pooling is only for Sql server. I use mysql phpmyadmin
Armel_Djient
12-Apr-16 15:02pm
View
no error is generated. i said the setup i created does not run in other computers
Armel_Djient
12-Apr-16 5:31am
View
i observed something, when i execute my winform in VS 2012, my assembies are not present in bin folder, do you think it can be the problem when i generate the exe setup?
Armel_Djient
12-Apr-16 5:30am
View
yah i did, but still error
Armel_Djient
7-Apr-16 10:37am
View
in the database the date is stored in format of DATETIME.(eg: 2015-11-16 10:45:48)
now through a sql command i fetched only the time from this datetime, ie 10:45:48
which represents the date_to_be compared or the time_to_be_compared
As you can imagine i have more than one row in my database. that's why i fetched them and put in the datatable.
In your source code u know in advance what is date_to_be_compared that's why you wrote
DateTime date_to_be_compared = DateTime.ParseExact("12 Aug 2014 13:45:22", "dd MMM yyyy HH:mm:ss", System.Globalization.CultureInfo.CurrentCulture);
if i modified your code and write something like that, i will get error
foreach (DataRow items in dchild.Rows)
{
DateTime date_to_be_compared = DateTime.ParseExact(items["time_created"], "dd MMM yyyy HH:mm:ss", System.Globalization.CultureInfo.CurrentCulture);
}
where items["time_created"] represents for example the first row's value 10:45:48
Armel_Djient
7-Apr-16 10:07am
View
thanks for your reply. the problem in your source code is :
DateTime date_to_be_compared = DateTime.ParseExact("12 Aug 2014 13:45:22", "dd MMM yyyy HH:mm:ss", System.Globalization.CultureInfo.CurrentCulture);
the date_to_be_compared that you parse is static "12 Aug 2014 13:45:22" .
But mine is not.
in my source code, the date_to_be_compared is fetched from the datatable in this format "hh:mm"
Armel_Djient
7-Apr-16 9:55am
View
because i want to fetch only the time from DateTime. Is there another way to fetch only time without converting the DateTime values to string?
Armel_Djient
7-Apr-16 3:49am
View
i got how this command works.
INSERT INTO table_listnames (name, address, tele)
represents the columns where the data will be inserted
SELECT * FROM (SELECT 'name1', 'add', '022') AS tmp
traduces the values to be inserted in the columns(name, address, tele) mentionned above
WHERE NOT EXISTS
to checks if the record already exists or not
Thank you very much for your reply
Armel_Djient
7-Apr-16 3:42am
View
Deleted
i don't understand very well this sql command. could you explain ?
Armel_Djient
5-Apr-16 15:59pm
View
the dchild datatable is already populated from a database. Now i am trying to insert datatable contents into another database table
Armel_Djient
27-Mar-16 12:56pm
View
fisrt of all i am very grateful for ur reply. u can't imagine how useful are ur explanation. Between the 2 approaches given by u i prefer the first one. i found it simple.
Armel_Djient
26-Mar-16 18:08pm
View
thanks you for your reply. it helped me a lot.
Armel_Djient
26-Mar-16 15:53pm
View
yes. in fact i put the datagridview and added 2 columns(RED and GREEN) graphically. and programmatically in my code i want to add a cell to a specific column and insert the society according to the condition defined above
Armel_Djient
26-Mar-16 15:36pm
View
this one
this.dataGridView1.Rows[cell_green].Cells[0].Value = society_name;
Armel_Djient
26-Mar-16 15:01pm
View
after debugging i have this message:< Index was out of range. Must be non-negative and less than the size of the collection.>
Armel_Djient
26-Mar-16 14:45pm
View
what i have tried does not work
Show More