Hi There
im not sure if im in the right place but i was wondering why the above option is greyed out when creating a new sql datasource. This occurs even when i select all fields within the table (including primary key fields)
Thanks
Todd
Hi There
im not sure if im in the right place but i was wondering why the above option is greyed out when creating a new sql datasource. This occurs even when i select all fields within the table (including primary key fields)
Thanks
Todd
Advanced SQL Generation Options in VS2005
Tom_Miller
justadam
MikeGrozny
havoc27
inblosam
How could you configure the data source without connecting to the database
Andrew Robinson
This happened to me too, and I realized that setting the Column Property "Identity Specification" to Yes for the intended Primary Key field will not alone make it as a Primary Key. You have to right click on the Column and select "Set Primary Key" to enable the Advanced SQL Generations Options.
Hope this information help with any newbie like me who made the same mistake. :-)
samno
For me i didnt have the primary key set in the sql database.
Added that & its Happy Days
Hope this helps.
Todd
happy man
I'm not exactly sure which forum would be best for you - you could try this one ...
http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=7&SiteID=1
Donald
DNAGCAT
This is what I found as well and it's worth mentioning again as I spent ages before realising what I was doing wrong. It is not enough to just have a primary key in the table, the primary key column MUST be part of the data you are retrieving/selecting otherwise the "Generate INSERT, UPDATE and DELETE statements" option will be greyed out in the advanced menu.
Marts
MichaelDeArmas
gastonanthonyngke