如何在Asp.net中使用BO? [英] How to use BO in Asp.net ?

查看:135
本文介绍了如何在Asp.net中使用BO?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

1.在Asp.net中如何使用BO(业务对象)和BO的主要用途?
2.如何在BO中创建文本框对象?




谢谢

Hello Friends

1.In Asp.net How to use BO(Business Object) and main purpose of BO ?
2. How to create textbox object in BO ?




Thanks

推荐答案

主要目的
Business applications commonly employ an encapsulated data model that uses a middle- tier data access layer or business component. Typically, in a Web application, you must write not only the code for the business data object, but additional code to communicate with the component, and more code to bind controls to the data managed by the component. The ASP.NET data source control model simplifies working with a business component and greatly reduces or eliminates the code you must write by providing the ObjectDataSource control, LINQ to SQL classes, and the LinqDataSource control.



您可以如下创建文本框对象



You can create a textbox object like following below

private string title;
   public String Title {
     get { return title; }
     set { title = value; }
   }


检查此CP文章

C#中的业务对象简介 [ ^ ]

业务对象简介 [ google [ ^ ]结果..

希望对您有所帮助.
Check this CP article

An Introduction to Business Objects in C#[^]

Business Object Introduction[^]

else check this google[^] result..

Hope it will help..


这篇关于如何在Asp.net中使用BO?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆