Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
GeneralRe: develop multiplayer game Pin
cdpsource8-Oct-13 21:05
cdpsource8-Oct-13 21:05 
GeneralRe: develop multiplayer game Pin
Eddy Vluggen9-Oct-13 3:04
professionalEddy Vluggen9-Oct-13 3:04 
AnswerRe: develop multiplayer game Pin
OriginalGriff8-Oct-13 8:55
mveOriginalGriff8-Oct-13 8:55 
AnswerRe: develop multiplayer game Pin
Abhinav S8-Oct-13 20:44
Abhinav S8-Oct-13 20:44 
QuestionInsert Multiple data inputs on single row Pin
ramkie7-Oct-13 21:38
ramkie7-Oct-13 21:38 
AnswerRe: Insert Multiple data inputs on single row Pin
BillWoodruff7-Oct-13 22:42
professionalBillWoodruff7-Oct-13 22:42 
AnswerRe: Insert Multiple data inputs on single row Pin
Dave Kreskowiak8-Oct-13 5:42
mveDave Kreskowiak8-Oct-13 5:42 
AnswerRe: Insert Multiple data inputs on single row Pin
techyamit78-Oct-13 20:03
techyamit78-Oct-13 20:03 
Hi Ram,

It seems that in your case you are using same textbox for multiple inserts and also your table design limits it to 4 inserts on that textbox.

Although this type of design is not recommened (as per normalization guidelines) but the

solution for your case is

1. for 1st insert you have to execute insert statement for inserting value to 1st column in a new row.
2. for other inserts like 2nd, 3rd, 4th you have to run update sql statement, and for that you would be needing some primary key from the step1, if you don't have any then add identity column to your table it will add numeric primary key.

Or

you can also store inserted values from textbox to some local list variable and then on final save button click run insert sql statement with values for all the 4 columns, hence in this only database hit is required.

Regards,
Amit
QuestionReverse GeoCoding Pin
Kevin Marois7-Oct-13 10:57
professionalKevin Marois7-Oct-13 10:57 
AnswerRe: Reverse GeoCoding Pin
Pete O'Hanlon7-Oct-13 11:27
mvePete O'Hanlon7-Oct-13 11:27 
GeneralRe: Reverse GeoCoding Pin
Kevin Marois7-Oct-13 11:45
professionalKevin Marois7-Oct-13 11:45 
GeneralRe: Reverse GeoCoding Pin
Pete O'Hanlon7-Oct-13 11:57
mvePete O'Hanlon7-Oct-13 11:57 
GeneralRe: Reverse GeoCoding Pin
Kevin Marois7-Oct-13 12:00
professionalKevin Marois7-Oct-13 12:00 
GeneralRe: Reverse GeoCoding Pin
Pete O'Hanlon7-Oct-13 12:13
mvePete O'Hanlon7-Oct-13 12:13 
GeneralRe: Reverse GeoCoding Pin
Kevin Marois7-Oct-13 12:40
professionalKevin Marois7-Oct-13 12:40 
GeneralRe: Reverse GeoCoding Pin
Pete O'Hanlon7-Oct-13 13:03
mvePete O'Hanlon7-Oct-13 13:03 
GeneralRe: Reverse GeoCoding Pin
Mycroft Holmes7-Oct-13 13:02
professionalMycroft Holmes7-Oct-13 13:02 
AnswerRe: Reverse GeoCoding Pin
Bernhard Hiller7-Oct-13 21:35
Bernhard Hiller7-Oct-13 21:35 
QuestionBAD DATA IN CLIENT SERVER APP ?! Pin
Eng Abdullah Albishri7-Oct-13 5:41
professionalEng Abdullah Albishri7-Oct-13 5:41 
AnswerRe: BAD DATA IN CLIENT SERVER APP ?! Pin
Eddy Vluggen7-Oct-13 7:07
professionalEddy Vluggen7-Oct-13 7:07 
GeneralRe: BAD DATA IN CLIENT SERVER APP ?! Pin
Eng Abdullah Albishri7-Oct-13 7:25
professionalEng Abdullah Albishri7-Oct-13 7:25 
GeneralRe: BAD DATA IN CLIENT SERVER APP ?! Pin
Eddy Vluggen8-Oct-13 0:30
professionalEddy Vluggen8-Oct-13 0:30 
AnswerRe: BAD DATA IN CLIENT SERVER APP ?! Pin
Bernhard Hiller7-Oct-13 21:37
Bernhard Hiller7-Oct-13 21:37 
GeneralRe: BAD DATA IN CLIENT SERVER APP ?! Pin
Eng Abdullah Albishri8-Oct-13 2:18
professionalEng Abdullah Albishri8-Oct-13 2:18 
QuestionSendKeys.Send instead SendKeys.SendWait Pin
M Riaz Bashir6-Oct-13 21:53
M Riaz Bashir6-Oct-13 21:53 

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.