473,386 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

how to get code in dicounted 5 item

I have 5 items 13 textbox 3 button the first button is TOTAL 2nd button LESS 3rd DISCOUNTED

the first 5 textbox is you put the quatity of item and the next 5. textbox is show the price


Textbox11 show the total sum of 5 items when you click TOTAL now what I code in button LESS to get the less? And discounted?
Sep 15 '12 #1
2 1544
michaeldebruin
134 100+
I know I am not an moderator. But due to my experience on this forum I can tell you that this is not really a forum on which you can ask for complete scripts, or lines of code to put into your project. We might be able to help you by looking through your code and see what's wrong but that's all we can do.
Sep 15 '12 #2
zmbd
5,501 Expert Mod 4TB
noobvbpoor

Michaeldebruin is correct in that simply asking for code does not usually result in compleated code being posted unless we get to see your work first. Too many homework questions.

You need to do the following:
IN your total button, write code that calculates the subtotal of each of the items and then grand total. Return that value to your form.

IN your less button... you have not really given any usefull information... what is it you want here?

IN your Discounted button... once again, you have not given any usefull information. I can guess what you want bases on life-experince. My guess is that you either need to calculate what the discount is or you need to calculate the net amount.

Until you can post some calification and show your work that's the best I can offer. (remember to use the code tags).
Sep 16 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Hasani | last post by:
The reason I ask this is because I'm having problems accessing an array of type TrackSelection in a VBS script I'm using to test my code. item.AdditionalInformation returns an array of type...
1
by: Manch | last post by:
I need to dynamically retrieve the column index of a Windows Forms datagrid column. To reference the column I used the following code ...
3
by: Michael Meckelein | last post by:
Hello, I run into trouble move down a selected item in a listbox. The code moving down the item is the following one: for (int j = lv.SelectedItems.Count-1; j >=0; j--) { ListViewItem...
6
by: George | last post by:
Hi all, How can I get the value stored from the selected item and subitems of a listview? Thanks in advance, George
4
by: Jeff | last post by:
Dear reader! ASP.NET 2.0 How should this line with vb.net code: e.Item.ImageUrl = CType(e.Item.DataItem, SiteMapNode)("ImageUrl"); be as C#????? I want to put the code into...
2
by: Kevin Walzer | last post by:
I'm trying to avoid a *lot* of typing in my Tkinter application by associating image names with items in a list. Here is my sample list: self.catlist = I've also already created a bunch of...
2
by: kanepart2 | last post by:
Hey all , I wanted to create a project or item template in C# such that when I use that template a parameter wizard comes up asking for values. I know how to create the template without...
3
by: RSH | last post by:
Hi, I have a situation where I need to send a Datarow.tiem to a function for processing. I cant figure out the right type to specify in the function to receive the item. What should it be? ...
4
by: calphord | last post by:
I have written some code that will find the average then the middle number and then the most used number of a user entered list of numbers. I have the code as separate programs and they all work fine...
2
by: cday119 | last post by:
So I am having a difficult time with some clients. The database is set up like this tblOrder tblOrder_Item_Bridge tblItem internal_id item_id ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.