Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: run sql script in C# new Pin
Pete O'Hanlon30-Nov-11 1:14
mvePete O'Hanlon30-Nov-11 1:14 
QuestionRe: run sql script in C# new Pin
jojoba201130-Nov-11 17:54
jojoba201130-Nov-11 17:54 
AnswerRe: run sql script in C# new Pin
Dave Kreskowiak1-Dec-11 4:11
mveDave Kreskowiak1-Dec-11 4:11 
AnswerRe: run sql script in C# Pin
jschell30-Nov-11 10:16
jschell30-Nov-11 10:16 
QuestionMicrosoft Interop Word Winforms issue on CITRIX Pin
spankyleo12330-Nov-11 0:00
spankyleo12330-Nov-11 0:00 
AnswerRe: Microsoft Interop Word Winforms issue on CITRIX Pin
Richard MacCutchan30-Nov-11 3:11
mveRichard MacCutchan30-Nov-11 3:11 
GeneralRe: Microsoft Interop Word Winforms issue on CITRIX Pin
spankyleo12330-Nov-11 23:12
spankyleo12330-Nov-11 23:12 
GeneralRe: Microsoft Interop Word Winforms issue on CITRIX Pin
Richard MacCutchan30-Nov-11 23:47
mveRichard MacCutchan30-Nov-11 23:47 
QuestionImport a .reg file to a remote machine's registry Pin
AndieDu29-Nov-11 19:00
AndieDu29-Nov-11 19:00 
SuggestionRe: Import a .reg file to a remote machine's registry Pin
Reiss29-Nov-11 22:20
professionalReiss29-Nov-11 22:20 
GeneralRe: Import a .reg file to a remote machine's registry Pin
AndieDu30-Nov-11 12:16
AndieDu30-Nov-11 12:16 
QuestionMulti-Connection Problem Pin
kornkimhour29-Nov-11 15:50
kornkimhour29-Nov-11 15:50 
AnswerRe: Multi-Connection Problem Pin
PIEBALDconsult29-Nov-11 17:50
mvePIEBALDconsult29-Nov-11 17:50 
Questionip iterator code challenge Pin
acecase29-Nov-11 9:41
acecase29-Nov-11 9:41 
AnswerRe: ip iterator code challenge Pin
Ian Shlasko29-Nov-11 10:04
Ian Shlasko29-Nov-11 10:04 
GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 14:16
acecase29-Nov-11 14:16 
GeneralRe: ip iterator code challenge Pin
Ian Shlasko29-Nov-11 15:04
Ian Shlasko29-Nov-11 15:04 
That's the easy part.

Either use some regular expressions, or just split the strings manually:
1) Split on commas, and parse each component individually
2) Split each component by dashes, and count from one number to the other, just like I counted from 0 to 255
3) Split by slashes, and do whatever calculation is needed for CIDR notation (Too lazy to look that up right now)

Split() and int.Parse() can handle all of that.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 15:49
acecase29-Nov-11 15:49 
GeneralRe: ip iterator code challenge Pin
Ian Shlasko29-Nov-11 16:12
Ian Shlasko29-Nov-11 16:12 
GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 16:46
acecase29-Nov-11 16:46 
GeneralRe: ip iterator code challenge Pin
Ian Shlasko29-Nov-11 17:00
Ian Shlasko29-Nov-11 17:00 
GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 17:02
acecase29-Nov-11 17:02 
GeneralRe: ip iterator code challenge Pin
acecase30-Nov-11 6:59
acecase30-Nov-11 6:59 
GeneralRe: ip iterator code challenge Pin
Ian Shlasko30-Nov-11 7:09
Ian Shlasko30-Nov-11 7:09 
AnswerRe: ip iterator code challenge Pin
BillWoodruff29-Nov-11 12:50
professionalBillWoodruff29-Nov-11 12:50 

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.