Click here to Skip to main content
15,867,838 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Databinding to TextBox Pin
Wild Thing25-Jul-13 5:23
Wild Thing25-Jul-13 5:23 
GeneralRe: Databinding to TextBox Pin
BillWoodruff27-Aug-13 18:13
professionalBillWoodruff27-Aug-13 18:13 
QuestionLogging for Windows Form application Pin
lol240317-Jul-13 3:25
lol240317-Jul-13 3:25 
AnswerRe: Logging for Windows Form application PinPopular
NotPolitcallyCorrect17-Jul-13 4:09
NotPolitcallyCorrect17-Jul-13 4:09 
QuestionWinforms - automated retrieve static image Pin
fincity11-Jul-13 7:51
fincity11-Jul-13 7:51 
AnswerRe: Winforms - automated retrieve static image Pin
Richard MacCutchan11-Jul-13 21:16
mveRichard MacCutchan11-Jul-13 21:16 
AnswerRe: Winforms - automated retrieve static image Pin
Eddy Vluggen9-Oct-13 7:30
professionalEddy Vluggen9-Oct-13 7:30 
QuestionError during tableAdapterManager.UpdateAll unable to resolve Pin
Member 838780830-Jun-13 8:02
Member 838780830-Jun-13 8:02 
In Windows form , I'm displaying a Project_Table using tableAdapterManager.

I followed as per http://www.youtube.com/watch?v=3w2JkLcp-UA[^]

Project_Id int Primary Key with Identity specification as identity
Project_Name nvarchar(50)
Project_Type nvarchar(50)
Platform_Type nvarchar(50)
Start_Date date
Customer nvarchar(50)

In the code
C#
private void project_TableBindingNavigatorSaveItem_Click(object sender, EventArgs e)
       {
           this.Validate();
           this.project_TableBindingSource.EndEdit();
           this.tableAdapterManager.UpdateAll(this.pLMDataSet);

       }


I'm getting error Cannot insert explicit value for identity column in table 'Project_Table' when IDENTITY_INSERT is set to OFF

Even after executing following script I'm getting same error. Frown | :(

SQL
USE [PLM]
GO

SET IDENTITY_INSERT [dbo].[Project_Table]  ON
go


Another table Phases_table has dependency on Project_Table through FK constraint. Is the error because of this constraint?Confused | :confused:

Are there any sample examples on C# with MSSQL database which use multiple windows forms with multiples table linked in an hierarchy?
AnswerRe: Error during tableAdapterManager.UpdateAll unable to resolve Pin
Eddy Vluggen4-Jul-13 5:05
professionalEddy Vluggen4-Jul-13 5:05 
QuestionListBox does not update when DataSource is changed Pin
rbsbscrp17-May-13 5:36
rbsbscrp17-May-13 5:36 
AnswerRe: ListBox does not update when DataSource is changed Pin
rbsbscrp17-May-13 6:59
rbsbscrp17-May-13 6:59 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen24-May-13 2:59
professionalEddy Vluggen24-May-13 2:59 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak24-May-13 5:23
mveDave Kreskowiak24-May-13 5:23 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp24-May-13 20:03
rbsbscrp24-May-13 20:03 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen24-May-13 23:03
professionalEddy Vluggen24-May-13 23:03 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak25-May-13 3:55
mveDave Kreskowiak25-May-13 3:55 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp30-May-13 14:16
rbsbscrp30-May-13 14:16 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak30-May-13 16:19
mveDave Kreskowiak30-May-13 16:19 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp30-May-13 17:38
rbsbscrp30-May-13 17:38 
GeneralRe: ListBox does not update when DataSource is changed Pin
Dave Kreskowiak31-May-13 4:25
mveDave Kreskowiak31-May-13 4:25 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp31-May-13 5:41
rbsbscrp31-May-13 5:41 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen31-May-13 6:29
professionalEddy Vluggen31-May-13 6:29 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen31-May-13 6:27
professionalEddy Vluggen31-May-13 6:27 
GeneralRe: ListBox does not update when DataSource is changed Pin
rbsbscrp31-May-13 7:22
rbsbscrp31-May-13 7:22 
GeneralRe: ListBox does not update when DataSource is changed Pin
Eddy Vluggen31-May-13 7:30
professionalEddy Vluggen31-May-13 7:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.