Bind schema to dataview
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.windowsforms.

Post a new message to this list...

Vidyanand Kulkarni
I have one dataset. I have create one DataView and I want to add only table
schema to the newly created dataView
how to do this

Reply to this message...
 
    
Sijin Joseph
If you mean that you want to get a DataView for only one table in the
dataset, then use the overloaded dataview ctor which takes a datatable
as a parameter.

DataView dv = new DataView(dataTable);

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

Vidyanand Kulkarni wrote:
[Original message clipped]

Reply to this message...
 
    
Vidyanand Kulkarni
Thanks sijin
It works
"Sijin Joseph" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.Data.DataView




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com