Passing variables from asp.net to flash

Hi, I am new to .net and I am trying to pass variables from an aspx page to flash but I have absolutely no idea how to do it. I have seen many post about this but I can’t figure out how to do it myself.
I have a variable that was gathered from a database using C#, now I want to send that variable to my swf file. but I cant figure out how. so far I tried using <object tags, something called flashcontrols and flashvars I have reached my limit on this and decided to seek some help here. Would someone please tell me how I can send a variable from C# to flash. For the sake of argument lets just say that I want to display that variable in a text box in flash. what would I need to do on the aspx and the .cs file and what would I have to do on the flash file? Thank you for any help you can provide.