15,902,939 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 Ahmed Zoeil (Top 20 by date)
Ahmed Zoeil
1-Jan-16 7:10am
View
thank you for your reply but I don't want to insert itmname if itmcode is null I want itmcode only to be inserted if it's value is null and if there's value in itmcode add it next to it
so it would look like this
itmname itmcode
name1 3
if user enter 4 in textbox1 then it give me this result :
itmname itmcode
name1 34
Ahmed Zoeil
1-Jan-16 7:06am
View
no error just itmcode never changed
Ahmed Zoeil
30-Dec-15 12:20pm
View
can you show me how to do that in code you gave me please
Ahmed Zoeil
30-Dec-15 4:32am
View
thanks for your answer working too
Ahmed Zoeil
30-Dec-15 4:31am
View
it's working but throws error because it need the whole 7 numbers to be there to work .. is there's a way to make it add to textboxes as I type ?
Ahmed Zoeil
10-Nov-15 14:24pm
View
what i'm trying to do is that the form contain 2 comboboxes contain columns names in a table .. so when the user click button1 it should find the data by column names user selected in comboboxes and add it to listview1
Ahmed Zoeil
8-Nov-15 15:58pm
View
thanks for your reply but I still can't get it
can u show me what code should I I use for my stored procedure and what code should I use for button1 click plz i'm stuck for 2 days :)
Ahmed Zoeil
7-Nov-15 12:20pm
View
it gives me an error :
Additional information: Fill: SelectCommand.Connection property has not been initialized.
Ahmed Zoeil
20-Oct-15 12:56pm
View
down voted !!?
Ahmed Zoeil
20-Oct-15 9:09am
View
I got it had to add using System.Text.RegularExpressions;
Ahmed Zoeil
20-Oct-15 9:03am
View
regex and Match have redlines under them says : the type or namespace could not be found
Ahmed Zoeil
18-Oct-15 13:36pm
View
thanks sreeyush sudhakaran it worked
Ahmed Zoeil
18-Oct-15 13:35pm
View
@Michael_Davies
may I ask what is the difference between doing it like this or using SQL parameters and can u show me how to do it using SQL parameters plz
Ahmed Zoeil
18-Oct-15 5:30am
View
thank u so so much Michael_Davies ... u made my day
Ahmed Zoeil
18-Oct-15 3:27am
View
I mean :
if listview1 items in form contains the following :
listview1 : itemcode itemcount tablename
1 15 testtbl1
2 20 testtbl2
and as u see if u go to testtbl1 u will find the following :
testtbl1 : itemcode itemcount tablename
1 50 testtbl1
and testtbl2 : itemcode itemcount tablename
2 40 testtbl2
I want when user click button1 it should minus what's in every row in itemcount column from it's table to gives the following result :
testtbl1 : itemcode itemcount tablename
1 35 testtbl1
and testtbl2 : itemcode itemcount tablename
2 20 testtbl2
Ahmed Zoeil
18-Oct-15 3:19am
View
and by the way .. multiselect is already set to true
Ahmed Zoeil
18-Oct-15 3:17am
View
can I minus the values in itemcount in listview1 from the values in the tables before update and update itemcode with the result ?
Ahmed Zoeil
18-Oct-15 3:10am
View
thanks Michael_Davies for your reply
can modify my code and show me how to make the loop in code ?
i'm stuck for 2 days and will appreciate your help
Ahmed Zoeil
16-Oct-15 13:35pm
View
I really need your help
Ahmed Zoeil
16-Oct-15 12:52pm
View
I still can't figure yet how to do it
Show More