示例#1
0
    public static bool deleteTisaneById(string strRowIds)
    {
        int  a = 0;
        bool result;

        string[] strRowsId = strRowIds.Split(',');
        for (int i = 0; i < strRowsId.Length; i++)
        {
            //RecipeModel rm = new RecipeModel();
            //Bubbleinfo bi = new Bubbleinfo();

            TeModel tm = new TeModel();

            a = tm.deleteTisaneinfoById(Convert.ToInt32(strRowsId[i]));
            //bi.deleteRecipeInfo(Convert.ToInt16(strRowsId[i]));
            // a = bi.deleteBubbleInfo(Convert.ToInt32(strRowsId[i]));
        }
        if (a == 0)
        {
            result = false;
        }
        else
        {
            result = true;
        }

        return(result);
    }