aspx.cs内のdivを表示しようとしています。私はdivを呼び出してsizemenuを定義したproductsリストを取得するためにストアドプロシージャを使用しています。私は特定の関数内でこれを見ることができます。可能な方法はありますか?divをasp.netページ内に表示する方法
Product product = new Product();
product.Id =Convert.ToInt64(labl.Text);
Hashtable parameterList = new Hashtable();
parameterList.Add("saleId", index.saleid.Id);//sale id
parameterList.Add("productId", product.Id);
parameterList.Add("productSizeId", null);
parameterList.Add("costPrice", null);
parameterList.Add("salesPrice", null);
//parameterList.Add("offerDetailId", null);
parameterList.Add("offerFound", -1);
parameterList.Add("currentDate", DateTimeUtil.GetFormattedString(((Sale)index.saleid).Date.Date));
parameterList.Add("currentTime", DateTimeUtil.GetFormatedTimeString(Convert.ToDateTime(((Sale)index.saleid).Time)));
parameterList.Add("day", Const.GetDay(((Sale)index.saleid).Date.DayOfWeek));
parameterList.Add("productSizePointValue", null);
parameterList.Add("isOfferUser", "False");
parameterList.Add("recipeSelection", null);
psList.SelectUsingSP(Global.sess, "SqlProInsertProductSizeToSale", parameterList);
if (psList.Count == 0)
{
}
else if (psList.Count == 1)
{
}
else if (psList.Count > 1)
{
//want to display the div here
}
それはcsファイルにdiv idを取得していないのですか?どうすれば入手できますか? –
ありがとうございました! –