For this demo application, I have taken a very simple example. 1) Fix for the code block For the css 'pre', add new property 'min-width: 730px;' and add width nn percentage.
I am assuming that I have to play with record of persons (First Name, Last Name, Age) and I will refer only these data through out this article. just to give you flexibility to not show scroll bar for long screens.
Did you create the source code for the page manually or did you use some type of wizard to do this? tulsi Hi Sheo Narayan, Indeed a very useful article with easy to understand example.
I'm use to binding the gridview to the sqldatasource, but want to learn more on the way you created this page. But Sheo Narayan, as in this example you are creating DAL and BAL inside App_Code, I need an architecture wherein the DAL and BAL should be outside App_Code folder.
Download source code for 3-Tier Architecture in ASP. Seperation - the functionality is seperated from the data access and presentation so that it is more maintainable 2.
NET with C# 3-Tier architecture generally contains UI or Presentation Layer, Business Access Layer (BAL) or Business Logic Layer and Data Access Layer (DAL). Independence - layers are established so that if one is modified (to some extent) it will not affect other layers. Reusability - As the layers are seperated, it can exist as a module that can be reused by other application by referencing it.
Then I have instantiated Person BAL3 and calling Insert method of it (p BAL.Dear Sir, I find there is a format mismatch between i BO.Help Desk Call Date and txt Help Desk Request Date in the code-behind but really dont know how to fix it. Help Desk Call Date - txt Help Desk Request Date : "30-8-2008 " I am new to programming, but looking at this I feel IBO.So just pass the value in correct Date Time format. Just curious why you did not use the gridview wizard to display the list of records. This approach is good if you have a small project but for bigger projects it is not suggestable.So for example, configure a sqldatasource and then bind it to the grid view control. For further you can refer to this page One more question....