Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
GeneralRe: Detect Hyper-Threaded Cores Pin
Nicolas Légaré9-Oct-13 10:21
Nicolas Légaré9-Oct-13 10:21 
QuestionSimples Snaplines code Pin
Spessotto8-Oct-13 5:05
Spessotto8-Oct-13 5:05 
AnswerRe: Simples Snaplines code Pin
Ron Beyer8-Oct-13 5:52
professionalRon Beyer8-Oct-13 5:52 
GeneralRe: Simples Snaplines code Pin
Spessotto8-Oct-13 6:27
Spessotto8-Oct-13 6:27 
GeneralRe: Simples Snaplines code Pin
Ron Beyer8-Oct-13 7:11
professionalRon Beyer8-Oct-13 7:11 
GeneralRe: Simples Snaplines code Pin
Spessotto8-Oct-13 9:21
Spessotto8-Oct-13 9:21 
GeneralRe: Simples Snaplines code Pin
Ron Beyer8-Oct-13 9:44
professionalRon Beyer8-Oct-13 9:44 
Questiondevelop multiplayer game Pin
cdpsource8-Oct-13 2:33
cdpsource8-Oct-13 2:33 
AnswerRe: develop multiplayer game Pin
Eddy Vluggen8-Oct-13 5:00
professionalEddy Vluggen8-Oct-13 5:00 
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 

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.