I have converted the vb6 code to .net .While migrating I have a function ,where I want to change the vb6 compatibility to .net.
Please find the code below:
Dim x = cmb1.Items.Add(CStr(value))
for i = 1 to count
vb6.setItemdata(cmb1,x,i-1)
next i
What is the equivalent of replacing the setitemdata with .net function. Thanks