#region EventHandler: productsListGridView_DataBind
productsListGridView_DataBind vago protegido (remetente do objeto, EventArgs e)
{
intClientID do int = -1;
//if (Request.Cookies [“ClientID”]! = && nulo Request.Cookies [“ClientID”]. Valor! = "")
// {
intClientID de // = Int32.Parse (Request.Cookies [“ClientID”]. Valor);
//}
Response.Write (intClientID);
dtProducts de DataTable = DataTable novo ();
//dtProducts = ebayService.Import_GetClientProducts (intClientID);
tentativa
{
se (dtProducts.Rows.Count > 0)
{
dvProducts de //DataView = DataView novo (dtProducts);
//productsListGridView.DataSource = dvProducts;
//productsListGridView.DataBind ();
}
mais
{
productsListGridView.DataSource = zero;
productsListGridView.DataBind ();
}
}
prendedor (exceção ex)
{
Response.Write (ex. Mensagem + ex.StackTrace);
}
}
#endregion EventHandler: searchCarrierDropDownList_DataBinding
|