Urgent: How to pass C# variable to HTML code

Urgent: How to pass C# variable to HTML code


Does anyone know how to make use of a c# variable in html.

In my C# code i have a variable EmbedTextBox.Text = this.OpenFileDialog;

I want to use that same variable's contents in my HTML code e.g.



which does not work.

is there an easy of doing this?






Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories