摘要:
在很久很久以前----可能都快一年了吧,我第一次看 asp.net (那时江湖人称 asp+),看到 application, session 什么的,就和自己说“人在哪!人在哪!"
等到看到 web form server controls,更是忍不住窃笑----“不就是以前 vi6 dtc controls 吗,
你以为你穿了马甲我就不认识你了”。
随便翻了翻就放在一......
摘要:
using system;
using system.collections;
using system.componentmodel;
using system.drawing;
using system.data;
using system.windows.forms;
namespace imagezoomer
{
/// <summary>
///
/......
实现一个客户端的DataSet-----ClientDataSetDataProvider.asmx.cs(2)
//
// m_cmdauthorsdelete
//
this.m_cmdauthorsdelete.commandtext = @"delete from authors where (au_id = @au_id) and (address = @address or @address1 is null and address is null) and (au_fname = @au_fname) and (au_lname = @au_lname) and (city = @city or @city1 is null and city is null) and (contract = @contract) and (phone = @phone) and (state = @state or @state1 is null and state is null) and (zip = @zip or @zip1 is null and zip is null)";
this.m_cmdauthorsdelete.connection = this.m_con;
this.m_cmdauthorsdelete.parameters.add(new system.data.sqlclient.sqlparameter("@au_id", system.data.sqldbtype.char, 11, system.data.parameterdirection.input, false, ((system.byte)(0)), ((system.byte)(0)), "au_id", system.data.datarowversion.original, null));
this.m_cmdauthorsdelete.parameters.add(new system.data.sqlclient.sqlparameter("@address", system.data.sqldbtype.varchar, 40, system.data.parameterdirection.input, true, ((system.byte)(0)), ((system.byte)(0)), "address", system.data.datarowversion.original, null));
this.m_cmdauthorsdelete.parameters.add(new system.data.sqlclient.sqlparameter("...
下一页 摘要:
我记得好象有一个网友问过关于怎样在几个站点间共享数据库资源
我在两台电脑上试验成功了我的代码是这样的提供大家参考
在站点a的数据库服务器的数据库中有一个数据表noteboard
包含字段id(编号),title(标题),notername(留言人名字),notetime(留言时间)
怎样可以让站点b获得这个数据表的记录呢。
在a定义访问a站数据库的webservice文件myvie......