S
Simone
Hello
I am pretty new to asp.net
I have a program that loops through a few sql statements and performs
inserts.
The problem is the sql statements are different for every upcoming new
study we do but the program is pretty much the same.
I need an efficient way to store new statements as the are available
to me and use them in the program
I would have something like this.
strselecttest1 = "select * from tbltest1"
strselecttest2 = "select * from tbltest2"
Then my program would go off the value I am passing like (1,2) and
select the appropriate select statement either
strselecttest1 or strselecttest2 from this specific place, file???
Where do I store these statements? On my class/page itself or
somewhere else?
Thanks
Simone
I am pretty new to asp.net
I have a program that loops through a few sql statements and performs
inserts.
The problem is the sql statements are different for every upcoming new
study we do but the program is pretty much the same.
I need an efficient way to store new statements as the are available
to me and use them in the program
I would have something like this.
strselecttest1 = "select * from tbltest1"
strselecttest2 = "select * from tbltest2"
Then my program would go off the value I am passing like (1,2) and
select the appropriate select statement either
strselecttest1 or strselecttest2 from this specific place, file???
Where do I store these statements? On my class/page itself or
somewhere else?
Thanks
Simone