but can u suggest me how we can access this value in a combobox in visual
studio 2008.

2009/1/21 Cerebrus <[email protected]>

>
> I would have assumed that by now you know that this is not a Group
> about Classic VB  !
>
> On Jan 21, 7:52 pm, Praveen Mani Tripathi <[email protected]> wrote:
> > i have a Employee Database table in SQL 2000 with empnm and empid.
> >
> > how can we access empid on a loop from database like vb 6.
> >
> > do until rs.eof
> >    combo1.additem empnm
> >    combo1.itemdata(combo1.newindex)=empid
> > rs.movenext
> > loop
>



-- 
Warm Regards,
Praveen Mani Tripathi
(E.D.P. Officer)
Reliance Spinning Mills Ltd.
VDC-Khanar-4 Dist- Sunsari,Nepal
Ph:977-25-581585, Extn- 112,148,Resi.-251
Cell:+977-9804306421,9804341151

Reply via email to