title: How can I bind dynamic resource key value with column value in data table in wpf
body: <p>I am developing a user control in wpf where I need to set eclipse background color as per value in database. Now that field contains values between 1 to 6.</p>
  
  <p>now I want that according to values in of that field my eclipse should have different color.
  I have defined 6 different brushes in resources. Their key values contain 1 to 6 number.</p>
  
  <p>now I know that I can find resources bu key or name but do not want that. 
  what I want is when I run query according to values in column the dynamic resource value should be set. I don't wanna do any processing so can I bind dynamic resource value directly...</p>
  
  <p>if you are not clear with my question plz specify i will put my code...</p>