setting an asp variable via java script

setting an asp variable via java script

i have an aspx.cs page:

i have an aspx.cs page:

public partial class multiIndex : System.Web.UI.Page
{

public string Link = "";
public string board = "";
public string against = "";

protected void Page_Load(object sender, EventArgs e)
{
}

}

and an aspx page and in it a script and this code:

<script>
var newBoard = "<%=board%>";
<%UpdateDataBase(board)%>
</script>

now this is working but i can't use it in reverse:

var board = "something";
<%board=%>= board;
<%UpdateDataBase(board)%>

so how do i do such a thing without php or any other libarary like node.js, i want to keep it simple

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Add asp.net Identity in empty project

LIKE | COMMENT | SHARE | SUBSCRIBE Today, in this tutorial you will see the process of adding an ASP.NET Identity to the ASP.NET Web Application developed in...

List all users from asp net core identity

LIKE | COMMENT | SHARE | SUBSCRIBE In this video, i will show you How to retrieve and display all the registered application users in asp.net core using the ...

Extend IdentityUser in ASP NET Core

LIKE | COMMENT | SHARE | SUBSCRIBE In this tutorials, I will show you how to extend IdentityUser in asp.net core.. Subscribe & Stay Connected! Thank You! ♥ #...