Sahil
Fri May 14 02:05:00 CDT 2004
Hi Mike,
Well there are many answers to your question, but first to set things
straight - MSDE, is SQL Server, only a stripped down version of it.
So as long as you specify the correct connection string, you should be fine
and dandy. Now, when you are developing thru a wizard, the wizard actually
writes code in the background, that you can easily modify to instead of
hardcoding a computer name, could put in the local computername instead.
I would highly recommend reading some good discourse on .NET and ADO.NET,
because wizards do not generate optimum quality code for enterprise
applications. I'd be biased and would recommend an ADO.NET title that I am
writing due for release in November, but for the meanwhile there are a few
other good books in the market.
- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/
"Mike" <e_stuff666@hotmail.com> wrote in message
news:5r87a0deu53e85k23jj6ok35mjdool54l4@4ax.com...
> Hi all!
>
> I have installed MSDE on the development machine.
> Server Name = DevComp
>
> When using the wizard to generate the SqlConnectCommand it sets the
> server name to DevComp.
>
> Thinking ahead to when I deploy this application...
> The end user's computer will not be DevComp, it may be DaComputer (who
> knows).
>
> What is the best way of handling this?