i have a hashtable and have given keys such that they belong to a category indicated by their prefix (eg. bigCAT, bigDOG, smallCAT, smallDOG, smallFISH)
is there a way to databind this hashtable to a dropdownlist in such a way that it only puts a specific category in one dropdownlist.(also...
ok,
i have several buttons
each button is asscoiated with a panel and they have the same names except for the prefix which start with either btn*** or pnl***.
once a button is clicked, i would like them to goto one method.
so, one method that accepts a button and a panel and there are...
i was wondering if this is possible in c#:
say if i have a string myString which holds the value 'str'.
now, is there any way i can make a variable of type int or anything that has a variable name that is the value of myString?
(e.g string myString = "str" then
int str;
)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.