• 36进制进位算法例子


    36进制进位算法例子.

    string s_runcard = ds.Tables[0].Rows[0][0].ToString();                 char[] t_arychr = new char[s_runcard.Length];                 t_arychr = s_runcard.ToCharArray();                 int i_row = (int)t_arychr[s_runcard.Length - 2];                 int i_col = (int)t_arychr[s_runcard.Length - 1];                 i_col++;                 if (i_col >= 91)                 {                     i_col = 48;                     i_row++;                     if (i_row >= 91)                     {                         tb_runcard.Text = "wrong";                     }                     else                     {                         if (i_row >= 58 && i_row <= 64)                         {                             i_row = 65;                         }                     }                 }                 else                 {                     if (i_col >= 58 && i_col <= 64)                     {                         i_col = 65;                     }                 }

                    tb_subruncard.Text = s_runcard.Substring(0, s_runcard.Length - 2) + ((char)(byte)i_row).ToString() + ((char)(byte)i_col).ToString(); 

  • 相关阅读:
    register_shutdown_function
    字节转换
    考虑 PHP 5.0~5.6 各版本兼容性的 cURL 文件上传
    linux--svn checkout
    linux命令
    linux---mysql忘记密码
    array_merge函数的注意事项
    逻辑卷使用记录笔记
    系统设计时关于性能问题处理的几点心得
    SSH防暴力破解脚本
  • 原文地址:https://www.cnblogs.com/VinC/p/1991079.html
Copyright © 2020-2023  润新知