Bug #51558 | new field add error | ||
---|---|---|---|
Submitted: | 26 Feb 2010 16:49 | Modified: | 22 Mar 2010 11:59 |
Reporter: | alex kapmar | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 6.x | OS: | Windows (visual .net studio) |
Assigned to: | CPU Architecture: | Any | |
Tags: | add field, add new field, Connector/Net, visual net, wizerd |
[26 Feb 2010 16:49]
alex kapmar
[26 Feb 2010 16:54]
alex kapmar
Mysql.sql and visual studio test project .net
Attachment: test-mysql.rar (application/octet-stream, text), 38.25 KiB.
[22 Mar 2010 11:59]
Tonci Grgin
Hi Alex and thanks for your report. It is not clear to me what you did so here's what I did (can't repeat your problem): o Create new table: create table bug51558 (Id INT NOT NULL PRIMARY KEY, FrstVChar VARCHAR(50)); o OpenWinForms project in VS, add DataSet, Drag table bug51558 from server explorer. DataSet shows only two fields. o Alter table outside VS: alter table bug51558 add column ScndVChar VARCHAR(40); o Right-click table in DataSet Designer and choose "Configure". Go to "Query Builder", notice new field (ScndVChar) is not checked. Check it and click Finish. New field appears as expected... I do not think we have any synchronization facilities that can be used to automate this. If you wish, you can file new feature request (S4) for something like that.