Advertisement
Advertisement
| 05.06.2008 at 06:34PM PDT, ID: 23381425 |
|
[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! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 05.06.2008 at 08:19PM PDT, ID: 21512965 |
| 05.06.2008 at 08:21PM PDT, ID: 21512975 |
1: 2: 3: 4: 5: 6: 7: 8: |
Public Function getColor(ByVal input As Integer) As String
Select Case input
Case 1 To 5
Return "Red"
Case Else
Return "Blue"
End Select
End Function
|
| 05.06.2008 at 08:27PM PDT, ID: 21512991 |
| 05.06.2008 at 08:29PM PDT, ID: 21512999 |
| 05.06.2008 at 09:01PM PDT, ID: 21513106 |
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: |
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:CLLDdataSQLConnectionString %>"
SelectCommand="test2" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:Parameter DefaultValue="2" Name="ClientID" Type="Int32" />
<asp:Parameter DefaultValue="container" Name="ShipmentType" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1">
</asp:GridView>
</div>
</form>
</body>
</html>
|
| 05.06.2008 at 09:07PM PDT, ID: 21513121 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: |
Public Function getColor(ByVal input As Integer) As String
Select Case input
Case 1
Return "Red"
Case 0
Return "Green"
Case Else
Return String.Empty
End Select
End Function
|
| 05.07.2008 at 12:50PM PDT, ID: 21519761 |
| 05.07.2008 at 01:15PM PDT, ID: 21519989 |
| 05.07.2008 at 04:47PM PDT, ID: 21521307 |
| 05.07.2008 at 06:12PM PDT, ID: 21521642 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
For j = 0 To e.Row.Cells.Count - 1
If IsNumeric(e.Row.Cells(j).Text) Then
If e.Row.Cells(j).Text = 1 Then
e.Row.Cells(j - 1).BackColor = System.Drawing.Color.Maroon
End If
End If
Next
End If
End Sub
|
| 05.07.2008 at 07:15PM PDT, ID: 21521874 |
| 05.07.2008 at 07:32PM PDT, ID: 21521926 |
| 05.07.2008 at 08:41PM PDT, ID: 21522168 |
| 05.07.2008 at 09:04PM PDT, ID: 21522257 |