Allen Buckley's Blog
My experiences in .Net

August 2006 Entries

Recycle Bin fixed Read-Only Error on Sql-Express DB

Yesterday, I was trying to hook my Asp.Net 2.0 website up to IIS. The problem I was having though is that my Update commands would give me read-only errors. I checked the permissions to make sure the .MDF and the .LOG files had the correct permissions. I then checked to make sure that the read-only checkbox was unchecked and it was for both files. So I googled the problem and tried multiple solutions and nothing fixed the error. Finally, I tried to delete the .LOG file (I had a backup) to see if...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Two Books I’m Reading

Recently, I added two books to my collection. The two books are Programming Role Playing Games with DirectX and Pro C# 2005 and the .Net 2.0 Framework. Programming Role Playing Games has really helped out a beginner like me when it comes to programming video games. This book walks you through just about every area of creating a role playing game from writing the story to designing a simple game. As a novice this book has been a great resource for me. The one drawback for me is that this book has...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Replace text area in DetailsView with a DDL

This inline code is used to insert a dropdownlist into a datagrid/detailsview control in place of a given text area when using the InsertItemTemplate. The reason for doing this is to force the user to submit a answer out of options you choose to give, rather then letting them enter an open ended answer which you might not need or want. The BoundField is Title.<asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" /> InsertItemTemplate<Inser...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati