Click here to Skip to main content
15,898,987 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: URGENT: Cannot access vars from code behind file (with code) Pin
devil8526-Jun-07 11:29
devil8526-Jun-07 11:29 
GeneralRe: URGENT: Cannot access vars from code behind file (with code) Pin
Christian Graus26-Jun-07 12:27
protectorChristian Graus26-Jun-07 12:27 
QuestionRe: URGENT: Cannot access vars from code behind file (with code) Pin
devil8526-Jun-07 12:45
devil8526-Jun-07 12:45 
AnswerRe: URGENT: Cannot access vars from code behind file (with code) Pin
devil8526-Jun-07 12:58
devil8526-Jun-07 12:58 
QuestionButtons and plaintext in DataGrid column? Pin
dwreck_stg26-Jun-07 10:47
dwreck_stg26-Jun-07 10:47 
AnswerRe: Buttons and plaintext in DataGrid column? Pin
Steve Echols26-Jun-07 17:47
Steve Echols26-Jun-07 17:47 
QuestionRegular Expression Pin
VK-Cadec26-Jun-07 10:01
VK-Cadec26-Jun-07 10:01 
AnswerRe: Regular Expression Pin
Ed.Poore26-Jun-07 10:37
Ed.Poore26-Jun-07 10:37 
((?[^\",\\r\\n]*)|\"(?([^\"]|\"\")*)\")(,|(?<rowbreak>\\r\\n|\\n|$))

Basically (...)s create a group which can be retrieved later from the results if it has a (?...) then it is simply used as grouping in the regex and is not output to the results.

Pattern 1: The 1st bracket then is looking any characters bar for a quote (") followed by a comma (,) and carriage return / line feed (\r\n).  It wants one or more of these consecutively.
Pattern 2: The 2nd bracket is looking for any characters except a quote or a two quotes, again matching zero or more of these consecutively.
Pattern 3: The 3rd bracket(s) are looking for a comma or (a carriage return, line feed or a new line or the end of the string).

So in summary it's matching Pattern 1 or a quote followed by Pattern 2 and 3.

Hope that explains it a bit, it's quite difficult to put into words, just remember that brackets act like grouping constructs like in any programming language, except here unless they have a ? following the opening parenthesis (? then the group is output into the results.



GeneralRe: Regular Expression Pin
VK-Cadec27-Jun-07 1:15
VK-Cadec27-Jun-07 1:15 
QuestionLocal Client printin using .net Pin
jeguzmanv26-Jun-07 9:01
jeguzmanv26-Jun-07 9:01 
AnswerRe: Local Client printin using .net Pin
Ed.Poore26-Jun-07 10:38
Ed.Poore26-Jun-07 10:38 
AnswerRe: Local Client printin using .net Pin
Christian Graus26-Jun-07 11:05
protectorChristian Graus26-Jun-07 11:05 
QuestionFill gridview with other form's data Pin
kjosh26-Jun-07 8:49
kjosh26-Jun-07 8:49 
AnswerRe: Fill gridview with other form's data Pin
Christian Graus26-Jun-07 11:06
protectorChristian Graus26-Jun-07 11:06 
QuestionUpdatePanel with Radio buttons Pin
cisco210326-Jun-07 7:54
cisco210326-Jun-07 7:54 
QuestionLarge Stored Proceedure Pin
oskardiazdeleon26-Jun-07 5:57
oskardiazdeleon26-Jun-07 5:57 
AnswerRe: Large Stored Proceedure Pin
Christian Graus26-Jun-07 11:12
protectorChristian Graus26-Jun-07 11:12 
QuestionHow can I get an attribute of a DropDownList item using javascript? Pin
Martin_26-Jun-07 5:40
Martin_26-Jun-07 5:40 
AnswerRe: How can I get an attribute of a DropDownList item using javascript? Pin
kubben26-Jun-07 7:49
kubben26-Jun-07 7:49 
GeneralRe: How can I get an attribute of a DropDownList item using javascript? Pin
Martin_26-Jun-07 7:54
Martin_26-Jun-07 7:54 
GeneralRe: How can I get an attribute of a DropDownList item using javascript? Pin
Martin_27-Jun-07 3:24
Martin_27-Jun-07 3:24 
GeneralRe: How can I get an attribute of a DropDownList item using javascript? Pin
kubben27-Jun-07 3:27
kubben27-Jun-07 3:27 
QuestionSending Data Pin
boyindie26-Jun-07 5:03
boyindie26-Jun-07 5:03 
AnswerRe: Sending Data Pin
Not Active26-Jun-07 5:09
mentorNot Active26-Jun-07 5:09 
AnswerRe: Sending Data Pin
Fred_Smith26-Jun-07 5:18
Fred_Smith26-Jun-07 5:18 

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.