How to use ASP.NET 2.0's TreeView to Display Hierarchical
Data?
Answer / guest
protected void TreeView1_SelectedNodeChanged(object sender,
EventArgs e)
{
Label1.Text = "You Selected " + TreeView1.SelectedNode.Text
+ " category";
}
protected void Page_Load(object sender, EventArgs e)
{
switch (Request.QueryString["id"])
{
case "1":
Label1.Text="You selected ASP.NET category";
break;
case "2":
Label1.Text="You selected Web Services category";
break;
case "3":
Label1.Text="You selected JSP category";
break;
case "4":
Label1.Text="You selected Windows Forms category";
break;
case "5":
Label1.Text="You selected ActiveX category";
break;
case "6":
Label1.Text="You selected Smart Client category";
break;
case "7":
Label1.Text="You selected COM category";
break;
case "8":
Label1.Text="You selected DCOM category";
break;
case "9":
Label1.Text = "You selected Remoting category";
break;
}
}
Is This Answer Correct ? | 3 Yes | 4 No |
program to reverse the order of digits in a given number of any length.
Write a program to count the number of characters, number of words, number of line in file.
. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
Code for IP Address Comparison and Conversion in C#?
How to Link Different Data Sources Together?
Code for Reading and writing from a file?
Write a program to count 3Letter, 4Letter and 5Letter words from a file and print the number of 3Letter, 4Letter and 5Letter words. Delimiter is space, tab, hifen. Also we should not consider the line in the file after we encounter # in that line.
Can you declare an array of mixed Types?
program for addition of fraction(M/N + P/Q = Y/Z)
how to change password in .net with c # with ado.net and also SQL server 2008 change password
Write a program to convert postfix expression to infix expression.
Code for Searching for Multiple Matches with the MatchCollection Class?