Author: Rosy1 | Posted on: 6/30/2008 7:12:52 AM | Views : 325

Hi, I am populating a dropdownlist from a databsae. I am passing the datavalue fiield as the primary key which i am later using for updating field in another table. There are 3 fields in the table tblx.


primary key
name
score
I do want to pass the score field along with the name and primary key to do a calculation. Is it possible to pass two datavalues for a selected item. I am using the primary key id  from tblx already  to do an update on another table tbly. below is my code. Any help appreciated.

Try

constr.Open()
Dim obj3 As New SqlCommand("select * from tblx  x  left join tbly e on e.id=tblx.id " Go to the complete details ...