帮看看我的写法上有什么问题呢?
private void CallBack1_Callback(object sender, params ComponentArt.Web.UI.CallBackEventArgs[] e)
{
if (Convert.ToString(e[0]) == "NewsInfo ")
{
PlaceHolder1.Controls.Clear();
PlaceHolder1.Controls.Add(LoadControl( "UE_NewsList.ascx "));
PlaceHolder1.RenderControl(e[0].Output);
}
else if (Convert.ToString(e[0]) == "TradeInfo ")
{
PlaceHolder1.Controls.Clear();
PlaceHolder1.Controls.Add(LoadControl( "UE_TradeList.ascx "));
PlaceHolder1.RenderControl(e[0].Output);
}
else
{
UE_TradeList uc = (UE_TradeList)Page.LoadControl( "UE_TradeList.ascx ");
if (e != null)
{
for (int i = 0; i < e.Length; i++)
{
if (i == 0)
{
uc.SortID