易截截图软件、单文件、免安装、纯绿色、仅160KB

求解:asp.net与数据库连接问题!!!

在Web.config中:
<connectionStrings>
<add name="EnterpriseWebConnectionString" connectionString="Data Source=.;Initial Catalog=Enterprise1;Integrated Security=SSPI"  providerName="System.Data.SqlClient"/>
</connectionStrings>

单击按钮上传:
protected void btn_up_Click(object sender, EventArgs e)
{
            //检查上传文件不为空
            if (this.uploadfile.PostedFile.ContentLength > 0)
            {
                if (Page.IsValid)
                {
                    Boolean fileOK = false;
                    //设定上传文件的保存路径
                    string path = Server.MapPath("~/UpLoadFile/");
                    if (this.uploadfile.HasFile)
                    {
                        string fileExtension = System.IO.Path.GetExtension(this.uploadfile.FileName).ToLower();
    &nbs


相关问答:

asp.net中可输入的下拉框的问题 - .NET技术 / ASP.NET

Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
  ''' <summary>
  '' ......

asp.net控制word~~~~急 - .NET技术 / ASP.NET

我主要想控制下word保存的地址,但是编译不过去,总觉得是缺了using。。。
谢谢
代码如下:
using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Data;
u ......

在asp.net里面脚本出错 - .NET技术 / ASP.NET

function CheckOpwd(){//验证用户名
var pwd=document.all.txtOpwd;

var div1=document.getElementById("divPwd");

if (pwd.value=="")
{
......

asp.net后台调用js问题 - .NET技术 / ASP.NET

本人目前遇到一个难题,请各位高手、大侠帮帮忙。
我单击一个按钮时要把gridview中的数据一个一个的取出并把对应参数传递给前台的js。
我试了几种后台调前台的方式都没有成功,所以请大侠们帮帮小弟。
谢谢。
不 ......

ASP.NET表格弄得痛苦死了 - .NET技术 / ASP.NET

调整了这里,那里出问题。
有没有什么好的方法,像调整对话框一样????
找个专门做页面的

在dreamweaver里调。。。也可以直接控制HTML代码

确实痛苦 感同身受呀

哈哈 坚决路过。

用DW吧,VS搞设计 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号