the sql server dal helper is a utility application that generates data access layer (dal) functions from stored procedures in a sql server database. the only characteristic of the stored procedure that the application does not automagically detect is whether or not information is returned. so, if the stored procedure does not return a result set then you must manually select the insert/update/delete radiobutton and hit the update code button. all code that is generated is beta 2 compliant and you can use steve smiths pmaker function to make the parameter code more efficient. the source code for this application can be found here. follow these steps to setup the dal helper on your system: 1) place the contents of [url http://www.aspalliance.com/aldotnet/examples/dalhelper.txt]dalhelper.txt [/url]in a .aspx file 2) modify the globaldbconnection variable (connection string) to point at the database you wish to use to build the dal functions 3) call up the newly created .aspx page in a browser and pick a stored procedure to generate a dal function feel free to make modifications to this code (send me a copy so i can use your neat features =)! please send any bugs to me.
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 »
相关推荐
-      DataGrid中的按钮反选事件与NamingContainer(命名容器)-downmoon-ASP教程,数据库相关
-      根据数据表中数据,生成Powerpoint幻灯片-ASP教程,数据库相关
-      使用用VB处理MYSQL数据库中二进制数据问题-.NET教程,VB.Net语言
-      关于DataGridView中如何接收处于编辑状态下的当前信息-ASP教程,数据库相关
-      ActiveMQ4.1+Spring2.0的POJO JMS方案(上)-.NET教程,数据库应用
-      ASP.NET 2.0中直接将Access数据库导入到Excel文件中-.NET教程,Asp.Net开发
-      DataGrid的多行提交-.NET教程,数据库应用
-      一个简单的asp数据库操作类-ASP教程,数据库相关
