CopyToDataTable is a method, you need to add the parenthesys to the method name
dtChoice_2 = dtChoice.Select("QuestionID = '" + QNo + "'").CopyToDataTable();
^^^
More Related Contents:
- Read SQL Table into C# DataTable
- How I can filter a Datatable?
- Efficient DataTable Group By
- Export DataTable to Excel File
- How to calculate the sum of the datatable column in asp.net?
- Datatable to html Table
- How do I loop through rows with a data reader in C#?
- How to convert DataTable to class Object?
- System.IndexOutOfRangeException: Cannot find table 0
- How to enable external request in IIS Express?
- Inner join of DataTables in C#
- Import and Export Excel – What is the best library? [closed]
- Why Interface Layer/Abstract classes required in our project? [closed]
- C# ASP.NET Single Sign-On Implementation
- How to select min and max values of a column in a datatable?
- How do you bind an Enum to a DropDownList control in ASP.NET?
- Writing file to web server – ASP.NET
- Best way to check if a Data Table has a null value in it
- How to make LINQ execute a (SQL) LIKE range search
- How to debug a single thread in Visual Studio?
- Get Cell Value from a DataTable in C#
- ConfigurationManager.AppSettings getting null?
- MEF with MVC 4 or 5 – Pluggable Architecture (2014)
- Registering an Application to a URI Scheme in windows 10
- How do you post a JSON file to an ASP.NET MVC Action?
- Why use async requests instead of using a larger threadpool?
- Can OWIN middleware use the http session?
- Unable to resolve service for type ‘Microsoft.AspNetCore.Identity.UserManager` while attempting to activate ‘AuthController’
- Visual Studio 2010: How to enforce build order of projects in a solution?
- IIS Request.UserHostAddress returning IPV6 (::1), even when IPV6 disabled