Hello Mirzamujib,
pardon me for the nasty code as i am doing it real quick so here's the code to call class member from aspx page.
this is WebForm1.aspx
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<%=new WebApplication1.Class1().MyName %>
</div>
</form>
</body>
</html>
this is another class
namespace WebApplication1
{
public class Class1
{
public string MyName { get { return "naruto"; } }
}
}
hopefully you get the idea... sorry for the code