Advertisement
Advertisement
| 03.20.2008 at 06:27PM PDT, ID: 23258917 |
|
[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: |
This has to be modified as well:
protected void ddlCountry_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddlCountry.SelectedValue == "CA") // Canada, set to provinces.
{
// Get the DropDownList's SelectedIndex
int iRow = ddlCountry.SelectedIndex;
}
// else if (ddlCountry.SelectedValue == "US")
// {
// DataSet DSStateProvince = new DataSet();
// DSStateProvince.ReadXml(Server.MapPath("../xmldata/AccountInformation/States.xml")); //Provinces.xml
// ddlStateProvince.DataSource = DSStateProvince;
// ddlStateProvince.DataTextField = "name";
// ddlStateProvince.DataValueField = "stateid"; // provinceid
// ddlStateProvince.DataBind();
// // Get the DropDownList's SelectedIndex
// int iRow = ddlCountry.SelectedIndex;
// }
// else if ((ddlCountry.SelectedValue != "US") && (ddlCountry.SelectedValue != "CA"))
// {
// ddlStateProvince.Items.Clear();
// ddlStateProvince.Items.Insert(0, new ListItem("Not Available", "NA"));
// }
}
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 03.20.2008 at 06:59PM PDT, ID: 21177583 |
| 03.20.2008 at 07:00PM PDT, ID: 21177585 |
| 03.20.2008 at 07:27PM PDT, ID: 21177686 |
| 03.20.2008 at 07:33PM PDT, ID: 21177709 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
<asp:DropDownList ID="ddlCountry" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource2" DataTextField="Country" DataValueField="CountryID">
</asp:DropDownList>
<asp:DropDownList ID="ddlCountryRegion" runat="server" DataSourceID="SqlDataSource1" DataTextField="Region" DataValueField="RegionID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [CountryID], [Country] FROM [CountryCodes]">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [RegionID], [Region] FROM [SubCountryCode] WHERE ([CountryID] = @CountryID)">
<SelectParameters>
<asp:ControlParameter ControlID="ddlCountry" Name="CountryID" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
|
| 03.20.2008 at 07:34PM PDT, ID: 21177718 |
| 03.20.2008 at 07:37PM PDT, ID: 21177729 |
| 03.20.2008 at 07:39PM PDT, ID: 21177737 |
| 03.20.2008 at 07:39PM PDT, ID: 21177739 |
| 03.20.2008 at 07:49PM PDT, ID: 21177774 |
| 03.20.2008 at 07:54PM PDT, ID: 21177789 |
| 03.20.2008 at 07:56PM PDT, ID: 21177803 |
| 03.20.2008 at 08:00PM PDT, ID: 21177817 |
| 03.20.2008 at 08:06PM PDT, ID: 21177845 |
| 03.20.2008 at 08:06PM PDT, ID: 21177848 |
| 03.20.2008 at 08:08PM PDT, ID: 21177855 |
| 03.20.2008 at 08:11PM PDT, ID: 21177870 |
1: 2: 3: 4: 5: 6: 7: 8: 9: |
CREATE TABLE [dbo].[WorldCities]( [CountryID] [char](2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [City] [varchar](1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [AccentCity] [varchar](1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [RegionID] [char](2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Population] [int] NULL, [Latitude] [float] NULL, [Longitude] [float] NULL ) ON [PRIMARY] |