DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 13 Aug 2007 07:16:04 -0700,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    KPhipps


GridViews and sp_executeSQL?   
Hi all,

I built a stored procedure that needed to use dynamic sql for a search 
window. I used sp_executeSQL to accomplish this. I tried to create a dataset 
in the designer by dragging and dropping the stored procedure to it. The 
result is a 'QueriesTableAdapter' but no data set (The designer does not know 
the SELECT statement since it is a dynamic string... I would assume). I would 
like to attach a dataset to a gridview and simply call the Fill() method but 
the 'QueriesTableAdapter' only has one method which is my stored procedure 
name. 

How do I populate a grid view in this situation? If I can't use the 
'QueriesTableAdapter', what would be a suggestion on the easiest way to 
populate a gridview?

Thanks
Date:Mon, 13 Aug 2007 07:16:04 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us