|
[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: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242: 243: 244: 245: 246: 247: 248: 249: 250: 251: 252: 253: 254: 255: 256: 257: 258: 259: 260: 261: 262: 263: 264: |
<asp:LinqDataSource ID="LinqDataSource2" runat="server"
ContextTypeName="DataClassesDataContext" EnableDelete="True"
EnableInsert="True" EnableUpdate="True"
select="New
with consID =linqdatasource1"
TableName="Tbl_ExtraNotes">
</asp:LinqDataSource>
<asp:ListView ID="ListView1" runat="server" DataKeyNames="ID"
DataSourceID="LinqDataSource2" InsertItemPosition="LastItem">
<ItemTemplate>
<tr style="background-color: #FFFBD6;color: #333333;">
<td>
<asp:Button ID="EditButton" runat="server" CommandName="Edit" Text="Edit" />
</td>
<td>
<asp:Label ID="IDLabel" runat="server" Text='<%# Eval("ID") %>' />
</td>
<td>
<asp:Label ID="DateAddedLabel" runat="server" Text='<%# Eval("DateAdded") %>' />
</td>
<td>
<asp:Label ID="AddedByLabel" runat="server" Text='<%# Eval("AddedBy") %>' />
</td>
<td>
<asp:Label ID="NotesLabel" runat="server" Text='<%# Eval("Notes") %>' />
</td>
<td>
<asp:Label ID="stampLabel" runat="server" Text='<%# Eval("stamp") %>' />
</td>
<td>
<asp:Label ID="ConsIDLabel" runat="server" Text='<%# Eval("ConsID") %>' />
</td>
<td>
<asp:Label ID="DateNextActionLabel" runat="server"
Text='<%# Eval("DateNextAction") %>' />
</td>
<td>
<asp:Label ID="NextActionOnLabel" runat="server"
Text='<%# Eval("NextActionOn") %>' />
</td>
<td>
<asp:Label ID="Tbl_ConsumerCallLabel" runat="server"
Text='<%# Eval("Tbl_ConsumerCall") %>' />
</td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr style="background-color: #FAFAD2;color: #284775;">
<td>
<asp:Button ID="EditButton" runat="server" CommandName="Edit" Text="Edit" />
</td>
<td>
<asp:Label ID="IDLabel" runat="server" Text='<%# Eval("ID") %>' />
</td>
<td>
<asp:Label ID="DateAddedLabel" runat="server" Text='<%# Eval("DateAdded") %>' />
</td>
<td>
<asp:Label ID="AddedByLabel" runat="server" Text='<%# Eval("AddedBy") %>' />
</td>
<td>
<asp:Label ID="NotesLabel" runat="server" Text='<%# Eval("Notes") %>' />
</td>
<td>
<asp:Label ID="stampLabel" runat="server" Text='<%# Eval("stamp") %>' />
</td>
<td>
<asp:Label ID="ConsIDLabel" runat="server" Text='<%# Eval("ConsID") %>' />
</td>
<td>
<asp:Label ID="DateNextActionLabel" runat="server"
Text='<%# Eval("DateNextAction") %>' />
</td>
<td>
<asp:Label ID="NextActionOnLabel" runat="server"
Text='<%# Eval("NextActionOn") %>' />
</td>
<td>
<asp:Label ID="Tbl_ConsumerCallLabel" runat="server"
Text='<%# Eval("Tbl_ConsumerCall") %>' />
</td>
</tr>
</AlternatingItemTemplate>
<EmptyDataTemplate>
<table runat="server"
style="background-color: #FFFFFF;border-collapse: collapse;border-color: #999999;border-style:none;border-width:1px;">
<tr>
<td>
No data was returned.</td>
</tr>
</table>
</EmptyDataTemplate>
<InsertItemTemplate>
<tr style="">
<td>
<asp:Button ID="InsertButton" runat="server" CommandName="Insert"
Text="Insert" />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel"
Text="Clear" />
</td>
<td>
</td>
<td>
<asp:TextBox ID="DateAddedTextBox" runat="server"
Text='<%# Bind("DateAdded") %>' />
</td>
<td>
<asp:TextBox ID="AddedByTextBox" runat="server" Text='<%# Bind("AddedBy") %>' />
</td>
<td>
<asp:TextBox ID="NotesTextBox" runat="server" Text='<%# Bind("Notes") %>' />
</td>
<td>
</td>
<td>
<asp:TextBox ID="ConsIDTextBox" runat="server" Text='<%# Bind("ConsID") %>' />
</td>
<td>
<asp:TextBox ID="DateNextActionTextBox" runat="server"
Text='<%# Bind("DateNextAction") %>' />
</td>
<td>
<asp:TextBox ID="NextActionOnTextBox" runat="server"
Text='<%# Bind("NextActionOn") %>' />
</td>
<td>
<asp:TextBox ID="Tbl_ConsumerCallTextBox" runat="server"
Text='<%# Bind("Tbl_ConsumerCall") %>' />
</td>
</tr>
</InsertItemTemplate>
<LayoutTemplate>
<table runat="server">
<tr runat="server">
<td runat="server">
<table ID="itemPlaceholderContainer" runat="server" border="1"
style="background-color: #FFFFFF;border-collapse: collapse;border-color: #999999;border-style:none;border-width:1px;font-family: Verdana, Arial, Helvetica, sans-serif;">
<tr runat="server" style="background-color: #FFFBD6;color: #333333;">
<th runat="server">
</th>
<th runat="server">
ID</th>
<th runat="server">
DateAdded</th>
<th runat="server">
AddedBy</th>
<th runat="server">
Notes</th>
<th runat="server">
stamp</th>
<th runat="server">
ConsID</th>
<th runat="server">
DateNextAction</th>
<th runat="server">
NextActionOn</th>
<th runat="server">
Tbl_ConsumerCall</th>
</tr>
<tr ID="itemPlaceholder" runat="server">
</tr>
</table>
</td>
</tr>
<tr runat="server">
<td runat="server"
style="text-align: center;background-color: #FFCC66;font-family: Verdana, Arial, Helvetica, sans-serif;color: #333333;">
</td>
</tr>
</table>
</LayoutTemplate>
<EditItemTemplate>
<tr style="background-color: #FFCC66;color: #000080;">
<td>
<asp:Button ID="UpdateButton" runat="server" CommandName="Update"
Text="Update" />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel"
Text="Cancel" />
</td>
<td>
<asp:Label ID="IDLabel1" runat="server" Text='<%# Eval("ID") %>' />
</td>
<td>
<asp:TextBox ID="DateAddedTextBox" runat="server"
Text='<%# Bind("DateAdded") %>' />
</td>
<td>
<asp:TextBox ID="AddedByTextBox" runat="server" Text='<%# Bind("AddedBy") %>' />
</td>
<td>
<asp:TextBox ID="NotesTextBox" runat="server" Text='<%# Bind("Notes") %>' />
</td>
<td>
<asp:Label ID="stampLabel1" runat="server" Text='<%# Eval("stamp") %>' />
</td>
<td>
<asp:TextBox ID="ConsIDTextBox" runat="server" Text='<%# Bind("ConsID") %>' />
</td>
<td>
<asp:TextBox ID="DateNextActionTextBox" runat="server"
Text='<%# Bind("DateNextAction") %>' />
</td>
<td>
<asp:TextBox ID="NextActionOnTextBox" runat="server"
Text='<%# Bind("NextActionOn") %>' />
</td>
<td>
<asp:TextBox ID="Tbl_ConsumerCallTextBox" runat="server"
Text='<%# Bind("Tbl_ConsumerCall") %>' />
</td>
</tr>
</EditItemTemplate>
<SelectedItemTemplate>
<tr style="background-color: #FFCC66;font-weight: bold;color: #000080;">
<td>
<asp:Button ID="EditButton" runat="server" CommandName="Edit" Text="Edit" />
</td>
<td>
<asp:Label ID="IDLabel" runat="server" Text='<%# Eval("ID") %>' />
</td>
<td>
<asp:Label ID="DateAddedLabel" runat="server" Text='<%# Eval("DateAdded") %>' />
</td>
<td>
<asp:Label ID="AddedByLabel" runat="server" Text='<%# Eval("AddedBy") %>' />
</td>
<td>
<asp:Label ID="NotesLabel" runat="server" Text='<%# Eval("Notes") %>' />
</td>
<td>
<asp:Label ID="stampLabel" runat="server" Text='<%# Eval("stamp") %>' />
</td>
<td>
<asp:Label ID="ConsIDLabel" runat="server" Text='<%# Eval("ConsID") %>' />
</td>
<td>
<asp:Label ID="DateNextActionLabel" runat="server"
Text='<%# Eval("DateNextAction") %>' />
</td>
<td>
<asp:Label ID="NextActionOnLabel" runat="server"
Text='<%# Eval("NextActionOn") %>' />
</td>
<td>
<asp:Label ID="Tbl_ConsumerCallLabel" runat="server"
Text='<%# Eval("Tbl_ConsumerCall") %>' />
</td>
</tr>
</SelectedItemTemplate>
</asp:ListView>
VB CODE ***********************************************************************
Protected Sub ListView1_ItemInserted(ByVal sender As Object, _
ByVal e As System.Web.UI.WebControls.ListViewInsertedEventArgs) _
Handles ListView1.ItemInserted
If e.Exception IsNot Nothing Then
lblError.Text = "A database error has occurred. " _
& e.Exception.Message
e.ExceptionHandled = True
Else
ListView1.DataBind()
End If
End Sub
|
Advertisement
| Hall of Fame |