易截截图软件、单文件、免安装、纯绿色、仅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控制word~~~~急 - .NET技术 / ASP.NET

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

关于ASP.NET

请问各位大虾 学习ASP.NET哪些问题在工作中是常用的 我是一名大学生 希望推荐几本书 谢谢了
asp.net宝典 你必须知道的.net 框架设计

下载天轰穿的视频教程,还不错,有空了再学习一下js和css,如果做web,这两个 ......

sql 搜索语句 - .NET技术 / ASP.NET

<table style="width: 1000px"><tr>
  <td style="height: 38px; width: 35px;">
  姓名</td>
  ......

ajax 实现无刷新技术 - .NET技术 / ASP.NET

想实现这样的功能:点击页面上的按钮,执行后台函数,通过ajax技术实现无刷新。在网上找到的例子,执行后页面出来了,点击按钮就死了,不动了,在调试状态下运行的话倒是可以出来结果,但是提示脚本错误:408行 ......

asp.net 实现静态技术问题 - .NET技术 / ASP.NET

静态模板:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/ ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号