Click here to Skip to main content
15,886,787 members
Home / Discussions / C#
   

C#

 
QuestionHelp Needed With Popup Pin
sanchit_mum0720-May-08 21:33
sanchit_mum0720-May-08 21:33 
AnswerRe: Help Needed With Popup Pin
Christian Graus20-May-08 22:02
protectorChristian Graus20-May-08 22:02 
Questionhow to select event of controls Pin
please help20-May-08 21:02
please help20-May-08 21:02 
AnswerRe: how to select event of controls Pin
Mr.Kode20-May-08 21:06
Mr.Kode20-May-08 21:06 
GeneralRe: how to select event of controls Pin
please help20-May-08 21:20
please help20-May-08 21:20 
GeneralRe: how to select event of controls Pin
Nouman Bhatti20-May-08 21:31
Nouman Bhatti20-May-08 21:31 
GeneralRe: how to select event of controls Pin
Christian Graus20-May-08 23:24
protectorChristian Graus20-May-08 23:24 
Questionproblem with SQLparameter Pin
Mr.Kode20-May-08 20:47
Mr.Kode20-May-08 20:47 
i have the following code:

SqlCommand insertcommand = new SqlCommand();
insertcommand.Connection = con; //connection to SQLserver2000
insertcommand.CommandType = CommandType.StoredProcedure;
insertcommand.CommandText = "InsertQueryoperation";

SqlParameter AwardNum = new SqlParameter("@Award_num",SqlDbType.Int);
//@Award_num SQL Variable on InsertQueryoperation procedure
AwardNum.Direction = ParameterDirection.Output;
// parameter should sent the data to DataSource

txtAward.Text=AwardNum.Value.ToString();

insertcommand.Parameters.Add(AwardNum);
insertcommand.Connection.Open();
insertcommand.ExecuteNonQuery(); //NullReferenceException Accoured here
insertcommand.Connection.Close();

what is the problem with that code?

regards
AnswerRe: problem with SQLparameter Pin
Nouman Bhatti20-May-08 21:34
Nouman Bhatti20-May-08 21:34 
QuestionConvert pdf file to image format Pin
needhi_p20-May-08 19:25
needhi_p20-May-08 19:25 
AnswerRe: Convert pdf file to image format Pin
Vikram A Punathambekar20-May-08 19:43
Vikram A Punathambekar20-May-08 19:43 
QuestionThreading problem [modified] Pin
MarkB77720-May-08 17:06
MarkB77720-May-08 17:06 
QuestionRe: Threading problem Pin
Vikram A Punathambekar20-May-08 18:35
Vikram A Punathambekar20-May-08 18:35 
AnswerRe: Threading problem Pin
MarkB77720-May-08 18:47
MarkB77720-May-08 18:47 
GeneralRe: Threading problem Pin
Vikram A Punathambekar20-May-08 18:57
Vikram A Punathambekar20-May-08 18:57 
GeneralRe: Threading problem Pin
MarkB77720-May-08 19:03
MarkB77720-May-08 19:03 
GeneralRe: Threading problem Pin
Laddie20-May-08 19:01
Laddie20-May-08 19:01 
GeneralRe: Threading problem Pin
MarkB77720-May-08 19:07
MarkB77720-May-08 19:07 
AnswerRe: Threading problem Pin
Laddie20-May-08 18:47
Laddie20-May-08 18:47 
AnswerRe: Threading problem Pin
Mike Dimmick21-May-08 6:55
Mike Dimmick21-May-08 6:55 
GeneralRe: Threading problem Pin
MarkB77721-May-08 13:50
MarkB77721-May-08 13:50 
QuestionHandling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE20-May-08 16:32
professionalDr.Walt Fair, PE20-May-08 16:32 
AnswerRe: Handling Click and DoubleClick events differently Pin
Vikram A Punathambekar20-May-08 18:40
Vikram A Punathambekar20-May-08 18:40 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 1:57
professionalDr.Walt Fair, PE21-May-08 1:57 
AnswerRe: Handling Click and DoubleClick events differently Pin
Atif Ali Bhatti20-May-08 19:30
Atif Ali Bhatti20-May-08 19:30 

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.