Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: Passing Label's Name within a Class outside of the Form Pin
yogi_bear_7915-Oct-09 7:58
yogi_bear_7915-Oct-09 7:58 
GeneralRe: Passing Label's Name within a Class outside of the Form Pin
Luc Pattyn15-Oct-09 8:24
sitebuilderLuc Pattyn15-Oct-09 8:24 
GeneralRe: Passing Label's Name within a Class outside of the Form Pin
yogi_bear_7915-Oct-09 8:44
yogi_bear_7915-Oct-09 8:44 
GeneralRe: Passing Label's Name within a Class outside of the Form Pin
Luc Pattyn15-Oct-09 9:05
sitebuilderLuc Pattyn15-Oct-09 9:05 
GeneralRe: Passing Label's Name within a Class outside of the Form Pin
yogi_bear_7915-Oct-09 10:43
yogi_bear_7915-Oct-09 10:43 
GeneralRe: Passing Label's Name within a Class outside of the Form Pin
Luc Pattyn15-Oct-09 10:55
sitebuilderLuc Pattyn15-Oct-09 10:55 
AnswerRe: Passing Label's Name within a Class outside of the Form Pin
Ravi Bhavnani15-Oct-09 5:37
professionalRavi Bhavnani15-Oct-09 5:37 
QuestionParse SQL and replace column name with another name Pin
AhmedMasum15-Oct-09 4:27
AhmedMasum15-Oct-09 4:27 
Suppose the sql is :

select empno, empname, deptname,sal from emp, dept where emp.did= dept.did


I need the following:
If the column name is empno replace it by eno,
If the table name is emp then replace it by employee,
If the table is dept then replace it by department,
if the column name is did replace it by deptid.

That means after operation my the sql should be as follows:

select eno, empname, deptname, sal from employee,department where employee.deptid=department.deptid


I will be greatfull if any body help me to complete this.

I got a parser but it only can parse the column name in select statement and table names. But I am not getting the column names in the join condition. After getting the column name or table name how can I replce those?

Suppose I got emp as table but if I replace all the emp by employee then empname is also converting to employeename which is becoming to wrong column name
AnswerRe: Parse SQL and replace column name with another name Pin
PIEBALDconsult15-Oct-09 4:56
mvePIEBALDconsult15-Oct-09 4:56 
GeneralRe: Parse SQL and replace column name with another name Pin
AhmedMasum17-Oct-09 2:37
AhmedMasum17-Oct-09 2:37 
QuestionChange color of RibbonControl Pin
yogesh_softworld12315-Oct-09 3:47
yogesh_softworld12315-Oct-09 3:47 
AnswerRe: Change color of RibbonControl Pin
Henry Minute15-Oct-09 4:56
Henry Minute15-Oct-09 4:56 
QuestionLearning ForEach... Pin
JollyMansArt15-Oct-09 3:21
JollyMansArt15-Oct-09 3:21 
AnswerRe: Learning ForEach... Pin
VanityClaw15-Oct-09 3:47
VanityClaw15-Oct-09 3:47 
GeneralRe: Learning ForEach... Pin
JollyMansArt15-Oct-09 3:53
JollyMansArt15-Oct-09 3:53 
QuestionDual running application using same database Pin
dptalt15-Oct-09 2:38
dptalt15-Oct-09 2:38 
AnswerRe: Dual running application using same database Pin
J4amieC15-Oct-09 2:44
J4amieC15-Oct-09 2:44 
AnswerRe: Dual running application using same database Pin
Not Active15-Oct-09 3:50
mentorNot Active15-Oct-09 3:50 
Questionrandom rename for files Pin
Jassim Rahma15-Oct-09 2:37
Jassim Rahma15-Oct-09 2:37 
AnswerRe: random rename for files Pin
J4amieC15-Oct-09 2:42
J4amieC15-Oct-09 2:42 
AnswerRe: random rename for files Pin
Manas Bhardwaj15-Oct-09 2:47
professionalManas Bhardwaj15-Oct-09 2:47 
GeneralRe: random rename for files Pin
Richard MacCutchan15-Oct-09 4:57
mveRichard MacCutchan15-Oct-09 4:57 
AnswerRe: random rename for files Pin
Luc Pattyn15-Oct-09 3:32
sitebuilderLuc Pattyn15-Oct-09 3:32 
Questionpdf to tiff conversion Pin
billcodes15-Oct-09 1:47
billcodes15-Oct-09 1:47 
AnswerRe: pdf to tiff conversion Pin
Pete O'Hanlon15-Oct-09 2:01
mvePete O'Hanlon15-Oct-09 2:01 

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.