Đã hoàn thành

VB.net function for freight calculation when items(width and height columns) datatable and price per vol kg are passed to function

I need a vb.net code for function FRTData(price/vol kg, datatable) which returns a total(double datatype). I would like to include this vb.net function code to my existing project.

The function will take datatable and price/vol kg as inputs and returns total as a double.

The input datatable consist of different sizes(width and height)rows. The function should be smart enough to sort all the rows lowest at the top and highest width at

the bottom of table.

The function should return the lowest total price by trying different combination of boxes depending on number of items.

For example an order consists of 2. its pretty straight forward function will pick a box of 2 and input 2 row datatable with greatest width item defining the width of box then vol kg, total accordingly

same thing with 3 items boxes with greatest width item as defining the length of package.

Now if order consists of 4 items we have 2 options either we select a box of 4 or 2 boxes of 2 and 2. Here we want to see what is more cost

effective whether one box of 4 items or 2 boxes of 2 and 2.

we have to apply the same algorithm for for bigger number of total items to see what combinations give us the total lowest price for vol/kg

example will be an order which consists of 12 items. We want to see if what is more cost effective whether a combination of 6+6 or 4+4+4+4 or 6+4+2 or 3+6+3 and so on.

THE GOAL IS TO GET THE LOWEST TOTAL PRICE AS RETURN VALUE FROM THE FUNCTION WHEN INPUT IS DATATABLE AND PRICE/VOL KG

Kĩ năng: VB.NET, .NET, Visual Basic, Microsoft SQL Server, Lập trình C#

Xem nhiều hơn: flv video width height, find flv width height, flv width height reading, moments image detection width height blob, text width height calculation php, area curve calculation vb net, binary tree mlm calculation vb net class, multi level marketing commission calculation vb net, read width height flv asp net, text calculation vb net script, vb net datagridview skip columns, vb net fedex freight, video width height net, shopping cart width height price calculation, vb net listview items not visible, display only selected columns in datagridview vb net, vb.net datagridview column width fill, vb.net datagridview column width autosize

Về Bên Thuê:
( 0 nhận xét ) Halifax, Canada

ID dự án: #30158077

Được trao cho:

(1114 Đánh Giá)
7.7

3 freelancer chào giá trung bình$50 cho công việc này

merinsinha

Senior vb. Net Expert. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from thi Thêm

$100 CAD trong 1 ngày
(27 Nhận xét)
4.5
AbdoDinoune

I am a developer I use well .NET and [login to view URL] C # I can carry out your project for more information contact me in the chat

$25 CAD trong 5 ngày
(0 Nhận xét)
0.0