Combo Box With Database

i have connected combo box with data base...
i have called a field in combo box...
but i dont know how to made selection..
means when i click on items that are in combo box from database, the text box should change value according to the selection of combobox.

i have 2 fields in database, one is item code, other is description, now i have 10 item codes and its description.
i want to show item code in combo box, and its discription in text box.
when combobox value changes, the text box should also change its description, acording to the itemcode, which is saved in database.

why cant u assign dataset to combobox with datasorce property and set value meber and display member property of combo?

i didnnt understand, what u want to say..?
i want to use pure vb 6 code..
and i was confuse on this statement..
text1.text=rs!Description..
i am just trying to show the dscription of itemcode, which is in combo box..i tried this statement but didnt worked..

Yes debasis, i asked the same to jaseem.
No need to assign the value to textbox in loop.

cant we get the data into dataset and assign that dataset to combo with value meber and display member? and in selected index changed event we can get the value member of that index and show up in textbox???

there is a still problem Andre...
all the itemcodes are working fine...but the item which is on top in combo, is not working...it is Errorring "Arguments Are of the wrong type,are out of acceptable range,or are in confilict with one another" and pointing to "rs.AbsolutePosition = xIndex"..

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...