本文介绍了如何在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; }
   }



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

09-13 10:36