新人求大神帮弄个源码
asp吧
全部回复
仅看楼主
level 1
泷志用0kc 楼主
两个文本一个按钮,添加到mdb数据库就可以。帮帮忙!在线等。
2014年12月27日 11点12分 1
level 1
泷志用0kc 楼主
不需要后台,只需要个添加就可以。
2014年12月27日 11点12分 2
level 10
基础!请好好学习!
2014年12月27日 11点12分 3
软件的我会,asp不会。亲帮我下好吗
2014年12月27日 11点12分
level 10
100元谢礼~
2014年12月27日 11点12分 4
level 12
找个模块 复制下过来用 就可以了 简单啊
2014年12月27日 13点12分 5
level 12
[汗]
2014年12月27日 17点12分 6
level 13
ob
jrs
.addnew
2014年12月29日 01点12分 7
level 8
可以私信哟 ,亲
2014年12月29日 02点12分 8
level 4
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from 表明"
rs.open sql, conn,3,3
rs.addnew
rs("字段")=”1“
rs("字段")=“2”
rs.update
%>
2014年12月30日 09点12分 10
可以发个例子下载吗,谢谢[呵呵]
2014年12月31日 11点12分
回复 FEI_FEEL :给个邮箱
2015年01月05日 07点01分
回复 pc67566878 :[email protected]
2015年01月06日 07点01分
回复 FEI_FEEL :楼主收到了么,能发我一下么
2015年01月07日 09点01分
level 7
<%
set conn=server.CreateObject("adodb.connection")
conn.connectionstring="provider=microsoft.jet.oledb.4.0;data source=" & server.mappath("dbo.mdb")
conn.open
set rs=server.CreateObject("adodb.recordset")
sql="select * from 表明"
rs.open sql, conn,3,3
rs.addnew
rs("字段")=”1“
rs("字段")=“2”
rs.update
rs.close
set rs=nothing
%>
10 元谢礼
2015年01月02日 02点01分 13
level 10
(⊙o⊙)…(⊙o⊙)…(⊙o⊙)…
2015年01月06日 10点01分 14
level 1
using System.Data.SqlClient;//命名空间
protected void Button1_Click(object sender, EventArgs e)
{
//假设数据库里面有一个表,有两个字段:用户名username跟密码password
//前台要加一个数据源控件SqlDataSource并绑定该表(不用数据源控件的暂时不会写 //代码)
SqlDataSource1.InsertParameters["username"].DefaultValue = TextBox1.Text;
SqlDataSource1.InsertParameters["password"].DefaultValue = TextBox2.Text;
int n = SqlDataSource1.Insert();
if (n == 1)
{
Response.Write("<script>alert('提交成功');</script>");
}
else
{
}
2015年01月08日 01点01分 15
1