Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 2nd, 2008, 02:00 AM
Authorized User
 
Join Date: May 2008
Location: secunderabad, Andhra Pradesh, India.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to veda
Default conn from Gridview to SqldataSource

I have properly binded the sqldatasource1 to GridView1 and Connectionstring is also correct.I have placed these 2 things(GrudView1 and sqldatasource1 )in same <td> of the table.
                    Checking everything!But why problem?
Error:
The DataSourceID of 'GridView1' must be the ID of a control of type IDataSource. A control with ID 'SqlDataSource1' could not be found.



Vedavathi
__________________
Vedavathi
 
Old July 2nd, 2008, 03:42 AM
Authorized User
 
Join Date: May 2008
Location: secunderabad, Andhra Pradesh, India.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to veda
Default

Let me tell U that I am using web parts.

Vedavathi
 
Old July 9th, 2008, 11:49 PM
Authorized User
 
Join Date: May 2008
Location: secunderabad, Andhra Pradesh, India.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to veda
Default

ya,I got it!I later placed the panel under gridview ,it worked...Fine!No probs.

Vedavathi




Similar Threads
Thread Thread Starter Forum Replies Last Post
Fill gridview from 2 tables using sqldatasource niktos ASP.NET 2.0 Basics 1 January 30th, 2007 10:45 AM
GridView and SqlDataSource Woes machone3720 ASP.NET 2.0 Basics 1 January 16th, 2007 02:11 PM
How to view more than 1 report simultaneously conn jdaulagar VB Databases Basics 0 November 30th, 2006 06:22 PM
Gridview/SqlDataSource won't show results fizzerchris ASP.NET 2.0 Professional 4 September 27th, 2006 02:35 PM
conn strings on a lan (easy) jardbf Classic ASP Basics 1 April 25th, 2006 06:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.