Hi Raj (cc to the list),
Yes, I did. I have created a Session class (provided online) but unable to connect it to the existing database. // create session Session session = new Session("localhost", 1984, "admin", "admin");
It doesn't find the localhost on my machine. I guess, I am missing something. Do I need to install SQL server first?
BaseX is the database, so there’s no need for SQL server. Did you start a BaseX server instance? Our documentation might give you more insight, see the "Getting Started" Section.
I guess, I am missing to start the BaseX server instance.
Raj
-----Original Message----- From: Christian Grün [mailto:christian.gruen@gmail.com] Sent: Tuesday, January 26, 2016 10:41 AM To: Bhander, Gurbakhash S. Bhander.Gurbakhash@epa.gov; BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Connecting database in C#
Hi Raj (cc to the list),
Yes, I did. I have created a Session class (provided online) but unable to connect it to the existing database. // create session Session session = new Session("localhost", 1984, "admin", "admin");
It doesn't find the localhost on my machine. I guess, I am missing something. Do I need to install SQL server first?
BaseX is the database, so there’s no need for SQL server. Did you start a BaseX server instance? Our documentation might give you more insight, see the "Getting Started" Section.
Hi, How can I open existing data in c# and add document in? here are the codes to create a new // create database session.Create("database", ms);??
// Open database Session.Excute????
-----Original Message----- From: Christian Grün [mailto:christian.gruen@gmail.com] Sent: Tuesday, January 26, 2016 10:41 AM To: Bhander, Gurbakhash S. Bhander.Gurbakhash@epa.gov; BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Connecting database in C#
Hi Raj (cc to the list),
Yes, I did. I have created a Session class (provided online) but unable to connect it to the existing database. // create session Session session = new Session("localhost", 1984, "admin", "admin");
It doesn't find the localhost on my machine. I guess, I am missing something. Do I need to install SQL server first?
BaseX is the database, so there’s no need for SQL server. Did you start a BaseX server instance? Our documentation might give you more insight, see the "Getting Started" Section.
Hi, How can I open existing data in c# and add document in?
1. Use XQuery to open existing data 2. Use session.add to add resources
Hope this helps; if you need more information, please help us as well by giving more hints.
here are the codes to create a new
// create database session.Create("database", ms);??
// Open database Session.Excute????
-----Original Message----- From: Christian Grün [mailto:christian.gruen@gmail.com] Sent: Tuesday, January 26, 2016 10:41 AM To: Bhander, Gurbakhash S. Bhander.Gurbakhash@epa.gov; BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Connecting database in C#
Hi Raj (cc to the list),
Yes, I did. I have created a Session class (provided online) but unable to connect it to the existing database. // create session Session session = new Session("localhost", 1984, "admin", "admin");
It doesn't find the localhost on my machine. I guess, I am missing something. Do I need to install SQL server first?
BaseX is the database, so there’s no need for SQL server. Did you start a BaseX server instance? Our documentation might give you more insight, see the "Getting Started" Section.
basex-talk@mailman.uni-konstanz.de