1, pass in the value, convert the value to type (integer type).
2, create the BLL layer of objects, through the object access BLL layer method call BLL layer.
3. The BLL layer method obtains an instance of the data access layer, instantiates the interface object of the Idal layer, which is created by the factory layer, and then returns the method of the content found by the Idal layer passing in the value.
4. The Data Factory accesses the SQL layer via the Webdal string given in the Web.config configuration file, returning a complete path to the call SQL layer to the BLL layer.
5, to call the SQL layer, the SQL layer completes the assignment model layer of the object value is null, given a parameter, call the SQL layer of the SqlHelper of the ExecuteReader method, read out the data assignment of each field is defined as an empty model layer object.
6, SqlHelper Execute SQL command, return a specified connection database recordset, where you need to drink parameter type, provide bit open connection command execution ready.
7, return the model layer to the query to get a row of records value assigned to the SQL layer of the introduction of the model Layer object, and then return this object to BLL.
8, back to the web layer of the BLL layer of the method call, the resulting object value assigned to the LBL tag, displayed in the foreground to the interface.