Aside from limiting the columns selected to reduce bandwidth and memory:
DataTable t;
t.Columns.Remove("columnName");
t.Columns.RemoveAt(columnIndex);
More Related Contents:
- Auto Hide/Show DIV in asp.net [closed]
- Making a Simple Ajax call to controller in asp.net mvc
- How to pass values across the pages in ASP.net without using Session
- How should I inject a DbContext instance into an IHostedService?
- Understanding WCF Windows Authentication
- ASP.NET use SqlConnection connect MySQL
- Efficient DataTable Group By
- Ajax method call
- Asp Net Web API 2.1 get client IP address
- Difference between MVC 5 Project and Web Api Project
- What is the right way to populate a DropDownList from a database?
- How do I dispose my filestream when implementing a file download in ASP.NET?
- How to get rendered html (processed by Javascript) in WebBrowser control?
- How to implement reCaptcha for ASP.NET MVC? [closed]
- Why does GetManifestResourceStream returns null while the resource name exists when calling GetManifestResourceNames?
- C# mvc 3 using selectlist with selected value in view
- Does Dispose still get called when exception is thrown inside of a using statement?
- System.IO.File.Create locking a file
- how to generate a unique token which expires after 24 hours?
- Reading FromUri and FromBody at the same time
- Call and consume Web API in winform using C#.net
- How to share sessions between PHP and ASP.net application?
- Get POST data in C#/ASP.NET
- Giving application elevated UAC
- How to get the output of a System.Diagnostics.Process?
- Printing from ASP.NET to a network printer
- no overload for method “ToString” takes 1 arguments
- How to send a Status Code 500 in ASP.Net and still write to the response?
- JavaScript: Alert.Show(message) From ASP.NET Code-behind
- How to get hold of Content that is already read