Author: ibro_07 | Posted on: 2/6/2010 8:00:23 AM | Views : 239

Hi guys,jst started coding with .net, been using java for a while nw.I want to create a function using vb.net code, but dunno how, please need suggestions.
Function:
I am creating an advanced search program for choosing a hotel/resort for a clas project. The programs works like this; the user is given a form with different options to fill. The hotels are stored in a table with xteristics that are same as the options the user is given, e.g location, price, etc.
The problem i have is i have created an integer variable "count"=0. In the code, it would be dat when the user clicks on te seatch button, it would then look up the database, compare each of the users options with each column in the database(row by row), if it matches, it increments the count until it has finished going through all the columns.Then it would store the final count value in an array/list before going to the next row, it repeats this until it has read through the whole table.So from the ...

Go to the complete details ...