Dear All,

i have been working on a DataGridView for quite few days. Now its comes that a particular column has to show user name in display and in internal it should return user id. DataGridView is populated from a DataSource which will only supply user id. anybody knows there is any inbilt function or property in DataGridView to implements this option ?

thanks

Warun

I didn't understand your post. You want the column to be a link that displays the user name but gives the userid to the click or command methods?

i'm looking for a combo box type column, which will display user name and there would be a internal property which will return the corresponding user id for the selected user name

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.