cs/get.cs
(开头部分) 29KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Data.OleDb;
using System.Data;
using System.Net;
using System.IO;
using System.IO.Compression;
using System.Text;
using System.Text.RegularExpressions;
public class get
{
private static HttpContext context = HttpContext.Current;
/// <summary>
/// 保留小数点
/// </summary>
/// <param name="d1">数据</param>
/// <param name="d2">保留位数</param>
/// <returns></returns>
public static Double bl(Double d1, int d2)
{
return Math.Round(d1, d2);
}
public static string q3h4(string phone)
{
string fig = "";
try
{
string q3 = phone.Substring(0, 3);
string h4 = phone.Substring(phone.Length - 4, 4);
fig = q3 + "****" + h4;
}
catch (Exception)
{
fig = phone;
}
return fig;
}
public static string gethtml(int id)
{
string fig = string.Empty;
string sqlstring = "select ntest from sisu where id=" + id.ToString();
using (DataTable dt = new access().ExecuteDataTable(sqlstring))
{
foreach (DataRow r in dt.Rows)
{
fig = r["ntest"].ToString();
}
}
return fig;
}
public static string ltype(object v)
后面还有 872 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。