guitardave78
Programmer
Hi, just thought I would share a recent enlightening experience with those of you trying to find a reason to use ASP.NET.
I was not a believer and was very against this whole .net thing. However work sent me on a course to learn the basics of ASP.NET 2.0
For the first day I sat there saying “So what, I can do that in classic” or “I built a class to do that already”
On the second day however it happened. The instructor said to me
“Ok then, in asp how would you great a data sort table data grid, with paging that allowed you to update and delete row data on the grid and how long would it take”
So I went through the data connection script that I would paste in, then the table with the record set loop, then the class I had built to do sorting…modify that a bit, then get the paging functions and modify them a bit. Then I suppose add some JavaScript to hide the text boxes and show them if I click on an edit button. Then I would write a script to handle the submit and do the update, maybe use an ajax moment.
Should take about 30 minutes to an hour. Probably 2 hours. Not bad!!
He then went to his pc, set up a database connection in VS 2005 Express (Basically adds the access database to the project)
He opens the Database explorer window. Drags the table onto the page. Ticks the “Enable Paging, Enable Sorting, Enable Editing, Enable Deleting”
He then clicks ok and turns to me and says “Finished”
Now the results were ok, but it took 5 minutes. I could spend the other 1 hour and 55 minutes making it look pretty. In the mean time my boss has seen the main form and is dead happy at my productivity!!!
Look at it as a time saver, the language is not that hard to learn either!!!
}...the bane of my life!
I was not a believer and was very against this whole .net thing. However work sent me on a course to learn the basics of ASP.NET 2.0
For the first day I sat there saying “So what, I can do that in classic” or “I built a class to do that already”
On the second day however it happened. The instructor said to me
“Ok then, in asp how would you great a data sort table data grid, with paging that allowed you to update and delete row data on the grid and how long would it take”
So I went through the data connection script that I would paste in, then the table with the record set loop, then the class I had built to do sorting…modify that a bit, then get the paging functions and modify them a bit. Then I suppose add some JavaScript to hide the text boxes and show them if I click on an edit button. Then I would write a script to handle the submit and do the update, maybe use an ajax moment.
Should take about 30 minutes to an hour. Probably 2 hours. Not bad!!
He then went to his pc, set up a database connection in VS 2005 Express (Basically adds the access database to the project)
He opens the Database explorer window. Drags the table onto the page. Ticks the “Enable Paging, Enable Sorting, Enable Editing, Enable Deleting”
He then clicks ok and turns to me and says “Finished”
Now the results were ok, but it took 5 minutes. I could spend the other 1 hour and 55 minutes making it look pretty. In the mean time my boss has seen the main form and is dead happy at my productivity!!!
Look at it as a time saver, the language is not that hard to learn either!!!
}...the bane of my life!