Updating dataview

Rated 3.86/5 based on 669 customer reviews

Help Desk Call Date is expecting the format which is not provided by txt Help Desk Request Date... The problem you are talking about is related with a specific scenario.

May I request you to post it in the Questions section of this website? A little hint in order to solve your problem is "30-8-2008 " is not a correct Date Time format (try to convert or parse it to Date Time and you will get error). tulsi When you will use Sql Data Source, you are writing your select query, connectionstring and other stuffs at the page itself.

Lets create a form that will have three textboxes for First Name, Last Name and Age.

Now we have to write our Presentation Layer that will use our Business Access Layer methods.

Insert) by passing first Name, last Name, age as parameter.

In real scenario, you should create separate projects for BAL, DAL (as Class Library) and UI (as Web project) and reference your BAL into UI. I wonder if you can come up with the same but using Ajax Tabs. Like having add button in Grid View will switch you to Tab Panel (Add new) and then perform the add ... But would like to see if you can come up with Tabs and your example above. I have one question about passing the data between layers.Here, I have assumed that you will create the respective stored procedure yourself into the database or you may download attachment from using System; using System. In this case definitely the passing number of variable will not be good idea. As we don't have any business logic here so simply instantiate the Person DAL3 class of DAL and call methods. Now we have all set to go, now just run your project and try inserting records.Presentation Layer (UI) Presentation layer cotains pages like or windows form where data is presented to the user or input is taken from the user. Hope this article helped you understanding 3-Tier architecture and desiging it. Updated on July 01 2008: Source Code attached Full Name: Sheo Narayan Member Level: Honorary Platinum Member Status: Administrator Member Since: 7/8/2008 PMCountry: India Regards, Sheo Narayan MVP, Author, Writer, Mentor & architecting applications since year 2001.Business Access Layer (BAL) or Business Logic Layer BAL contains business logic, validations or calculations related with the data, if needed. Data Access Layer (DAL) DAL contains methods that helps business layer to connect the data and perform required action, might be returning data or manipulating data (insert, update, delete etc). Connect me on | https://twitter.com/sheonarayan | Hi, Nice article; Well and simply explained.

Leave a Reply