I want to show a different Text in DropList which should not have Id in it but also want it to get selected as it is bound to a property. I can't remove 1 from the columns to Display as it will
select next column as value.
Thanks
You can still have it as part of the 'Properties', and exclude from 'Columns to Display'.
I have tried your answer but how to access it from C# Form script...Is there any way to access the column values of 2,3, and 4 at the same time, from the C# form script? Like ThisForm.Components["xyz"].Value shows the value of Column 1 which is ID. I want to get the values of other columns in form script.
Try this:
int columnNumber = 1;string Column2 = ThisForm.Components["DropList"].GetListValue(ThisForm.Components["DropList"].ListIndex, columnNumber)
columnNumber += 1;string Column3 = ThisForm.Components["DropList"].GetListValue(ThisForm.Components["DropList"].ListIndex, columnNumber)
columnNumber += 1;string Column4 = ThisForm.Components["DropList"].GetListValue(ThisForm.Components["DropList"].ListIndex, columnNumber)