Click here to Skip to main content
15,892,517 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am starting to work on database based on teradata .Can anyone suggest how to do dotnet and teradata connectivity or can anyone share some code
Posted
Updated 21-Feb-22 3:52am

The connection string I used in the main file.

<pre>TdConnection cn = new TdConnection();
           TdConnectionStringBuilder conStrBuilder = new TdConnectionStringBuilder();

           conStrBuilder.DataSource = "192.168.0.3";
           //conStrBuilder.Database = "Project";

           conStrBuilder.UserId = "tauqeer"; conStrBuilder.Password = "123";
           cn.ConnectionString = conStrBuilder.ConnectionString;

           cn.Open();

           Console.WriteLine("connection successfull");

//
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900