It's possible in most of programming languages which can be used to program UI.
However, T-SQL has nothing to do with it. It's about data.
What are you using programming in? .NET?
_____________________________________________
"The only true wisdom is in knowing you know nothing"
"O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
(So many miracle inventions provided by MS to us...)
How to post your question to get the best and quick help[/url]