Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class AlphabitSelectionCnt : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- List<string> alphabits = new List<string>();
- for (int i = 65; i < 91; i++) {
- alphabits.Add(char.ConvertFromUtf32(i));
- }
- lstOutput.Text = "";
- foreach (string s in alphabits) {
- string a = "<a href='?q="+ s +"'>"+ s +"</a>";
- lstOutput.Text += a + " ";
- }
- string all = " - <a href=''>All</a>";
- lstOutput.Text += all + " ";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment