一个简单的asp.net 问题。
各位老大请问:页面Default.aspx中的 Default.aspx.cs 能否 生成.dll文件。请各位老大帮帮忙?
能啊。
编译一下就好了!!!
up
(回复内容太短了!)
我实验了一下,应该是不能单独编译,错误是上下文没有此控件,应该和前台也有关系吧,前台,aspx.cs,aspx.designer.cs,他们最终会被合成为一个类,然后再编译
可以的。不过好像要用到虚拟目录什么的……
应该是工程中的所有cs文件生成一个dll.如果你的项目是web application而不是web site的话。
完全可以
编译一下啊。csc....*.dll,可以用vs的编译功能.
如果是web项目,所有的.aspx.cs会生产一个dll,如果是web站点的话,一个.aspx.cs生个一个dll
相关问答:
select top 12 * from Product where [id] not in (select top 12 [id] from Product)
这样可以分页,但是我在后面想加个条件
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
3个radioButton
一个Button
一个label
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......
发给我一份 280535258@qq.com 谢谢 要分可以说 多少都行
参考::!!!!
前台
<%@ Page language="c#" Codebehind="Domain.aspx.cs" AutoEventWireup="false" Inherits=&q ......
我想将字符串生成一张图片,如何写?
字符串生成图片?
引用
字符串生成图片?
说简单点就是生成验证码的方法。
Private Sub Paint(ByVal strCode As String)
Dim strImgPath As String ......