Why o why use visual studio.net

V

Victor

I am new in visual studio.net and i find it not so usefull (maybe i'am
doing things wrong). I want to create a webapplication with datagrids
etc..but why doensnt visual studio put the connection string in
web.config file???!!!

I puts the sting and all the other values in the Web Form Designer
Generated Code of the Form. So if i make a new form i have to make a
new connection etc.. Now i have put the connection string to the db in
the web.config myself but now are all the advatages of Visual building
a webapplication gone!!! Am I doing things totaly wrong or why is this
setup this way? If is use for example Dreamweaver it pust the
connection string in the web.config.

If i want to make an editable datagrid then i have to code i manualy.
So i thing Visual Studio is not flexible at all! Maybe it's me (i hope
so ;-)) but can someone explain how to do it!

Thnx in advance
 
C

Cor

Hi Victor,

Visual studio is not a tool as Frontpage.

If is a developper tool.

It has in the current version too not so dedicated design tools, (otherwise
they would tell it that loud that they add that in the next version in my
opinion).

However for a developper is Visual.Studio Net a greath tool. Problem is that
there is not one way to do things but thousand ways which means that you are
free to do that.

I think that most real developpers would not like it if the connection
string was only usable from one place.

I have seen that some put it in a database, some put it in an XML file, some
put it in the registry, some put it in a seperate class, some put it in the
cache, etc etc.

That is in my opinion the difference with a cut and paste tool.

Just my thought,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top