As far as I know, from the stored proc, you can’t do that. You can, however, set the names once you have retrieved the DataSet, and then use them from then on.
ds.Tables[0].TableName = "NametbA";
More Related Contents:
- Using “GO” within a transaction
- Does End Using close an open SQL Connection
- Does this code prevent SQL injection?
- How do I write LINQ’s .Skip(1000).Take(100) in pure SQL?
- Using a variable for table name in ‘From’ clause in SQL Server 2008
- How do you effectively model inheritance in a database?
- How does SQLParameter prevent SQL Injection?
- Like Operator in Entity Framework?
- store image in database or in a system file? [closed]
- How can I solve a connection pool problem between ASP.NET and SQL Server?
- Fastest way to perform nested bulk inserts with scope_identity() usage?
- Login failed for user ‘DOMAIN\MACHINENAME$’
- What’s the best method to pass parameters to SQLCommand?
- Bulk Insert to Oracle using .NET
- What’s a good way to trim all whitespace characters from a string in T-SQL without UDF and without CLR?
- SqlDateTime.MinValue != DateTime.MinValue, why?
- Code to validate SQL Scripts
- CLR Strict Security on SQL Server 2017
- Procedure expects parameter which was not supplied
- SqlConnection.Close() inside using statement
- Sanitize table/column name in Dynamic SQL in .NET? (Prevent SQL injection attacks)
- How can I avoid SQL injection attacks in my ASP.NET application?
- Why is some sql query much slower when used with SqlCommand?
- Is it possible to send a collection of ID’s as a ADO.NET SQL parameter?
- How can I configure Entity Framework to automatically trim values retrieved for specific columns mapped to char(N) fields?
- How do I convert a string into safe SQL String?
- .NET, the SqlConnection object, and multi-threading
- Implementing transactions over multiple databases
- Use SQL Server time datatype in C#.NET application?
- SQL Connection Error: System.Data.SqlClient.SqlException (0x80131904)