asp.net新闻经典问题……
发布新闻这是我生成德静态页面:
<form id="form1" name="form1" method="post" action="/comment/PublishCommentInfo.aspx?newsId=146" >
<ul>
<li class="y31adf7">现在有 <span>
<script language=javascript charset=utf-8 src="/comment/CommentInfoNum.aspx?newsId=146" > </script> </span>人对本文发表评论 <a href="#">查看所有评论 </a> <a name="sq" id="sq"> </a> </li>
<li> <input name="title" type="text" value="填写标题" onfocus="javascript:this.value=''" size="56" /> </li>
<li>
<textarea name="content" cols="80" style="width:593px;" onfocus="javascript:this.value=''" rows="5">填写内容 </textarea>
</li>
<li style="text-align:right; height:25px; line-height:25px;"> <input type="submit" name="Submit" value="提交" /> </li>
</ul>
</form>
CommentInfoNum.aspx 代码:
if (!IsPostBack)
{
if (Request.QueryString["newsid"] != null)
&n
相关问答:
如题!
FileUpload1.PostedFile.FileName
我这样写了 但是还是获得的是一个文件的名称,FileUpload1.FileName 这个也是一样!
FileUpload1.PostedFile.FileName
IE 问题
工具-internet选项-安全- ......
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 ......
本人使用swfobject.js在本机可以正常播放,但发布到win2003服务器就无法播放,网上找了许多都说需要配置MIME类型,我配置了也没有成功,请高手指点一下
服务器是否支持,路径是否正确
有的服务器可能不支持
......
在c#里,
我做的是底层的插入。
实体层,数据层,业务层已经有表的属性了,
要实现将excel表里的内容插入到已有的数据库的某一表中。
比如excel表里有属性A,B,C,D,E
数据库里的表的名字是excelTable ......