Friday 18 November 2016

Key-Value Pair For .Net Controls


There are many controls in .Net in which key-value combination is required. i.e. Radiobox, CheckBox, Combobox etc. Here you want to show users “a well defined string” but when use submits form, you want to store some other string in database.

You can achieve this in .Net using Dictionary key-pair value. Check Out below Project & source code to understand the same.

Here In Combo box, I have used different values and showing different values based on dictionary key – pair values.
From here, You can download the source code.
http://www.4shared.com/zip/9-fYybgz/KeyValue.html
Here, I have defined dictionary with string as a key & Object as a value. And we have added different values using add method. Later on to access that value we need to use key.



From here, You can download the source code.
http://www.4shared.com/zip/9-fYybgz/KeyValue.html

No comments:

Post a Comment