Hello everyone,
This is my first library.
There are only three functions.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
You can also write create, update or delete queries.
You must copy MSSQL.jar, MSSQL.xml and jtds-1.2.5.jar files to your addititonal library folder.
You must add Manifest
I wish to be useful.
Note: Be carefully working with databases, responsibility for problems caused by this library is yours.
			
			This is my first library.
There are only three functions.
			
				B4X:
			
		
		
		   Dim db As MSSQL
        Dim L As List
        db = setDatabase("Server IPNUMBER (not name)","databasename","username","password")
        Try
             'select query
                  L = db.Query("select * from tablename")  '--> return rows as a LIST
                  L = db.TableList '--> return table list in database
             ' or update query   (True: If need transactional query)
                  db.ExecuteNonQuery("update tablename set fieldname = 'forexample' where key=1",True)  
        Catch
              MsgBox(LastException.Message,"Error Occured")
        End Try
.
.
.You can also write create, update or delete queries.
You must copy MSSQL.jar, MSSQL.xml and jtds-1.2.5.jar files to your addititonal library folder.
You must add Manifest
AddPermission("android.permission.INTERNET")
AddPermission("android.permission.ACCESS_NETWORK_STATE")
AddPermission("android.permission.ACCESS_NETWORK_STATE")
I wish to be useful.
Note: Be carefully working with databases, responsibility for problems caused by this library is yours.
Attachments
			
				Last edited: 
			
		
	
							 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		