15,897,226 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 houssem eddine ayari (Top 16 by date)
houssem eddine ayari
27-Jul-22 6:05am
View
i've tried before this and my problem still persist
houssem eddine ayari
27-Jul-22 3:31am
View
This is my code to insert in the database from datagridview :
SqlCommand cc = new SqlCommand("INSERT INTO [dbo].[C9_V] ([C9],[V],[OID],[USERMODIF]) VALUES ('" + dataGridView1.Rows[i].Cells[0].Value + "', '" + dataGridView1.Rows[i].Cells[1].Value + "', '" + textBox1f2.Text + "', '" + user + "')", conn);
cc.ExecuteNonQuery();
houssem eddine ayari
15-Nov-21 10:15am
View
I did the same thing but the problem continues. Error: "Unable to open data file 'C: \ Users \ Nemos \ Desktop \ H\ T\ Contrats_INC_202110_VD.csv"."
If the files doesnt exist i added delay validation and still not working
houssem eddine ayari
5-Feb-21 4:40am
View
this is my connectionstring before encryption :
<connectionstrings>
<add name="AffecAnalytiqueConnectionString"
="" connectionstring="Data Source=***1;Initial Catalog=***2;Persist Security Info=True;User ID=***3;Password=***4" providername="System.Data.SqlClient">
and this is how i call it in my forms :
SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["AffecAnalytiqueConnectionString"].ConnectionString);
houssem eddine ayari
28-Jan-21 7:24am
View
@RickZeeland thanks
houssem eddine ayari
28-Jan-21 3:33am
View
@F-ES Sitecore thanks
houssem eddine ayari
22-Jan-21 5:44am
View
@OriginalGriff of corse i used clickonce to publish my solution. For the second point not realy, this is my second time working with winforms and for my first app i didn't install sqlserver in the other coputer to run the app.
houssem eddine ayari
21-Jan-21 4:09am
View
@RickZeeland no there's no message like "Access denied". Just error Code5.
houssem eddine ayari
20-Jan-21 4:26am
View
@RickZeeland this is very helpfull but i got an error with code5. You got any idea about this error code
houssem eddine ayari
19-Jan-21 2:46am
View
@Chander Parkash Mourya thanks. It realy was helpfull and thanks to you i just deploied my application :)
houssem eddine ayari
13-Jan-21 5:29am
View
@OriginalGriff there is no relationship between my two forms
houssem eddine ayari
12-Jan-21 10:05am
View
I import the file using openfiledialog and read it with IExcelDataReader and then in my combobox i choose the sheet. Later I visualize the data in my datagridview and save it in SQL database. How to import all the sheets and pass the sheet which i need to work with in each form ?
houssem eddine ayari
1-Oct-20 5:17am
View
I just have a question: how can I add a static text to the DisplayMember. comboBox3.DisplayMember ="LIBELLE"; --> get the data from DB.
I want the data to be showen in my combobox like this --> Scenario: LIBELLE
houssem eddine ayari
30-Sep-20 11:28am
View
The value LIBELLE selected with combobox exists in my database. I just updated my code to show a messagebox inside the if condition and nothing was showed.
houssem eddine ayari
30-Sep-20 8:38am
View
Nothing is returned. Not even an empty messagebox
houssem eddine ayari
30-Sep-20 8:32am
View
In the database
Show More