PC Review


Reply
Thread Tools Rate Thread

Question on data in datagrid /listbox and looping in vb.net 2003?

 
 
Guest
Posts: n/a
 
      25th Oct 2004
Greets All,

Question on data in datagrid /listbox and looping?

Iím trying to decide the best way to write this code.
1 would like the user to make several selections from one listbox/combo box that would
Populate another Listbox/datagrid. Then it would cycle through the selections made in the populated listbox/datagrid and do some calculations. The calculations made would have to add the first two numbers in the populated listbox/datagrid then divide by 25 then divide by 2. Then take that answer and add it to the next populated number in the listbox/datagrid then divide by 25 the divide by 2.

Example: Variable List of Numbers in populated Listbox/combo Box
10,20,30,Ö.

Example of Calculation formula:
1) (((10+20) /25) /2) =.6
2) (((.6+30)/25)/2) =.612
3) Next number in populated listbox/datagrid
Question:
1) Should I use a listbox/datagrid to populate the data with?
2) Is this possible? :-)
3) Any ideas how to write this array loop if possible?

TIA



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recordset looping (and debug looping!) =?Utf-8?B?U3RlcGhhbmll?= Microsoft Access Form Coding 16 7th May 2007 08:17 PM
setting datagrid column width according to data without looping =?Utf-8?B?RGVlcHNvbiBUaG9tYXM=?= Microsoft Dot NET Framework Forms 0 14th Jul 2005 01:58 PM
Looping Sound file with Looping slide show? =?Utf-8?B?a29rYW5lZWdvbGQ=?= Microsoft Powerpoint 11 19th Jan 2005 07:14 PM
Question on data in datagrid /listbox and looping? Microsoft VB .NET 0 25th Oct 2004 11:32 AM
Looping through rows in a DataGrid Diva Microsoft ASP .NET 1 24th Jul 2003 07:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 AM.