using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Mobile;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlCont ......
本人菜鸟 刚接触.net所以问这个可笑的问题 就是我在开发环境下用 Sever.MapPath得到Access数据库 地址正确 数据库可读可写 得到QQWry.dat路径也正确 但我把代码全都复制到IIS下(不是发部网站就是复制源码) 数据库路径正确但不可写了 QQWry.dat路径也不能正确得到 请教各位这是什么原因?
access ......
string userpossword;
SqlConnection conn = new SqlConnection("server=.\\SQL2005;uid=sa;pwd=sa;database=TongXunLuDB");
string strcon = "select userpassword from UserLoginInfo where username='admin'";
& ......
是操作服务器上的!!
可以新建文件夹、删除文件或文件夹!
这个要怎么弄呀??
using System.IO;
//File.Create
//Directory.CreateDirectory
Directory.Delete
只要权限够了就可以了的
......
我已经写好一个xml文件,名称为“TestXML.xml”内容如下:
<?xml version="1.0" encoding="utf-8"?>
<ProductList>
<Title>Title </Title>
<!--
-->
<SectionNode>
<SectionTitle>nNode ......
例如
表 tb_cls
Create Table tb_cls
(
id int identity(1,1) primary key,
clsname char(20) not null,
orders int not null,
)
问题
如何利用sql语句
当插入一个值的时候 让orders的值等于id的值
先插入记录后update吧,帮顶
搜索当前最大的id,在把orders设置为 ......