public System.string DataConnStr {get; set;}
public System.string DataConnStr {get; set;}
//build the new object DataSource myNewDataSource = new DataSource(); myNewDataSource.Name = "Donations"; myNewDataSource.DbType = Constants.DatabaseType.SqlServer; myNewDataSource.Schema = "dbo"; myNewDataSource.DataConnStr = "Server=myDBServer;Database=myDB;Uid=DBUser;Pwd=DBPassword;"; //add the new data source to the API object api.DataSources.Add(myNewDataSource);