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

C#

 
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 
my program is executed properly but insert and delete query is not working . i dont know why this not working . i checked the data that is going on the SQLServer but can not inserted in the database so tell my why its not inserted in the database
my inserted query is
SQL
cmdd.CommandText = "INSERT INTO  registrationn(empname,desgination,emailid,phone,skype,address,shifttime,panel)" + " VALUES (@empname,@desgination,@emailid,@phone,@skype,@address,@shifttime,@panel)";
            cmdd.CommandType = CommandType.Text;
            cmdd.Connection = conn;
            cmdd.Parameters.Add("@empname", SqlDbType.VarChar, 150).Value = empname;
            cmdd.Parameters.Add("@desgination", SqlDbType.VarChar, 150).Value = desgination;
            cmdd.Parameters.Add("@emailid", SqlDbType.VarChar, 150).Value = emailid;
            cmdd.Parameters.Add("@phone", SqlDbType.Int).Value = Convert.ToString(phone);
            cmdd.Parameters.Add("@skype", SqlDbType.VarChar, 150).Value = skype;
            cmdd.Parameters.Add("@address", SqlDbType.VarChar, 150).Value = address;
            cmdd.Parameters.Add("@shifttime", SqlDbType.VarChar, 150).Value = Convert.ToString (shifttime);
            cmdd.Parameters.Add("@panel", SqlDbType.VarChar, 150).Value = panel;
            //SqlParameter p1 = new SqlParameter("@ret", SqlDbType.VarChar, 150);
            //p1.Direction = ParameterDirection.ReturnValue;
            cmdd.ExecuteNonQuery();

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 
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:56
mvePete O'Hanlon3-Oct-12 10:56 
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 12:57
Kay Pee Singh3-Oct-12 12:57 
Generalsir please help me i want to insert my data its very urgent so please help me Pin
Kay Pee Singh8-Oct-12 20:14
Kay Pee Singh8-Oct-12 20:14 
Questionhuffman markov of orden 1 Pin
Ramiro Madriaga1-Oct-12 4:10
Ramiro Madriaga1-Oct-12 4:10 
AnswerRe: huffman markov of orden 1 Pin
Pete O'Hanlon1-Oct-12 4:20
mvePete O'Hanlon1-Oct-12 4:20 
GeneralRe: huffman markov of orden 1 Pin
Ramiro Madriaga1-Oct-12 5:16
Ramiro Madriaga1-Oct-12 5:16 
GeneralRe: huffman markov of orden 1 Pin
Pete O'Hanlon1-Oct-12 5:23
mvePete O'Hanlon1-Oct-12 5:23 
AnswerRe: huffman markov of orden 1 Pin
DaveyM691-Oct-12 4:47
professionalDaveyM691-Oct-12 4:47 
AnswerRe: huffman markov of orden 1 Pin
BobJanova1-Oct-12 6:15
BobJanova1-Oct-12 6:15 

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.