Showing results for 
Search instead for 
Did you mean: 

Accessing company information from a ASP.NET web form

Former Member
0 Kudos


I'am trying to develop a webform which will display information from SAP B1. I 'am not going to update or modify data from my webform. How do i go about connecting to the database.

Should i use DI API or use a ODBC connection to display the data?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Vinoth Balachandran Rajaraman,

You could use DI Server for the ASP.NET web application.

Best Regards

Jane Jing

SAP Business One

Answers (2)

Answers (2)

Active Contributor
0 Kudos

Hi Vinoth,

If you only wish to read data then I'd recommend just a standard ADO.Net connection (or OLEDB or ODBC depending on what options are available in your web development platform). The DI API or DI Server are not required as you don't need to write to the database and you'll get better scalability without using them. Also, the DI Server is not free so, unless you already have this license, there would be extra licensing required.

Kind Regards,


Product and Topic Expert
Product and Topic Expert
0 Kudos


If you are using B1 2007 version. Try [B1WS|] [original link is broken] [original link is broken] [original link is broken];.

You can down load B1WS:


=>SAP Business One Web Service

Either you can search the key word "B1WS" , "DI Server" in the forum for more informaiton. Thanks.

Kind Regards