Click here to Skip to main content
16,006,442 members
Home / Discussions / Database
   

Database

 
GeneralADO.NET Pin
Travis D. Mathison16-Mar-02 1:53
Travis D. Mathison16-Mar-02 1:53 
QuestionWhats wrong with this code? Pin
Mazdak15-Mar-02 0:38
Mazdak15-Mar-02 0:38 
AnswerRe: Whats wrong with this code? Pin
James T. Johnson16-Mar-02 20:23
James T. Johnson16-Mar-02 20:23 
GeneralRe: Whats wrong with this code? Pin
Mazdak16-Mar-02 21:24
Mazdak16-Mar-02 21:24 
GeneralRe: Whats wrong with this code? Pin
James T. Johnson16-Mar-02 21:43
James T. Johnson16-Mar-02 21:43 
GeneralRe: Whats wrong with this code? Pin
Mazdak16-Mar-02 23:07
Mazdak16-Mar-02 23:07 
GeneralRe: Whats wrong with this code? Pin
James T. Johnson17-Mar-02 14:50
James T. Johnson17-Mar-02 14:50 
GeneralRe: Whats wrong with this code? Pin
Mazdak17-Mar-02 20:50
Mazdak17-Mar-02 20:50 
James T. Johnson wrote:
Did your SELECT statement specify fields or just *?

I specify fieldsFrown | :(


And after tracing InsertCommand it show me this:

myAdapter.InsertCommand.CommandText INSERT INTO Table2( UserName , Password ) VALUES ( ? , ? )

I use these code for inserting:
DataRow myRow=myDataSet.Tables["Table2"].NewRow();
myRow[0]=TextBox3.Text;
myRow[1]=TextBox2.Text;
myDataSet.Tables["Table2"].Rows.Add(myRow);


Then why it doesn't know the values for insertation?
Confused | :confused:

Mazy

"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here."
Wish You Were Here-Pink Floyd-1975

GeneralRe: Whats wrong with this code? Pin
James T. Johnson17-Mar-02 21:56
James T. Johnson17-Mar-02 21:56 
GeneralRe: Whats wrong with this code? Pin
Mazdak17-Mar-02 22:21
Mazdak17-Mar-02 22:21 
GeneralRe: Whats wrong with this code? Pin
James T. Johnson17-Mar-02 22:28
James T. Johnson17-Mar-02 22:28 
GeneralRe: Whats wrong with this code? Pin
Mazdak17-Mar-02 22:41
Mazdak17-Mar-02 22:41 
QuestionHow to connect to MicroSoft Access without creating a DSN in Control Panel? Pin
14-Mar-02 22:48
suss14-Mar-02 22:48 
AnswerRe: How to connect to MicroSoft Access without creating a DSN in Control Panel? Pin
Mazdak15-Mar-02 0:16
Mazdak15-Mar-02 0:16 
GeneralRe: How to connect to MicroSoft Access without creating a DSN in Control Panel? Pin
15-Mar-02 4:04
suss15-Mar-02 4:04 
GeneralADO.NET Pin
Mazdak14-Mar-02 4:31
Mazdak14-Mar-02 4:31 
GeneralRe: ADO.NET Pin
Andres Manggini16-Mar-02 16:39
Andres Manggini16-Mar-02 16:39 
GeneralRe: ADO.NET Pin
Mazdak16-Mar-02 19:59
Mazdak16-Mar-02 19:59 
GeneralRe: ADO.NET Pin
Mazdak16-Mar-02 20:40
Mazdak16-Mar-02 20:40 
GeneralRe: ADO.NET Pin
James T. Johnson16-Mar-02 21:20
James T. Johnson16-Mar-02 21:20 
GeneralRe: ADO.NET Pin
Mazdak16-Mar-02 21:30
Mazdak16-Mar-02 21:30 
GeneralRe: ADO.NET Pin
James T. Johnson16-Mar-02 21:44
James T. Johnson16-Mar-02 21:44 
GeneralRe: ADO.NET Pin
Andres Manggini17-Mar-02 3:18
Andres Manggini17-Mar-02 3:18 
GeneralI need a SQL statement.... Pin
Mazdak14-Mar-02 3:16
Mazdak14-Mar-02 3:16 
GeneralRe: I need a SQL statement.... Pin
Omer S.14-Mar-02 3:20
Omer S.14-Mar-02 3:20 

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.