Added Lab8.md, for full stack.
This commit is contained in:
		
							parent
							
								
									7847547baf
								
							
						
					
					
						commit
						f9ab48cea7
					
				
					 1 changed files with 20 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								DBMS/FullStack/Lab8.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								DBMS/FullStack/Lab8.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | ||||||
|  | Visual Studio + SQLPlus Integration. | ||||||
|  | 
 | ||||||
|  | Integration code: | ||||||
|  | ```cs | ||||||
|  | using System; | ||||||
|  | using System.Data.SqlClient; | ||||||
|  | 
 | ||||||
|  | class Program | ||||||
|  | { | ||||||
|  |     static void Main(string[] args) | ||||||
|  |     { | ||||||
|  |         string connectionString = "Data Source=(local);Initial Catalog=Northwind;Integrated Security=True"; | ||||||
|  |         using (SqlConnection connection = new SqlConnection(connectionString)) | ||||||
|  |         { | ||||||
|  |             connection.Open(); | ||||||
|  |             Console.WriteLine("Connection opened successfully."); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | ``` | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sherlock
						sherlock