Click here to Skip to main content
15,913,055 members
Home / Discussions / Database
   

Database

 
GeneralRe: Convert SQL server database to script file Pin
Colin Angus Mackay23-Sep-04 3:17
Colin Angus Mackay23-Sep-04 3:17 
GeneralRe: Convert SQL server database to script file Pin
Mekong River24-Sep-04 4:39
Mekong River24-Sep-04 4:39 
Generalhello Pin
Asha Rams22-Sep-04 20:44
Asha Rams22-Sep-04 20:44 
GeneralRe: hello Pin
sreejith ss nair23-Sep-04 2:01
sreejith ss nair23-Sep-04 2:01 
GeneralRe: hello Pin
Asha Rams23-Sep-04 16:08
Asha Rams23-Sep-04 16:08 
GeneralBacking a DataBase up Pin
BanksySan22-Sep-04 16:00
BanksySan22-Sep-04 16:00 
GeneralRe: Backing a DataBase up Pin
David Salter22-Sep-04 23:03
David Salter22-Sep-04 23:03 
GeneralDataTableMapping problem. Don't get return values Pin
3sL22-Sep-04 4:15
3sL22-Sep-04 4:15 
Having made an app with a type-safe dataset. In this set there are two datatables 'Contract' and 'Contract1' which are identical. When I insert a record from the second DataTable with my stored procedure into the database, it results two result-sets 'Table' and 'Table1'. This is correct, but the only not working thing is that I don't get one column ie ContractNummer. This is made read-only in the DataTable. It is filled in the database with a after-insert-trigger and returned from the insert-procedure. Why cannot I get this value? When it comes from the first DataTable 'Contract', it strangeally works fine. Al the names and the amount of names are correct. Can you tell give me a clue? Thanks very much. Here is my code for the TableMapping-section:

DataTableMapping dtm1, dtm2;
dtm1 = oDa.TableMappings.Add("Table", "Contract");
dtm2 = oDa.TableMappings.Add("Table1", "Contract1");

dtm1.ColumnMappings.Add("ContractID", "ContractID");
dtm1.ColumnMappings.Add("Contractnummer", "Contractnummer");
dtm1.ColumnMappings.Add("Titel", "Titel");
dtm1.ColumnMappings.Add("BeginDatum", "BeginDatum");
dtm1.ColumnMappings.Add("EindDatum", "EindDatum");
dtm1.ColumnMappings.Add("BUID", "BUID");
dtm1.ColumnMappings.Add("TyperingID", "TyperingID");
dtm1.ColumnMappings.Add("KlantID", "KlantID");
dtm1.ColumnMappings.Add("Omschrijving", "Omschrijving");
dtm1.ColumnMappings.Add("MantelID", "MantelID");
dtm1.ColumnMappings.Add("PDF", "PDF");

dtm2.ColumnMappings.Add("ContractID", "ContractID");
dtm2.ColumnMappings.Add("Contractnummer", "Contractnummer");
dtm2.ColumnMappings.Add("Titel", "Titel");
dtm2.ColumnMappings.Add("BeginDatum", "BeginDatum");
dtm2.ColumnMappings.Add("EindDatum", "EindDatum");
dtm2.ColumnMappings.Add("BUID", "BUID");
dtm2.ColumnMappings.Add("TyperingID", "TyperingID");
dtm2.ColumnMappings.Add("KlantID", "KlantID");
dtm2.ColumnMappings.Add("Omschrijving", "Omschrijving");
dtm2.ColumnMappings.Add("MantelID", "MantelID");
dtm2.ColumnMappings.Add("PDF", "PDF");

try
{
oDa.Update(oDs);
oTrn.Commit();
}



Dries
GeneralADO dBase: get delete status Pin
Friedhelm22-Sep-04 3:48
Friedhelm22-Sep-04 3:48 
Generaldefault value Pin
TehMedic20-Sep-04 23:41
TehMedic20-Sep-04 23:41 
GeneralRe: default value Pin
tdciDoug21-Sep-04 10:24
tdciDoug21-Sep-04 10:24 
GeneralRe: default value Pin
TehMedic26-Sep-04 23:08
TehMedic26-Sep-04 23:08 
Generalchanging RowState of DataRow Pin
TehMedic20-Sep-04 23:36
TehMedic20-Sep-04 23:36 
GeneralPrinting from .Net Reporting Services Pin
MicSky20-Sep-04 20:03
MicSky20-Sep-04 20:03 
GeneralRe: Printing from .Net Reporting Services Pin
sreejith ss nair20-Sep-04 20:14
sreejith ss nair20-Sep-04 20:14 
GeneralRe: Printing from .Net Reporting Services Pin
MicSky20-Sep-04 21:20
MicSky20-Sep-04 21:20 
GeneralANN: VistaDB 2.0 (RC3) data engine for .NET now available for download Pin
vistasoftware20-Sep-04 14:20
vistasoftware20-Sep-04 14:20 
GeneralRe: ANN: VistaDB 2.0 (RC3) data engine for .NET now available for download Pin
Matt Newman22-Sep-04 10:57
Matt Newman22-Sep-04 10:57 
GeneralRe: ANN: VistaDB 2.0 (RC3) data engine for .NET now available for download Pin
vistasoftware22-Sep-04 11:47
vistasoftware22-Sep-04 11:47 
GeneralRe: ANN: VistaDB 2.0 (RC3) data engine for .NET now available for download Pin
Colin Angus Mackay22-Sep-04 12:12
Colin Angus Mackay22-Sep-04 12:12 
GeneralClickety Pin
Colin Angus Mackay23-Sep-04 11:16
Colin Angus Mackay23-Sep-04 11:16 
GeneralOLE DB::IDBProperties -> Connection String [solved] Pin
Jörgen Sigvardsson20-Sep-04 8:51
Jörgen Sigvardsson20-Sep-04 8:51 
GeneralAny security check to stop Importing Data from SQL tables into EXCEL Pin
BSRK19-Sep-04 19:50
BSRK19-Sep-04 19:50 
GeneralRe: Any security check to stop Importing Data from SQL tables into EXCEL Pin
Steven Campbell20-Sep-04 7:32
Steven Campbell20-Sep-04 7:32 
GeneralRe: Any security check to stop Importing Data from SQL tables into EXCEL Pin
BSRK20-Sep-04 19:16
BSRK20-Sep-04 19:16 

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.