Re: Deleting datacolumns



Thanks for Scotts's quick response.

Hi 11Oppidan,

DataTable.Columns.Remove takes the column name or column reference as
argument. To remove column using it's index, you can use
DataTable.Columns.RemoveAt method.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

.



Relevant Pages

  • RE: DbDataReader.Read() result
    ... which mean EOF. ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: F/T HUO Shadow
    ... Kevin and John...Thanks for posting about the machine. ... Prev by Date: ...
    (rec.games.pinball)
  • RE: I cannot read cookie because of ASP.NET Forms Authentication c
    ... Thanks for your feedback. ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.scripting.jscript)
  • Re: ASP.NET 2.0 - Where to discuss??
    ... Since the .NET framework is still under development, ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • RE: WinForm - DataGrid - Enter Key
    ... click on a WinForm DataGrid. ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)