如何在页面的源代码中编写C#代码 [英] How to write c# code in Source code of page

查看:88
本文介绍了如何在页面的源代码中编写C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在页面的源代码中编写c#代码.因此,谁能告诉我如何定义名称空间以及如何在源代码中编写方法.我是asp.net的新手,所以请告诉我如何在源代码中编写c#代码的完整步骤.与:

初学者ASP.NET简介 [ http://www.dotnetperls.com/ [ ^ ]


I want to write c# code in source code of page. So can anyone tell me how define namespace and how to write in method in source code. I am new in asp.net so please tell me complete step of how to write c# code in source code.

解决方案

Here is a good introductory tutorial for you to start with:

Beginners Introduction to ASP.NET[^]

I would also recommend you read an introductory book on ASP.NET or watch some training videos on the same. If you are just getting started, you are going to need some foundation before you even know the right questions to ask.


This site is very helpful for beginners
http://www.dotnetperls.com/[^]


这篇关于如何在页面的源代码中编写C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆