Advertisement
Advertisement
| 03.27.2008 at 05:34PM PDT, ID: 23276150 |
|
[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: |
My web form source is
<form id="form1" runat="server">
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="#">HyperLink</asp:HyperLink>
<br />
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ChargesConnectionString %>"
SelectCommand="SELECT [Provider] FROM [Customers] WHERE ([Username] = @Username)"
ProviderName="<%$ ConnectionStrings:ChargesConnectionString.ProviderName %>">
<SelectParameters>
<asp:SessionParameter Name="Username" SessionField="username" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</form>
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 03.27.2008 at 06:11PM PDT, ID: 21227207 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: |
protected void Page_Load(object sender, System.EventArgs e)
{
Session["username"] = HttpContext.Current.User.Identity.Name;
//Lookup the table and fetch the provider info for the username being passed by the session variable.
try
{
Session["username"] = "tom";
DataView dv = (DataView)SqlDataSource1.Select(DataSourceSelectArguments.Empty);
int providerInfo = (int)dv.Table.Rows[0][0];
if (providerInfo == 9999)
{
HyperLink1.NavigateUrl = "http://www.yahoo.com";
}
else
{
HyperLink1.NavigateUrl = "http://www.google.com";
}
}
catch (Exception ex)
{
}
}
|
| 03.27.2008 at 07:48PM PDT, ID: 21227654 |
| 03.27.2008 at 08:09PM PDT, ID: 21227721 |
| 03.27.2008 at 08:30PM PDT, ID: 21227806 |
| 03.27.2008 at 08:47PM PDT, ID: 21227881 |
| 03.27.2008 at 08:47PM PDT, ID: 21227885 |
| 03.27.2008 at 08:53PM PDT, ID: 21227906 |
| 03.27.2008 at 09:04PM PDT, ID: 21227944 |