.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ADO.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How can we force the datareader to return oly schema of the datastore rather than data?

Posted By: Ramesh P     Posted Date: October 29, 2010    Points:2   Category :ADO.Net
How can we force the datareader to return oly schema of the datastore rather than data?

Responses
Author: Dhivakaran             
Posted Date: October 29, 2010     Points: 5   

Hi Mr Ramesh

you can use the below commands to return only schema

objdr= objCmd.ExecuteReader(CommandBehavior.SchemaOnly)

-
Dhivakaran T
Author: Ramesh P             
Posted Date: October 29, 2010     Points: 5   

Thanks dhivakaran

Regards,
Ramesh

Regards,


Ramesh



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend