Click here to Skip to main content
15,918,485 members
Home / Discussions / C#
   

C#

 
QuestionRead excel with diff datatypes in one column Pin
Suman Singh18-Jun-07 1:41
professionalSuman Singh18-Jun-07 1:41 
AnswerRe: Read excel with diff datatypes in one column Pin
Jimmanuel18-Jun-07 2:48
Jimmanuel18-Jun-07 2:48 
AnswerRe: Read excel with diff datatypes in one column Pin
PIEBALDconsult18-Jun-07 8:49
mvePIEBALDconsult18-Jun-07 8:49 
AnswerRe: Read excel with diff datatypes in one column Pin
PIEBALDconsult18-Jun-07 8:59
mvePIEBALDconsult18-Jun-07 8:59 
QuestionLenghty operations Pin
Ira8418-Jun-07 1:10
Ira8418-Jun-07 1:10 
AnswerRe: Lenghty operations Pin
Stefan Prodan18-Jun-07 1:34
Stefan Prodan18-Jun-07 1:34 
AnswerRe: Lenghty operations Pin
Chintan.Desai18-Jun-07 3:28
Chintan.Desai18-Jun-07 3:28 
Questionparsing string using Regular Expression Pin
Blumen18-Jun-07 0:55
Blumen18-Jun-07 0:55 
Hi,

I'm trying to parse a database query entered into a TextBox in our webform using C#. Could someone tell me how to frame a reg expression, to extract all words between '"+, i.e.

if query is:
SELECT COL1, COL2 FROM TABLE1 WHERE COL1 = '" + str1 + "' AND COL2 = '" + str2 + "'

In the above expression, I want the values str1 and str2 in an arraylist.

Is this possible using regular expression, and is using regular expression the fastest (performance wise) way to achieve this?

Regards,
Blumen
AnswerRe: parsing string using Regular Expression Pin
Ed.Poore18-Jun-07 1:08
Ed.Poore18-Jun-07 1:08 
GeneralRe: parsing string using Regular Expression Pin
Blumen18-Jun-07 1:19
Blumen18-Jun-07 1:19 
GeneralRe: parsing string using Regular Expression Pin
Ed.Poore18-Jun-07 1:46
Ed.Poore18-Jun-07 1:46 
GeneralRe: parsing string using Regular Expression Pin
Blumen18-Jun-07 1:56
Blumen18-Jun-07 1:56 
GeneralRe: parsing string using Regular Expression Pin
Ed.Poore18-Jun-07 2:59
Ed.Poore18-Jun-07 2:59 
QuestionWindowsIdentity and related classes Pin
hamidkhan18-Jun-07 0:49
hamidkhan18-Jun-07 0:49 
QuestionRe: WindowsIdentity and related classes Pin
hamidkhan27-Jun-07 0:43
hamidkhan27-Jun-07 0:43 
QuestionExporting SQL Server 2005 Reporting Services reports to PDF Pin
khuzwayom18-Jun-07 0:19
khuzwayom18-Jun-07 0:19 
QuestionChecking for a keypress in console. Pin
jblouir18-Jun-07 0:13
jblouir18-Jun-07 0:13 
AnswerRe: Checking for a keypress in console. Pin
Nissim Salomon18-Jun-07 0:49
Nissim Salomon18-Jun-07 0:49 
GeneralRe: Checking for a keypress in console. Pin
jblouir18-Jun-07 8:50
jblouir18-Jun-07 8:50 
GeneralRe: Checking for a keypress in console. Pin
jblouir18-Jun-07 8:54
jblouir18-Jun-07 8:54 
GeneralRe: Checking for a keypress in console. [modified] Pin
jblouir18-Jun-07 9:56
jblouir18-Jun-07 9:56 
GeneralThe answer. Pin
jblouir18-Jun-07 10:19
jblouir18-Jun-07 10:19 
QuestionClose (unlock), locked File on local machine! [modified] Pin
Martin#18-Jun-07 0:10
Martin#18-Jun-07 0:10 
QuestionAlter Access Query Pin
Muhammad Faisal Khanani17-Jun-07 23:44
Muhammad Faisal Khanani17-Jun-07 23:44 
AnswerRe: Alter Access Query Pin
Muammar©17-Jun-07 23:58
Muammar©17-Jun-07 23:58 

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.