Click here to Skip to main content
15,885,365 members
Home / Discussions / C#
   

C#

 
AnswerRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Smart Arab2-Oct-12 2:45
Smart Arab2-Oct-12 2:45 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Eddy Vluggen2-Oct-12 3:24
professionalEddy Vluggen2-Oct-12 3:24 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh2-Oct-12 6:52
Kay Pee Singh2-Oct-12 6:52 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Eddy Vluggen2-Oct-12 8:06
professionalEddy Vluggen2-Oct-12 8:06 
Generalcan u tell me where is the error in this code so i can change .....?? Pin
Kay Pee Singh2-Oct-12 10:08
Kay Pee Singh2-Oct-12 10:08 
AnswerRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Eddy Vluggen2-Oct-12 3:25
professionalEddy Vluggen2-Oct-12 3:25 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh2-Oct-12 6:51
Kay Pee Singh2-Oct-12 6:51 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Pete O'Hanlon2-Oct-12 7:34
mvePete O'Hanlon2-Oct-12 7:34 
Right, the problem seems fairly straightforward. Basically, you are attempting to do an insert into the registration table without specifying the columns that will be inserted into. Now, the fact that you have a select in there for the scope_identity tells me that you have an identity column on that table - in other words, you have a column mismatch between what's in the table, and what you are inserting. To resolve this, all you need to do is explicitly define the columns you are inserting into in the insert statement.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh2-Oct-12 9:52
Kay Pee Singh2-Oct-12 9:52 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh2-Oct-12 10:02
Kay Pee Singh2-Oct-12 10:02 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Pete O'Hanlon2-Oct-12 10:24
mvePete O'Hanlon2-Oct-12 10:24 
Generalhow can i check my entered value is going to SQL server or not ???? Pin
Kay Pee Singh2-Oct-12 10:56
Kay Pee Singh2-Oct-12 10:56 
GeneralRe: how can i check my entered value is going to SQL server or not ???? Pin
Pete O'Hanlon2-Oct-12 11:16
mvePete O'Hanlon2-Oct-12 11:16 
GeneralRe: how can i check my entered value is going to SQL server or not ???? Pin
Kay Pee Singh2-Oct-12 11:27
Kay Pee Singh2-Oct-12 11:27 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh2-Oct-12 11:16
Kay Pee Singh2-Oct-12 11:16 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Pete O'Hanlon3-Oct-12 0:15
mvePete O'Hanlon3-Oct-12 0:15 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh3-Oct-12 4:55
Kay Pee Singh3-Oct-12 4:55 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Pete O'Hanlon3-Oct-12 5:24
mvePete O'Hanlon3-Oct-12 5:24 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh3-Oct-12 7:45
Kay Pee Singh3-Oct-12 7:45 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Pete O'Hanlon3-Oct-12 8:26
mvePete O'Hanlon3-Oct-12 8:26 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh3-Oct-12 9:27
Kay Pee Singh3-Oct-12 9:27 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Pete O'Hanlon3-Oct-12 9:37
mvePete O'Hanlon3-Oct-12 9:37 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Pete O'Hanlon3-Oct-12 10:03
mvePete O'Hanlon3-Oct-12 10:03 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh3-Oct-12 10:24
Kay Pee Singh3-Oct-12 10:24 
GeneralRe: why i cant store values in database but my data is correct its not showing any error help me .....?? Pin
Kay Pee Singh3-Oct-12 10:40
Kay Pee Singh3-Oct-12 10:40 

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.