using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;


public partial class wlps_js_cityselect : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Write("document.write(\"<script language=javascript src='js/cityselect.js?id="+DateTime.Now.ToLongTimeString()+"'></script>\");");
        //Vcity.allCity = ['鸡脯肉|jipurou|jpr', '花生米|huashengmi|hsm', '葱|chong|c', '姜|jiang|j', '干辣椒|ganlanjiao|glj', '花椒|huajiao|hj', '色拉油|shelayou|sly', '食盐|shiyan|sy', '料酒|liaojiu|lj', '味精|weiji|wj', '酱油|jiangyou|jy', '白糖|baitang|bt', '醋|chu|c', '水淀粉|shuidianhun|sdh', '电子称|dianzicheng|dzc', '封口机|fengkouji|fkj', '搅拌机|jiaobanji|jbj', '塑料盒|shuliaohe|slh', '铁盒子|tiehezi|thz'];

        //输出Vcity.allCity = ['鸡脯肉|jipurou|jpr', '花生米|huashengmi|hsm', '葱|chong|c', '姜|jiang|j', '干辣椒|ganlanjiao|glj', '花椒|huajiao|hj', '色拉油|shelayou|sly', '食盐|shiyan|sy', '料酒|liaojiu|lj', '味精|weiji|wj', '酱油|jiangyou|jy', '白糖|baitang|bt', '醋|chu|c', '水淀粉|shuidianhun|sdh', '电子称|dianzicheng|dzc', '封口机|fengkouji|fkj', '搅拌机|jiaobanji|jbj', '塑料盒|shuliaohe|slh', '铁盒子|tiehezi|thz'];
        //DataTable cxyl = Sqlhelper.Serach("SELECT TOP 1000 [名称],[全拼],[简拼]  FROM [ming_cms].[dbo].[wlps_yuanliao] order by 配方引用数 desc,名称 asc");

        //if (cxyl.Rows.Count > 0)
        //{
        //    string city = "[";
        //    for (int i = 0; i < cxyl.Rows.Count; i++)
        //    {
        //        if (city.Length == 1)
        //        {
        //            city += "'" + cxyl.Rows[i][0].ToString() + "|" + cxyl.Rows[i][1].ToString() + "|" + cxyl.Rows[i][2].ToString() + "'";
        //        }
        //        else { city += "," + "'" + cxyl.Rows[i][0].ToString() + "|" + cxyl.Rows[i][1].ToString() + "|" + cxyl.Rows[i][2].ToString() + "'"; }
        //    }
        //    city += "]";
        //    Response.Write("Vcity.allCity = " + city.Replace("(","（").Replace(")", "）").Replace("（软）","软")+";");
        //}

        //Response.Write("document.write(\"<script language=javascript src='js/cityselect2.js?id=" + DateTime.Now.ToLongTimeString() + "'></script>\");");


    }
}