本文整理汇总了C#中TrendChart类的典型用法代码示例。如果您正苦于以下问题:C# TrendChart类的具体用法?C# TrendChart怎么用?C# TrendChart使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TrendChart类属于命名空间,在下文中一共展示了TrendChart类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: btnSearch_Click
protected void btnSearch_Click(object sender, EventArgs e)
{
if (((this.tb1.Text == "") || (this.tb1.Text == null)) || ((this.tb2.Text == "") || (this.tb2.Text == null)))
{
JavaScript.Alert(this.Page, "请输入起止期数!");
}
int num = _Convert.StrToInt(this.tb1.Text, 0);
int num2 = _Convert.StrToInt(this.tb2.Text, 0);
if (num > num2)
{
JavaScript.Alert(this.Page, "起始期数输入有误,请查证在输入!");
}
else
{
string result = "";
DataTable table = null;
table = new TrendChart().SSC_3X_HZST_Select(0, this.tb1.Text.ToString(), this.tb2.Text.ToString(), ref result);
if ((table != null) && (table.Rows.Count >= 1))
{
int count = table.Rows.Count;
this.tb1.Text = table.Rows[0]["Isuse"].ToString();
this.tb2.Text = table.Rows[count - 1]["Isuse"].ToString();
}
this.GridView1.DataSource = table;
this.GridView1.DataBind();
this.ColorBind();
}
}
开发者ID:NoobSkie,项目名称:taobao-shop-helper,代码行数:28,代码来源:SSC_3X_HZZST.aspx.cs
示例2: MyDataBind
private void MyDataBind(int DaySpan, int Type)
{
int returnValue = 0;
string returnDescription = "";
TrendChart tc = new TrendChart();
DataTable dt = tc.SYDJ_Q2ZXDYB(DaySpan, Type, ref returnValue, ref returnDescription);
dtcount = dt.Rows.Count + 13;
gvtable.DataSource = dt;
gvtable.DataBind();
}
开发者ID:ichari,项目名称:ichari,代码行数:11,代码来源:SYDJ_Q2ZXDYB.aspx.cs
示例3: btnTop50_Click
protected void btnTop50_Click(object sender, EventArgs e)
{
string result = "";
DataTable table = new DataTable();
table = new TrendChart().SSC_4X_ZHFBZST_Select(50, "", "", ref result);
if ((table != null) && (table.Rows.Count >= 1))
{
int count = table.Rows.Count;
this.tb1.Text = table.Rows[0]["Isuse"].ToString();
this.tb2.Text = table.Rows[count - 1]["Isuse"].ToString();
}
this.GridView1.DataSource = table;
this.GridView1.DataBind();
}
开发者ID:NoobSkie,项目名称:taobao-shop-helper,代码行数:14,代码来源:SSC_4X_ZHFB.aspx.cs
示例4: btnSearch_Click
protected void btnSearch_Click(object sender, EventArgs e)
{
if (tb1.Text == "" || tb1.Text == null || tb2.Text == "" || tb2.Text == null)
{
Shove._Web.JavaScript.Alert(this.Page, "请输入起止期数!");
}
int i = Shove._Convert.StrToInt(tb1.Text, 0);
int j = Shove._Convert.StrToInt(tb2.Text, 0);
if (i > j)
{
Shove._Web.JavaScript.Alert(this.Page, "起始期数输入有误,请查证在输入!");
return;
}
string result = "";
DataTable dt = null;
dt = new TrendChart().SSC_5X_ZHZST_Select(0, tb1.Text.ToString(), tb2.Text.ToString(), ref result);
if (dt == null || dt.Rows.Count < 1)
{
}
else
{
int k = dt.Rows.Count;
tb1.Text = dt.Rows[0]["Isuse"].ToString();
tb2.Text = dt.Rows[k - 1]["Isuse"].ToString();
}
GridView1.DataSource = dt;
GridView1.DataBind();
ColorBind();
}
开发者ID:ichari,项目名称:ichari,代码行数:35,代码来源:SSC_5X_ZHZST.aspx.cs
示例5: btnTop100_Click
protected void btnTop100_Click(object sender, EventArgs e)
{
string result = "";
DataTable dt = new DataTable();
dt = new TrendChart().SSC_5X_ZHZST_Select(100, "", "", ref result); //,默认显示100期
if (dt == null || dt.Rows.Count < 1)
{
}
else
{
int k = dt.Rows.Count;
tb1.Text = dt.Rows[0]["Isuse"].ToString();
tb2.Text = dt.Rows[k - 1]["Isuse"].ToString();
}
GridView1.DataSource = dt;
GridView1.DataBind();
ColorBind();
}
开发者ID:ichari,项目名称:ichari,代码行数:22,代码来源:SSC_5X_ZHZST.aspx.cs
示例6: GridViewBind
protected void GridViewBind()
{
string result = "";
DataTable dt = new DataTable();
dt = new TrendChart().SSC_5X_ZHZST_Select(30, "", "", ref result); //,默认显示30期
if (dt == null || dt.Rows.Count < 1)
{
}
else
{
int k = dt.Rows.Count;
tb1.Text = dt.Rows[0]["Isuse"].ToString();
tb2.Text = dt.Rows[k - 1]["Isuse"].ToString();
}
GridView1.DataSource = dt;
GridView1.DataBind();
}
开发者ID:ichari,项目名称:ichari,代码行数:21,代码来源:SSC_5X_ZHZST.aspx.cs
示例7: GridViewBind
protected void GridViewBind()
{
string result = "";
DataTable table = new DataTable();
table = new TrendChart().SSC_3X_HZST_Select(30, "", "", ref result);
if ((table != null) && (table.Rows.Count >= 1))
{
int count = table.Rows.Count;
this.tb1.Text = table.Rows[0]["Isuse"].ToString();
this.tb2.Text = table.Rows[count - 1]["Isuse"].ToString();
}
this.GridView1.DataSource = table;
this.GridView1.DataBind();
}
开发者ID:NoobSkie,项目名称:taobao-shop-helper,代码行数:14,代码来源:SSC_3X_HZZST.aspx.cs
示例8: btnTop100_Click
protected void btnTop100_Click(object sender, EventArgs e)
{
string result = "";
DataTable dt = new DataTable();
dt = new TrendChart().SSQ_HL_Select(100, "", "", ref result); //,默认显示100期
if (dt == null || dt.Rows.Count < 1)
{
//Shove._Web.JavaScript.Alert(this.Page, "数据库里没有此彩种开奖号码信息!");
}
else
{
int k = dt.Rows.Count;
tb1.Text = dt.Rows[0]["Isuse"].ToString();
tb2.Text = dt.Rows[k - 1]["Isuse"].ToString();
}
GridView1.DataSource = dt;
GridView1.DataBind();
ColorBind();
}
开发者ID:ichari,项目名称:ichari,代码行数:22,代码来源:SSQ_HL.aspx.cs
示例9: GridViewBind
protected void GridViewBind()
{
string result = "";
DataTable dt = new DataTable();
dt = new TrendChart().FC3D_ZHFB_Select(30, "", "", ref result); //,默认显示30期
if (dt == null || dt.Rows.Count < 1)
{
//Shove._Web.JavaScript.Alert(this.Page, "数据库里没有此彩种开奖号码信息!");
}
else
{
int i = dt.Rows.Count;
tb1.Text = dt.Rows[0]["Isuse"].ToString();
tb2.Text = dt.Rows[i - 1]["Isuse"].ToString();
}
GridView1.DataSource = dt;
GridView1.DataBind();
}
开发者ID:ichari,项目名称:ichari,代码行数:21,代码来源:FC3D_ZHXT.aspx.cs
注:本文中的TrendChart类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论