private void ShowInventory()
{
using (SqlConnection conn = SQLAzureUtilities.GetActiveSqlConnection())
using (SqlCommand cmd = conn.CreateCommand())
{
conn.Open();
cmd.CommandText = "ShowInventory";
cmd.CommandType = CommandType.StoredProcedure;
SqlParameter tenant = cmd.Parameters.Add("@Tenant", SqlDbType.NVarChar);
tenant.Value = spContext.SPHostUrl.ToString();
inventoryGridView.DataSource = cmd.ExecuteReader();
inventoryGridView.DataBind();
}
}