Advertisement
Advertisement
| 06.03.2008 at 12:20PM PDT, ID: 23454340 |
|
[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: |
<asp:FormView ID="FormView1" runat="server" AllowPaging="True" DataSourceID="dsIPInfo" Width="712px" DataKeyNames="ObjectID">
<EditItemTemplate>
<table border="0" width="100%">
<tr>
<td>
<asp:Label ID="Label1" runat="server" Text="Programmed IP:" Font-Bold="True"></asp:Label>
<asp:Label ID="lblProgrammedIP" runat="server" Text='<%# bind("ProgrammedIp") %>'></asp:Label>
</td>
<td>
<asp:Label ID="Label4" runat="server" Text="Net IP:" Font-Bold="True"></asp:Label>
<asp:Label ID="lblNetIP" runat="server" Text='<%# bind("NetIP") %>'></asp:Label></td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Loc Code:" Font-Bold="True"></asp:Label>
<asp:DropDownList ID="ddlWareHouse" runat="Server" AutoPostBack="true" DataSourceID="dsLocationCodes"
DataTextField="locncode" DataValueField="locncode" EnableViewState="False">
</asp:DropDownList>
<asp:SqlDataSource ID="dsLocationCodes" runat="server" ConnectionString="<%$ ConnectionStrings:MWConnection%>"
DataSourceMode="DataReader" SelectCommand="select distinct locncode from cms..IV00200 where locncode < 'aaaaaaaaaa' and locncode <> '' order by locncode">
</asp:SqlDataSource>
</td>
<td>
<asp:Label ID="Label6" runat="server" Text="ItemNumbers:" Font-Bold="True"></asp:Label>
<asp:DropDownList ID="ddlItemNumber" runat="Server" AutoPostBack="true" DataSourceID="dsItemNumbers"
DataTextField="itemnmbr" DataValueField="itemnmbr" EnableViewState="False">
</asp:DropDownList>
<asp:SqlDataSource ID="dsItemNumbers" runat="server" ConnectionString="<%$ ConnectionStrings:MWConnection %>"
DataSourceMode="DataReader" SelectCommand="SELECT ITEMNMBR FROM cms.dbo.IV00200 WHERE (LOCNCODE = @Location)">
<SelectParameters>
<asp:ControlParameter ControlID="ddlWareHouse"
Name="Location" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
</tr>
<tr>
<td>
<asp:Label ID="Label5" runat="server" Text="Serial Number:" Font-Bold="True"></asp:Label>
<asp:DropDownList ID="ddlSerial" runat="Server" AutoPostBack="true" DataSourceID="dsSerials"
DataTextField="serlnmbr" DataValueField="DEX_ROW_ID" EnableViewState="False" SelectedValue='<%# Bind("IP2Serial") %>'>
</asp:DropDownList>
<asp:SqlDataSource ID="dsSerials" runat="server" ConnectionString="<%$ ConnectionStrings:MWConnection%>"
DataSourceMode="DataReader" SelectCommand="select DEX_ROW_ID, serlnmbr from cms..iv00200 where locncode = @Location and itemnmbr=@Itemnmbr">
<SelectParameters>
<asp:ControlParameter ControlID="ddlItemNumber"
Name="Itemnmbr" PropertyName="SelectedValue" />
<asp:ControlParameter ControlID="ddlWareHouse"
Name="Location" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
<br />
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
Text="Update"></asp:LinkButton>
<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
Text="Cancel"></asp:LinkButton>
</EditItemTemplate>
<ItemTemplate>
<table border="0" width="100%">
<tr>
<td>
<asp:Label ID="Label1" runat="server" Text="Programmed IP:" Font-Bold="True"></asp:Label>
<asp:Label ID="lblProgrammedIP" runat="server" Text='<%# Eval("ProgrammedIp") %>'></asp:Label>
</td>
<td>
<asp:Label ID="Label4" runat="server" Text="Net IP:" Font-Bold="True"></asp:Label>
<asp:Label ID="lblNetIP" runat="server" Text='<%# eval("NetIP") %>'></asp:Label></td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Loc Code:" Font-Bold="True"></asp:Label>
<asp:DropDownList ID="ddlWareHouse" runat="Server" DataSourceID="dsLocationCodes"
DataTextField="locncode" DataValueField="locncode" Enabled="false" EnableViewState="False">
</asp:DropDownList>
<asp:SqlDataSource ID="dsLocationCodes" runat="server" ConnectionString="<%$ ConnectionStrings:MWConnection%>"
DataSourceMode="DataReader" SelectCommand="select distinct locncode from cms..IV00200 where locncode < 'aaaaaaaaaa' and locncode <> '' order by locncode">
</asp:SqlDataSource>
</td>
<td>
<asp:Label ID="Label6" runat="server" Text="ItemNumbers:" Font-Bold="True"></asp:Label>
<asp:DropDownList ID="ddlItemNumber" runat="Server" DataSourceID="dsItemNumbers"
DataTextField="itemnmbr" DataValueField="itemnmbr" Enabled="false" EnableViewState="False">
</asp:DropDownList>
<asp:SqlDataSource ID="dsItemNumbers" runat="server" ConnectionString="<%$ ConnectionStrings:MWConnection %>"
DataSourceMode="DataReader" SelectCommand="SELECT ITEMNMBR FROM cms.dbo.IV00200 WHERE (LOCNCODE = @Location)">
<SelectParameters>
<asp:ControlParameter ControlID="ddlWareHouse"
Name="Location" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<tr>
<td>
<asp:Label ID="Label5" runat="server" Text="Serial Number:" Font-Bold="True"></asp:Label>
<asp:DropDownList ID="ddlSerial" runat="Server" DataSourceID="dsSerials" DataTextField="serlnmbr"
DataValueField="DEX_ROW_ID" Enabled="false" EnableViewState="False">
</asp:DropDownList>
<asp:SqlDataSource ID="dsSerials" runat="server" ConnectionString="<%$ ConnectionStrings:MWConnection%>"
DataSourceMode="DataReader" SelectCommand="select DEX_ROW_ID, serlnmbr from cms..iv00200 where locncode = @Location and itemnmbr=@Itemnmbr">
<SelectParameters>
<asp:ControlParameter ControlID="ddlItemNumber"
Name="Itemnmbr" PropertyName="SelectedValue" />
<asp:ControlParameter ControlID="ddlWareHouse"
Name="Location" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
<br />
<asp:Button ID="btnEdit" runat="server" CommandName="Edit" Text="Edit" />
</ItemTemplate>
<EmptyDataTemplate>
No IP Info found.
</EmptyDataTemplate>
</asp:FormView>
<table>
<tr>
<td style="width: 100px; height: 25px">
</td>
<td style="width: 100px; height: 25px">
</td>
</tr>
</table>
<asp:SqlDataSource ID="dsIPInfo" runat="server" ConnectionString="<%$ ConnectionStrings:MWConnection %>"
DataSourceMode="DataSet" SelectCommand="select * from midware..ContentSvcIPAddressAssign"
UpdateCommand="UPDATE midware..ContentSvcIPAddressAssign SET ProgrammedIp=@ProgrammedIp, NetIP=@NetIP,
IP2Serial=@IP2Serial WHERE ObjectID=@ObjectID">
</asp:SqlDataSource>
|