473,324 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

build db-connection and get some data

hi!

how to build a connection to a mssql db and how i get some data back
with querys (with parameters) in a c#-webservice?

and have i to include something for these steps?

thx, Bernhard Millauer

PS: sorry for my poor english
Nov 18 '05 #1
5 1280
are u trying to connect to ms sql server database from web service? its the
same way to connect to db using ado.net.
are u facing any problem here?

Av.
"Bernhard Millauer" <Ma*******@gmx.at> wrote in message
news:41******@e-post.inode.at...
hi!

how to build a connection to a mssql db and how i get some data back with
querys (with parameters) in a c#-webservice?

and have i to include something for these steps?

thx, Bernhard Millauer

PS: sorry for my poor english

Nov 18 '05 #2
Bernhard Millauer <Ma*******@gmx.at> typed:
how to build a connection to a mssql db


Here you can find how your connection string should be:
http://www.connectionstrings.com/

--
Davide Vernole
MVP ASP/ASP.NET
Microsoft Certified Solution Developer
Nov 18 '05 #3
hmm...

im a developer in php and i have to build a webservice for school!

im a real newb in c#-asp and im doesnt know anything about ado.net!

can you help me?

B. Millauer

avnrao wrote:
are u trying to connect to ms sql server database from web service? its the
same way to connect to db using ado.net.
are u facing any problem here?

Av.
"Bernhard Millauer" <Ma*******@gmx.at> wrote in message
news:41******@e-post.inode.at...
hi!

how to build a connection to a mssql db and how i get some data back with
querys (with parameters) in a c#-webservice?

and have i to include something for these steps?

thx, Bernhard Millauer

PS: sorry for my poor english


Nov 18 '05 #4
Bernhard Millauer <Ma*******@gmx.at> typed:
im a developer in php and i have to build a webservice for school!
im a real newb in c#-asp and im doesnt know anything about ado.net!
can you help me?

B. Millauer


Here you can find a simple tutorial that help you to make your job:
http://samples.gotdotnet.com/QuickSt...ldtreader.aspx

For a complete set of samples in ADO.NET see here:
http://samples.gotdotnet.com/QuickSt...sOverview.aspx

--
Davide Vernole
MVP ASP/ASP.NET
Microsoft Certified Solution Developer
Nov 18 '05 #5
thank you!

thats what i need for my project!

thank you!

Davide Vernole [MVP] wrote:
Bernhard Millauer <Ma*******@gmx.at> typed:
im a developer in php and i have to build a webservice for school!
im a real newb in c#-asp and im doesnt know anything about ado.net!
can you help me?

B. Millauer

Here you can find a simple tutorial that help you to make your job:
http://samples.gotdotnet.com/QuickSt...ldtreader.aspx

For a complete set of samples in ADO.NET see here:
http://samples.gotdotnet.com/QuickSt...sOverview.aspx

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: grunar | last post by:
After some thought on what I need in a Python ORM (multiple primary keys, complex joins, case statements etc.), and after having built these libraries for other un-named languages, I decided to...
2
by: Paul M. | last post by:
Hello, I would like to maintain build control over a large Access database. Basically build N of the database would have a particular mix of object versions e.g. Build 1.1 contains tblMain (at...
2
by: Primerov | last post by:
I need to build a form used by each employee to enter the visits for each day I have built a table consisting of the following rows CallId Client CallDate CallTime Subject
4
by: carrot | last post by:
With .Net Studio, I have a solution includes some projects. I want to execute a batch file during build solution time. For example, 1'st project is builded. 2'nd project is builded. " a batch...
3
by: Eric J. Holtman | last post by:
Am I missing something obvious in the 2005 Visual Studio portion of SQL Server? I have a database design, with a bunch of tables, views, stored procedures, etc, etc. I want to store each object...
0
by: Yannick | last post by:
Hi, I'm Julien from France, We have recently install a new Web Server for my company The server is composed : - Linux RedHat RHEL4 U4 - Httpd-2.0.52-27.ent - Oracle Database 10.2.0.1
0
by: =?Utf-8?B?QmV0aA==?= | last post by:
Hi. I'm trying to provide information about compile-time options at runtime, including the build configuration. I saw in one post that if you set the DEBUG constant, you could rely on it to...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: M.-A. Lemburg | last post by:
On 2008-10-25 08:39, Akira Kitada wrote: Please post a bug report on python.org about these failures. The multiprocessing module is still fairly new and obviously needs more fine tuning for...
0
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.