Click here to Skip to main content
15,901,205 members
Home / Discussions / Database
   

Database

 
GeneralRe: Download ms sql Pin
papa198025-Nov-05 21:03
papa198025-Nov-05 21:03 
GeneralRe: Download ms sql Pin
papa198026-Nov-05 0:09
papa198026-Nov-05 0:09 
GeneralRe: Download ms sql Pin
Colin Angus Mackay26-Nov-05 1:17
Colin Angus Mackay26-Nov-05 1:17 
GeneralRe: Download ms sql Pin
papa198026-Nov-05 1:59
papa198026-Nov-05 1:59 
GeneralRe: Download ms sql Pin
Colin Angus Mackay26-Nov-05 2:38
Colin Angus Mackay26-Nov-05 2:38 
GeneralRe: Download ms sql Pin
André Ziegler27-Nov-05 1:25
André Ziegler27-Nov-05 1:25 
QuestionInsert Record using ado.net Pin
tusar12325-Nov-05 18:51
tusar12325-Nov-05 18:51 
AnswerRe: Insert Record using ado.net Pin
Colin Angus Mackay26-Nov-05 1:22
Colin Angus Mackay26-Nov-05 1:22 
tusar123 wrote:
I want to insert record in access database using ado.net data adapter , not by command object.


You do know that the DataAdapter will have a property called InsertCommand that it uses to perform this query. This forms a paradox as it is exactly what you are trying to avoid.


tusar123 wrote:
suppling query at run time means Writing Query In a text Box


So, you have a text box on your form. The user will be able to type a query into the text box directly say:
INSERT MyTable(KeyColumn, DataColumn1, DataColumn2) VALUES(1, 'abc', 'def')
And then you want a data adapter to run this command?

Why? It would be much more efficient to use a OleDbCommand object instead. You are gaining exactly nothing from the overhead of the DataAdaptor in this instance.


My: Blog | Photos

"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious


QuestionVB .NET 2005 Access Database Pin
kenexcelon25-Nov-05 17:21
kenexcelon25-Nov-05 17:21 
AnswerRe: VB .NET 2005 Access Database Pin
Paul Conrad28-Nov-05 11:48
professionalPaul Conrad28-Nov-05 11:48 
GeneralRe: VB .NET 2005 Access Database Pin
kenexcelon29-Nov-05 14:01
kenexcelon29-Nov-05 14:01 
GeneralRe: VB .NET 2005 Access Database Pin
Paul Conrad30-Nov-05 6:31
professionalPaul Conrad30-Nov-05 6:31 
QuestionHyperlinks Pin
Jkkenzie25-Nov-05 12:45
Jkkenzie25-Nov-05 12:45 
QuestionAnyone else hate the templates in SQL 2005 Pin
gantww25-Nov-05 10:08
gantww25-Nov-05 10:08 
QuestionDatatable insert Problem [2.0] Pin
AndySummer25-Nov-05 2:13
AndySummer25-Nov-05 2:13 
AnswerRe: Datatable insert Problem [2.0] Pin
ventomito26-Nov-05 6:42
ventomito26-Nov-05 6:42 
Questionuser instance login flag Pin
Lebanese25-Nov-05 1:35
Lebanese25-Nov-05 1:35 
AnswerRe: user instance login flag Pin
enjoycrack26-Nov-05 8:36
enjoycrack26-Nov-05 8:36 
GeneralRe: user instance login flag Pin
Lebanese27-Nov-05 20:21
Lebanese27-Nov-05 20:21 
GeneralRe: user instance login flag Pin
enjoycrack27-Nov-05 20:35
enjoycrack27-Nov-05 20:35 
GeneralRe: user instance login flag Pin
Lebanese27-Nov-05 22:42
Lebanese27-Nov-05 22:42 
QuestionReporting Services Pin
mipooo24-Nov-05 22:01
mipooo24-Nov-05 22:01 
QuestionA Slightly Different Master Detail Problem Pin
TofuBug2424-Nov-05 20:20
TofuBug2424-Nov-05 20:20 
Questionusing the osql command Pin
dundealing24-Nov-05 8:40
dundealing24-Nov-05 8:40 
AnswerRe: using the osql command Pin
Rob Graham24-Nov-05 15:16
Rob Graham24-Nov-05 15: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.