SQL 2008 modifying table structures from within Management Studio

by pietman 28. June 2010 17:16

The error message:

Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created.


This can be fixed by the following steps:

Tools -> Options -> Designer Page -> "Prevent saving changes that require table re-creation" -> uncheck

Tags:

Errors | SQL SERVER

readonly CheckBox or CheckBoxList

by pietman 28. June 2010 12:45

Simply add the following to your declaration:
onclick="return false;" 

This will disable the javascript that ticks / unticks the box.

Examples of both readonly CheckBoxLists and readonly CheckBoxListes:

<asp:CheckBoxList ID="CheckBoxList1" runat="server" onclick="return false;">
<asp:CheckBox ID="CheckBox1" runat="server" onclick="return false;" Text="test" />

 

 

Tags:

c# | CSS | Javascript

Manupilating generic lists via delegates etc

by pietman 15. June 2010 20:01

ConvertAll

List<T> items = null;
List<bool> Bx = items.ConvertAll(delegate(T itemX) { return itemX.ExistsInDB; });

http://blogs.msdn.com/b/kcwalina/archive/2004/06/22/162533.aspx

 

Tags:

About ...

pietman celliersPietman Celliers
Bitlink  Ltd
bitlinkit.com