15,892,674 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 MeftahDAKHEEL (Top 51 by date)
MeftahDAKHEEL
25-Sep-15 7:21am
View
Yes i have the crystal report installed and the crystalReportViewer dragged on the form, for your information it is working on another project i have made a year ago, but now does not work for me.
the error: is red underline error under crystalReportViewer1 r=new crystalReportViewer();
Error 1 'WStoreSystem.Print.crystalReportViewer1' is a 'field' but is used like a 'type'
MeftahDAKHEEL
27-Jun-15 13:44pm
View
Oh! thanks a lot i will do so, it is the only way i see to avoid duplication at least for me as beginner programer, thanks again
MeftahDAKHEEL
25-Jun-15 0:04am
View
Dear OriginalGriff,
I am so happy to have a great programing support from Codeproject, an lots of thanks to to you specially...
i need your value advice for my, as you know i am new programer, i am making this project as first complete project (sales project).
i have to tables (Invoice and Invoice details) i want the system when user selling an item to create new invoice number, date and total amount in invoices table, and fill invoice details on invoice details table, i have done this when only one item and its working perfect, but when i add more items it duplicates the invoice number in the invoices table, what i need just to update the amount there and the details its on invoice details table,
i need an idea please
Best regards
Meftah
MeftahDAKHEEL
20-Jun-15 23:12pm
View
this code in the class, for updating
MeftahDAKHEEL
20-Jun-15 23:11pm
View
public void updateinvoNumber()
{
using (OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|StoreSys.mdb"))
using (OleDbCommand cmd = new OleDbCommand("UPDATE [invoices] SET [InvoiceNo]=?, [Total] = ?,[Date] = ? WHERE [InvoiceNo] = ?", conn))
{
cmd.Parameters.AddWithValue("p0", InvoiceNo);
cmd.Parameters.AddWithValue("p1", Total);
cmd.Parameters.AddWithValue("p2", Date);
cmd.ExecuteNonQuery();
conn.Close();
}
}
MeftahDAKHEEL
21-May-15 6:02am
View
Great, thanks now its working perfect, so i have to write the parameters twice
MeftahDAKHEEL
20-May-15 13:14pm
View
It's showing only the first Stock ID, even if i select the row 6
MeftahDAKHEEL
20-May-15 12:49pm
View
1 1 Bridgestone TC10 B 175/70R13
2 1 Bridgestone MY02 B 185/65R14
3 1 Bridgestone TC10 B 185/70R14
4 1 Bridgestone AR20 B 215/60R16
5 1 Bridgestone AR20 B 225/55R16
6 1 Bridgestone TG90 B 235/60R16
7 1 Bridgestone TC10 B185/65R15
MeftahDAKHEEL
20-May-15 12:49pm
View
for example:
StockID ProductID ProName ProType ProSize
1 1 Bridgestone TC10 B 175/70R13
2 1 Bridgestone MY02 B 185/65R14
3 1 Bridgestone TC10 B 185/70R14
4 1 Bridgestone AR20 B 215/60R16
5 1 Bridgestone AR20 B 225/55R16
6 1 Bridgestone TG90 B 235/60R16
7 1 Bridgestone TC10 B185/65R15
8 4 GoodYear GY101 GY 205/60R16
As per the data in Table (Store), but the result is always StockID = 1, the first catch, until i change product name from comboBox "combProdName", then it change with the first StockID related to the chosen productName.
MeftahDAKHEEL
20-May-15 12:39pm
View
const string ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|StoreSys.mdb";
const string Query = "SELECT TOP 1 StockID FROM Store WHERE ProductID = ? OR ProName = ? OR ProType = ? OR ProSize = ?";
using (var connection = new OleDbConnection(ConnectionString))
using (var command = new OleDbCommand(Query, connection))
{
// OleDb doesn't use named parameters, so only the order matters here:
command.Parameters.AddWithValue("p0", textProdID.Text);
command.Parameters.AddWithValue("p1", combProdName.Text);
command.Parameters.AddWithValue("p2", combProdSize.Text);
command.Parameters.AddWithValue("p3", combProdType.Text);
connection.Open();
txtStockID.Text = Convert.ToString(command.ExecuteScalar());
}
the result is the first StockID, and is not always the same
MeftahDAKHEEL
19-May-15 15:39pm
View
i really appreciate you kind help, thanks a lot, also your advice about the controls...
MeftahDAKHEEL
1-May-15 18:37pm
View
:) sure, i have forgotten, thanks a lot @Suvendu
MeftahDAKHEEL
9-Apr-15 11:59am
View
I'm so sorry, i do know sir, and for what to shout, i learning so always kind, and an other thing English is not my tong language, anyway i am glad i have learned a lot from this website, i hope one day i could give a lot back to the CodeProject family, however i am facing this problem and its killing my time to solve it.
MeftahDAKHEEL
9-Apr-15 3:05am
View
thanks a lot, SA
MeftahDAKHEEL
8-Apr-15 17:50pm
View
It's windo applications
MeftahDAKHEEL
8-Apr-15 17:49pm
View
It's windows application not ASP
MeftahDAKHEEL
8-Apr-15 11:00am
View
load error, how to load it in designer??
MeftahDAKHEEL
8-Apr-15 10:16am
View
Error 11 The name 'Server' does not exist in the current context D:\Graduation System\Graduation System\Form1.cs 58 29 Graduation System
MeftahDAKHEEL
8-Apr-15 10:10am
View
in my PC
MeftahDAKHEEL
8-Apr-15 9:30am
View
sorry i could not understand!
MeftahDAKHEEL
8-Apr-15 9:28am
View
but the server is not exists i face an error
MeftahDAKHEEL
8-Apr-15 8:53am
View
I HAVE INSTALLED THE X64, the one it should be
MeftahDAKHEEL
7-Apr-15 21:55pm
View
i have solved it myself, thanks a lot to every body
MeftahDAKHEEL
7-Apr-15 19:40pm
View
I have added all of them, after i searched on Google, but i still have the same problem
MeftahDAKHEEL
7-Apr-15 18:17pm
View
How can i add it? please let me know
MeftahDAKHEEL
7-Apr-15 18:15pm
View
Deleted
how can i add it? please
MeftahDAKHEEL
7-Apr-15 17:10pm
View
CRYSTAL REPORTSĀ® FOR VISUAL STUDIO 2010
Crystal Reports for Visual Studio 2010 is a free download for adding presentation quality reports to WPF, WinForms, and ASP.Net Web Sites.
Major new features include:
64-bit runtime
WPF viewer
Enhanced embedded report designer
Support for exporting to XLSX
sap.jpg Learn more and download Crystal Reports for Visual Studio 2010 today.
MeftahDAKHEEL
7-Apr-15 15:43pm
View
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Shared;
using CrystalDecisions.Windows.Forms;
when i use those classes i face errors as following:
Error 2 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\Graduation System\Graduation System\Form1.cs 10 7 Graduation System
MeftahDAKHEEL
7-Apr-15 15:17pm
View
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Shared;
using CrystalDecisions.Windows.Forms;
when i use those classes i face the errors as following:
Error 2 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\Graduation System\Graduation System\Form1.cs 10 7 Graduation System
MeftahDAKHEEL
7-Apr-15 15:15pm
View
Error 1 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\Graduation System\Graduation System\Form1.cs 9 7 Graduation System
MeftahDAKHEEL
6-Apr-15 21:21pm
View
i could not use CrystalReportViewer, always errorrs, i use also using CrystalDecisions.CrystalReports.Engine;
& using CrystalDecisions.Shared; ... but show errors on name spaces
MeftahDAKHEEL
6-Apr-15 20:51pm
View
NO, i meant that the same error as when it was without SAP crystal insstalled
MeftahDAKHEEL
31-Mar-15 15:08pm
View
i made the above letter on on text, but i put another text to indicate the name, the ID, so on... what i need to link those texts with specific fields from my data-source, but it does not work!
MeftahDAKHEEL
31-Mar-15 15:07pm
View
Deleted
i made the above letter on on text, but i put another text to indicate the name, the ID, so on... what i need to link those texts with specific fields from my data-source, but it does not work
MeftahDAKHEEL
31-Mar-15 14:51pm
View
i could not put values on the text in crystalreports
MeftahDAKHEEL
31-Mar-15 1:53am
View
i wish you great morning Peter, thanks a lot, i am new to C# this is my graduation project Information System Diploma
MeftahDAKHEEL
31-Mar-15 1:25am
View
@peter, thanks for your kind solution, but when made a numeric class, i face this error as follow:
Error 1 The type or namespace name 'NumberFormatInfo' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Bisan\Documents\Visual Studio 2010\Projects\Graduation System\Graduation System\NumericTextBox.cs 21 9 Graduation System
MeftahDAKHEEL
29-Mar-15 17:12pm
View
i have the same problem, i tried to use your code, but told me Match not exists also Reges
MeftahDAKHEEL
29-Mar-15 16:58pm
View
thanks its corrict
MeftahDAKHEEL
29-Mar-15 16:55pm
View
@Arkadeep, it is good, thanks a lot
MeftahDAKHEEL
29-Mar-15 12:35pm
View
i need to check my code and update my mistaks please
MeftahDAKHEEL
29-Mar-15 12:20pm
View
i need to have a help with my code, i need to check if value exists in database and show a message...
=============================
my code
=============
private void btnSearch_Click(object sender, EventArgs e)
{
if (searchtext.Text == "")
{
MessageBox.Show("Plese Inter Employee's ID you are searching for");
searchtext.Focus();
}
else
{
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\Employees.mdb");
OleDbDataAdapter ad = new OleDbDataAdapter("select * from Employee where EmpID=@EmpID", con);
ad.SelectCommand.Parameters.Add("@EmpID", OleDbType.Integer);
ad.SelectCommand.Parameters["@EmpID"].Value = int.Parse(searchtext.Text);
DataSet ds = new DataSet();
ad.Fill(ds, "Emp");
DGV1.DataSource = ds.Tables["Emp"];
if (ds == null)
{
MessageBox.Show("not found!!");
}
else
{
MessageBox.Show("The Employee you are searching for is listed down, if you want to update the data click the arrow sign on the lift side of the record");
}
}
MeftahDAKHEEL
28-Mar-15 10:39am
View
i update the code, it working now, but i need to show a message if EmpID not found Please!!
MeftahDAKHEEL
26-Mar-15 21:34pm
View
When i find the EmpID it is ok and i got what i need, but in the case the EmpID not found nothing done, i need to check with IF condition,
MeftahDAKHEEL
25-Mar-15 17:08pm
View
Thanks @Sacha Lefevre, i appreciate, i will try...
MeftahDAKHEEL
25-Mar-15 10:15am
View
thanks a lot, its almost done, only this
if (Information.IsNumeric(TextBox15.Text))
if you check it please.
MeftahDAKHEEL
25-Mar-15 10:08am
View
Would you please if you know change it for me
if (Information.IsNumeric(TextBox3.Text))
also this please
if (Conversion.Val(TextBox18.Text) <= 74)
thanks a lot
MeftahDAKHEEL
24-Mar-15 18:19pm
View
@manchanx, i wanna tell you that the search code wont show me the resullt i need, would you please correct my code to speedup my programming skills
MeftahDAKHEEL
20-Mar-15 16:48pm
View
i really appreciate your advice, would you please check my updated code, i did what you ask to do, put the all employee class, and i tried to work with parameters!
MeftahDAKHEEL
20-Mar-15 11:12am
View
Deleted
i need a help with this code, dose not appear any result
MeftahDAKHEEL
20-Mar-15 11:09am
View
i have updated my code, but when i search nothing appears
Show More