有关在asp.net中找到大号的问题 [英] question related to finding big no in asp.net

查看:80
本文介绍了有关在asp.net中找到大号的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在文本框中输入1到10否我想在这些按钮上找到大整数按钮点击

怎么可能

解决方案

< blockquote>

  if     10 文本框比没有问题:) 
无法判断 10 或两位数文本框0-9 确定,你可以找到bigest no like this
string s = < span class =code-string> 149682735;
char [] ch = s.ToCharArray();
Array.Sort(ch);
Array.Reverse(ch); // ch.Reverse();
string big = ch [ 0 ]。ToString();





如果您通过任何特殊的同意者指定,那么您可以通过该角色进行分割并应用追踪程序









快乐编码:) :) :)


i entering 1 to 10 no in textbox i want to find big integer among these no on button click
how it is possible

解决方案

if  there is 10 text box than no problem :)
while not possible to  judge 10 or two digit number in text box 0-9 is ok and you can find bigest no like this
string s = "149682735";
            char[] ch = s.ToCharArray();
              Array.Sort(ch);
              Array.Reverse(ch);// ch.Reverse();
              string big = ch[0].ToString();



if you specify by any special charchter than you can split by that character and applyfollwing process




happy coding :) :) :)


这篇关于有关在asp.net中找到大号的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆