How to create custom Data View web part in .NET?
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
How to create custom Data View web part in .NET?

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Shanker
Guest





Posted: Fri Jan 21, 2005 6:49 am    Post subject: How to create custom Data View web part in .NET? Reply with quote

dshanke...@hotmail.com Jan 20, 3:46 am show options

Newsgroups: microsoft.public.sharepoint.portalserver.development
From: dshanke...@hotmail.com - Find messages by this author
Date: 20 Jan 2005 03:46:34 -0800
Local: Thurs, Jan 20 2005 3:46 am
Subject: How to create custom Data View web part in .NET?
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse

I am using WSS SDK to create my custom web part which contains a Data
View control.


I got the following code from somewhere, but i really dont know how to
make it work.


DataViewWebPart _mydataview = new DataViewWebPart();
_mydataview.DataFields = DATAFIELDS;
_mydataview.DataQuery = DATAQUERY;
_mydataview.Xsl = XSL;
Controls.Add (_mydataview);


What should i pass in DATAFIELDS, DATAQUERY & XSL values.


Thanks,
Shanker
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB