ASP.NET 1.1As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.1 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
Hi everybody. I got a db in sql server and it has 6 tables inside it .One of
the table that i want to create a datagrid using visual studio .net 2003 is
called matches. Unfortunetly when i try Right-click on the DataAdapter and choose Generate DataSet
i get the following errors.The table matches exist in sql server 2000 with data inside it but
i do not know why i get these error. I be happy if some one help me fix this problem.Thanks
1)Data adapter configureation error
Generated INSERT statement
Could not determine which columns uniquely identify the rows for "MATCHES"
Generated Delete statement
Cold not determine which columns uniquely identify the rows for " MATCHES"
2)date adaper configuration wizard
The wizard detected the following problems when configurng the data adapter
"sqlDataAdapter1"
Details:
Generated SELECT statement
invalid object name " matches"
3)
sqlDataAdpater1.The data adapter could not return the data from the
data source.
Invalid objet name "MATCHES"
4)
Retrieving the schema for SqlDataAdpater1 failed.
Invalid object name "MATCHES"
thank u for u reply. Do u mean should i declare a column in sql server as a primary key? since i am new to sql server. could u guide me where i can declare a column as primary key?thanks
Yes, you need to define a column in your table as the primary key. This can be done with transact SQL (CREATE TABLE... script) or with the SQL enterprise manager.