Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
AnswerRe: vochancer program PinPopular
OriginalGriff8-Jan-14 21:16
mveOriginalGriff8-Jan-14 21:16 
GeneralRe: vochancer program Pin
Rahul VB31-Jan-14 6:59
professionalRahul VB31-Jan-14 6:59 
QuestionIf else statemant Pin
manoj s sherje8-Jan-14 19:00
manoj s sherje8-Jan-14 19:00 
AnswerRe: If else statemant Pin
Wayne Gaylard8-Jan-14 19:20
professionalWayne Gaylard8-Jan-14 19:20 
AnswerRe: If else statemant Pin
Bernhard Hiller8-Jan-14 20:29
Bernhard Hiller8-Jan-14 20:29 
AnswerRe: If else statemant Pin
BillWoodruff8-Jan-14 20:35
professionalBillWoodruff8-Jan-14 20:35 
GeneralRe: If else statemant Pin
manoj s sherje8-Jan-14 22:03
manoj s sherje8-Jan-14 22:03 
GeneralRe: If else statemant Pin
OriginalGriff8-Jan-14 22:12
mveOriginalGriff8-Jan-14 22:12 
Please, if you post code here, use the "code" drop down above the entry textbox to format your code. This preserves the formatting by putting the appropriate <pre> tags round it.
Without tags:
If String.IsNullOrEmpty(txt_batchcode.Text) Then
System.Windows.MessageBox.Show("Batch Cod Field Is blank Please Select Batch")
Else
Try
cmd.Parameters.AddWithValue("@flag", flag)
cmd.Parameters.AddWithValue("@sno", txtsno.Text)
With tags:
VB
If String.IsNullOrEmpty(txt_batchcode.Text) Then
    System.Windows.MessageBox.Show("Batch Cod Field Is blank Please Select Batch")
Else
    Try
        cmd.Parameters.AddWithValue("@flag", flag)
        cmd.Parameters.AddWithValue("@sno", txtsno.Text)
Which one would you rather read?

And BTW: look at the forum headings! If you want to post VB, then use a VB forum: http://www.codeproject.com/Forums/1646/Visual-Basic.aspx[^] or QA: http://www.codeproject.com/Questions/ask.aspx[^]
Posting VB in a C# forum is like posting dog-fight adverts on a vegan site... Sigh | :sigh:
Never underestimate the power of stupid things in large numbers
--- Serious Sam

GeneralRe: If else statemant Pin
V.8-Jan-14 23:50
professionalV.8-Jan-14 23:50 
GeneralRe: If else statemant Pin
manoj s sherje13-Jan-14 18:10
manoj s sherje13-Jan-14 18:10 
AnswerRe: If else statemant Pin
CPallini8-Jan-14 21:10
mveCPallini8-Jan-14 21:10 
AnswerRe: If else statemant Pin
Rahul VB31-Jan-14 7:06
professionalRahul VB31-Jan-14 7:06 
QuestionSprite Animation and Movement in XNA Pin
incxx8-Jan-14 11:04
incxx8-Jan-14 11:04 
AnswerRe: Sprite Animation and Movement in XNA Pin
Bernhard Hiller8-Jan-14 20:34
Bernhard Hiller8-Jan-14 20:34 
GeneralRe: Sprite Animation and Movement in XNA Pin
incxx10-Jan-14 5:55
incxx10-Jan-14 5:55 
QuestionRFID read and write on sql server using c# Pin
sandsip7-Jan-14 20:50
sandsip7-Jan-14 20:50 
AnswerRe: RFID read and write on sql server using c# Pin
Peter Leow7-Jan-14 21:05
professionalPeter Leow7-Jan-14 21:05 
AnswerRe: RFID read and write on sql server using c# Pin
Eddy Vluggen7-Jan-14 22:32
professionalEddy Vluggen7-Jan-14 22:32 
AnswerRe: RFID read and write on sql server using c# Pin
Marco Bertschi7-Jan-14 23:06
protectorMarco Bertschi7-Jan-14 23:06 
GeneralRe: RFID read and write on sql server using c# Pin
Eddy Vluggen8-Jan-14 0:32
professionalEddy Vluggen8-Jan-14 0:32 
GeneralRe: RFID read and write on sql server using c# Pin
Marco Bertschi8-Jan-14 1:55
protectorMarco Bertschi8-Jan-14 1:55 
AnswerRe: RFID read and write on sql server using c# Pin
David Knechtges8-Jan-14 3:24
David Knechtges8-Jan-14 3:24 
AnswerRe: RFID read and write on sql server using c# Pin
Bernhard Hiller8-Jan-14 20:38
Bernhard Hiller8-Jan-14 20:38 
QuestionNeed help with Floor detection using depth information Pin
erdij7-Jan-14 13:11
professionalerdij7-Jan-14 13:11 
QuestionMessage Closed Pin
7-Jan-14 2:06
professionalMember 104764987-Jan-14 2:06 

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.