|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: |
<asp:SqlDataSource ID="dsContent" runat="server"
ConnectionString="<%$ ConnectionStrings:csButtermoonArts %>"
DeleteCommand="DELETE FROM [Content] WHERE [ID] = @ID"
InsertCommand="INSERT INTO [Content] ([SiteMapID], [LocationID], [SortORder], [Content], [Authorized], [DateTime_Create], [DateTime_Update], [AuthorID]) VALUES (@SiteMapID, @LocationID, @SortORder, @Content, @Authorized, @DateTime_Create, @DateTime_Update, @AuthorID)"
SelectCommand="SELECT [ID], [SiteMapID], [LocationID], [SortORder], [Content], [Authorized], [DateTime_Create], [DateTime_Update], [AuthorID] FROM [Content] WHERE ([SiteMapID] = @SiteMapID) ORDER BY [LocationID], [SortORder]"
UpdateCommand="UPDATE [Content] SET [SiteMapID] = @SiteMapID, [LocationID] = @LocationID, [SortORder] = @SortORder, [Content] = @Content, [Authorized] = @Authorized, [DateTime_Create] = @DateTime_Create, [DateTime_Update] = @DateTime_Update, [AuthorID] = @AuthorID WHERE [ID] = @ID">
<SelectParameters>
<asp:QueryStringParameter Name="SiteMapID" QueryStringField="SiteMapID"
Type="Int32" />
</SelectParameters>
<DeleteParameters>
<asp:Parameter Name="ID" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="SiteMapID" Type="Int32" />
<asp:Parameter Name="LocationID" Type="Int32" />
<asp:Parameter Name="SortORder" Type="Int32" />
<asp:Parameter Name="Content" Type="String" />
<asp:Parameter Name="Authorized" Type="Boolean" />
<asp:Parameter Name="DateTime_Create" Type="DateTime" />
<asp:Parameter Name="DateTime_Update" Type="DateTime" />
<asp:Parameter Name="AuthorID" Type="Int32" />
<asp:Parameter Name="ID" Type="Int32" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="SiteMapID" Type="Int32" />
<asp:Parameter Name="LocationID" Type="Int32" />
<asp:Parameter Name="SortORder" Type="Int32" />
<asp:Parameter Name="Content" Type="String" />
<asp:Parameter Name="Authorized" Type="Boolean" />
<asp:Parameter Name="DateTime_Create" Type="DateTime" />
<asp:Parameter Name="DateTime_Update" Type="DateTime" />
<asp:Parameter Name="AuthorID" Type="Int32" />
</InsertParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="dsSiteMap" runat="server"
ConnectionString="<%$ ConnectionStrings:csButtermoonArts %>"
SelectCommand="SELECT [ID], [SortOrder], [Title_Head], [Title_Nav], [Description], [Keywords], [URL], [Authorized], [DateTime_Create], [DateTime_Update], [AuthorID] FROM [SiteMap] ORDER BY [SortOrder], [Title_Nav]"></asp:SqlDataSource>
<asp:ListView ID="ListView1" runat="server" DataSourceID="dsContent"
DataKeyNames="ID" InsertItemPosition="LastItem">
<ItemTemplate>
<span style="">
LocationID:
<asp:Label ID="LocationIDLabel" runat="server"
Text='<%# Eval("LocationID") %>' />
<br />
SortOrder:
<asp:Label ID="SortORderLabel" runat="server" Text='<%# Eval("SortORder") %>' />
<br />
<asp:CheckBox ID="AuthorizedCheckBox" runat="server"
Checked='<%# Eval("Authorized") %>' Enabled="false" Text="Authorized" />
<br />
<asp:Label ID="ContentLabel" runat="server" Text='<%# Eval("Content") %>' />
<br />
<asp:LinkButton ID="EditButton" runat="server" CommandName="Edit" Text="Edit" />
<asp:LinkButton ID="DeleteButton" runat="server" CommandName="Delete"
Text="Delete" />
<hr />
</span>
</ItemTemplate>
<AlternatingItemTemplate>
<span style="">
LocationID:
<asp:Label ID="LocationIDLabel" runat="server"
Text='<%# Eval("LocationID") %>' />
<br />
SortOrder:
<asp:Label ID="SortORderLabel" runat="server" Text='<%# Eval("SortORder") %>' />
<br />
<asp:CheckBox ID="AuthorizedCheckBox" runat="server"
Checked='<%# Eval("Authorized") %>' Enabled="false" Text="Authorized" />
<br />
<asp:Label ID="ContentLabel" runat="server" Text='<%# Eval("Content") %>' />
<br />
<asp:LinkButton ID="EditButton" runat="server" CommandName="Edit" Text="Edit" />
<asp:LinkButton ID="DeleteButton" runat="server" CommandName="Delete"
Text="Delete" />
<hr />
</span>
</AlternatingItemTemplate>
<EmptyDataTemplate>
<span>No data was returned.</span>
</EmptyDataTemplate>
<InsertItemTemplate>
<span style="">
Add new content:<br /><br />
SiteMapID:
<asp:DropDownList ID="ddl1" runat="server" DataSourceID="dsSiteMap" DataTextField="Title_Nav" DataValueField="ID" SelectedValue='<%# Bind("SiteMapID") %>'></asp:DropDownList>
<br />
LocationID:
<asp:TextBox ID="LocationIDTextBox" runat="server"
Text='<%# Bind("LocationID") %>' />
<br />
SortORder:
<asp:TextBox ID="SortORderTextBox" runat="server"
Text='<%# Bind("SortORder") %>' />
<br />
Content:
<FCKeditorV2:FCKeditor ID="ContentTextBox" runat="server" BasePath="~/fckeditor/" Value='<%# Bind("Content")%>' Height="300" Width="535" ToolbarCanCollapse="true" ToolbarStartExpanded="true"></FCKeditorV2:FCKeditor>
<br />
<asp:CheckBox ID="AuthorizedCheckBox" runat="server"
Checked='<%# Bind("Authorized") %>' Text="Authorized" />
<br />
<asp:Button ID="InsertButton" runat="server" CommandName="Insert"
Text="Insert" />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel"
Text="Clear" />
<br />
<br />
<hr />
</span>
</InsertItemTemplate>
<LayoutTemplate>
<div ID="itemPlaceholderContainer" runat="server" style="">
<span ID="itemPlaceholder" runat="server" />
</div>
<div style="">
<asp:DataPager PageSize="15" ID="DataPager1" runat="server">
<Fields>
<asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True"
ShowLastPageButton="True" />
</Fields>
</asp:DataPager>
</div>
</LayoutTemplate>
<EditItemTemplate>
<span style="">ID:
<asp:Label ID="IDLabel1" runat="server" Text='<%# Eval("ID") %>' />
<br />
SiteMapID:
<asp:TextBox ID="SiteMapIDTextBox" runat="server"
Text='<%# Bind("SiteMapID") %>' />
<br />
LocationID:
<asp:TextBox ID="LocationIDTextBox" runat="server"
Text='<%# Bind("LocationID") %>' />
<br />
SortORder:
<asp:TextBox ID="SortORderTextBox" runat="server"
Text='<%# Bind("SortORder") %>' />
<br />
Content:
<FCKeditorV2:FCKeditor ID="ContentTextBox" runat="server" BasePath="~/fckeditor/" Value='<%# Bind("Content")%>' Height="300" Width="535" ToolbarCanCollapse="true" ToolbarStartExpanded="true"></FCKeditorV2:FCKeditor>
<br />
<asp:CheckBox ID="AuthorizedCheckBox" runat="server"
Checked='<%# Bind("Authorized") %>' Text="Authorized" />
<br />
<asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update"
Text="Update" />
<asp:LinkButton ID="CancelButton" runat="server" CommandName="Cancel"
Text="Cancel" />
<br />
<br />
<hr />
</span>
</EditItemTemplate>
<SelectedItemTemplate>
<span style="">ID:
<asp:Label ID="IDLabel" runat="server" Text='<%# Eval("ID") %>' />
<br />
SiteMapID:
<asp:Label ID="SiteMapIDLabel" runat="server" Text='<%# Eval("SiteMapID") %>' />
<br />
LocationID:
<asp:Label ID="LocationIDLabel" runat="server"
Text='<%# Eval("LocationID") %>' />
<br />
SortORder:
<asp:Label ID="SortORderLabel" runat="server" Text='<%# Eval("SortORder") %>' />
<br />
Content:
<asp:Label ID="ContentLabel" runat="server" Text='<%# Eval("Content") %>' />
<br />
<asp:CheckBox ID="AuthorizedCheckBox" runat="server"
Checked='<%# Eval("Authorized") %>' Enabled="false" Text="Authorized" />
<br />
DateTime_Create:
<asp:Label ID="DateTime_CreateLabel" runat="server"
Text='<%# Eval("DateTime_Create") %>' />
<br />
DateTime_Update:
<asp:Label ID="DateTime_UpdateLabel" runat="server"
Text='<%# Eval("DateTime_Update") %>' />
<br />
AuthorID:
<asp:Label ID="AuthorIDLabel" runat="server" Text='<%# Eval("AuthorID") %>' />
<br />
<asp:Button ID="EditButton" runat="server" CommandName="Edit" Text="Edit" />
<asp:Button ID="DeleteButton" runat="server" CommandName="Delete"
Text="Delete" />
<br />
<br />
</span>
</SelectedItemTemplate>
</asp:ListView>
|
Advertisement
| Hall of Fame |