Click here to Skip to main content
15,891,033 members

Comments by MyJoiT (Top 11 by date)

MyJoiT 24-Jan-16 5:41am View    
Start it...
MyJoiT 29-Oct-15 4:53am View    
Yes,Thank you so much!
I test it just now.So can't reply you immediately!
It worked successfully!
Thank you so much.
I feeled embarrassed just now.Because I thought that only can accept one SOLUTION.And both Your's answer and the next floor's brother's answer are very good.I little does one think the CodeProject can accept lots of answers.
Thank you !
MyJoiT 29-Oct-15 4:42am View    
Yes,Thank you so much!
I test it just now.So can't reply you immediately!
It worked successfully!
Thank you so much.
MyJoiT 29-Oct-15 4:16am View    
Yes ,it grow aotumatically.The step is 1.
MyJoiT 29-Oct-15 4:15am View    
oh sorry.
I have a Table in DB named "UserInfo".
When a people want to register.After he write down his all infomation.And click the "OK" button.
My program can get all the infomation about he.
Finally,Excute the SQL "insert into UserInfo(x,x,x,x) values(x,x,x,x)".
I used the FUNCTION "GetSqlCommand(connection, sql, parameters).ExecuteNonQuery();"
And the connectin is a SqlConnection object,it's no problem.
I can only write these.Can't get the PK.