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
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" />
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
a159c514-2778-4f3d-9e01-1c2906718b6f|0|.0
Tags: