Welcome to The Scripts, Bob.
See
this page to get your selection using Javascript. Then store this in a text box or textarea as shown on that page. Then send that form to a page which contains your C#/ASP.NET code. If you need help on that, post in the .NET forum.