ata.InsertCommand = new SqlCommand("insert into AbhängigkeitTabelle "+ "values("+ "(Select V_ID from Netzplan where V_Name = '@VName')"+ ",(select Vorgang_ID from Netzplan_2 where Abhängigkeiten ='@Ab' ))", connection);
data.InsertCommand = new SqlCommand("insert into AbhängigkeitTabelle "+ "values("+
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questiondata.InsertCommand = Variable; variable new SqlCommand("insert into AbhängigkeitTabelle values(Select V_ID from Netzplan where V_Name @VName),(select Vorgang_ID from Netzplan_2 where Abhängigkeiten ='@Ab' ))", connection);
data.InsertCommand = new SqlCommand("insert into AbhängigkeitTabelle "+ "values("+ "(Select V_ID from Netzplan where V_Name = '@VName')"+ "AND (select Vorgang_ID from Netzplan_2 where Abhängigkeiten ='@Ab' ))", connection);