Exemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="value"></param>
 public void Remove(  PostedFileInfo value )
 {
     List.Remove( value );
 }
Exemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="index"></param>
 /// <param name="value"></param>
 public void Insert( int index,  PostedFileInfo value )
 {
     //if( value.ID <= 0 ) throw new NullReferenceException( "ID���Ա������0" );
     List.Insert( index, value );
 }
Exemplo n.º 3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public int IndexOf(  PostedFileInfo value )
 {
     return( List.IndexOf( value ) );
 }
Exemplo n.º 4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public bool Contains(  PostedFileInfo value )
 {
     return( List.Contains( value ) );
 }
Exemplo n.º 5
0
 /**********************************
 * ���Ϸ���
 *
 **********************************/
 /// <summary>
 /// 
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public int Add(  PostedFileInfo value )
 {
     return( List.Add( value ) );
 }
Exemplo n.º 6
0
        public bool LoadPostData(string postDataKey, System.Collections.Specialized.NameValueCollection postCollection)
        {
            this._uploaderIds = postCollection[ this.ClientID +"_Ids" ];

            string[] arrIds = this._uploaderIds.Split( ',' );

            PostedFileInfo f ;
            //����ļ���
            for( int i = 1 ; i < arrIds.Length ; i ++ )
            {
                f = new PostedFileInfo();

                f.SetCustomName( postCollection[ this.ClientID + "_name_" + i ] );
                _files.Add( f ) ;
            }

            return false;
        }