You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a Class QueryTableAdapter don`t have a conection property. I can`t change programaticly a conection .
i wrote this Code to get around this inconvinience.
// SummaryTA is a generated Component for queries
using FirebirdSql.Data.FirebirdClient;
using System.Data;
namespace RNTi.App.DATA.DataSets.SummaryDSTableAdapters
{
public partial class SummaryTA
{
public FbConnection Connection
{
set
{
foreach (IDbCommand com in this.CommandCollection)
{
com.Connection = value;
}
}
}
}
}
The text was updated successfully, but these errors were encountered:
description: a Class QueryTableAdapter don`t have a conection property. I can`t change programaticly a conection .
=>
a Class QueryTableAdapter don`t have a conection property. I can`t change programaticly a conection .
i wrote this Code to get around this inconvinience.
// SummaryTA is a generated Component for queries
using FirebirdSql.Data.FirebirdClient;
using System.Data;
namespace RNTi.App.DATA.DataSets.SummaryDSTableAdapters
{
public partial class SummaryTA
{
public FbConnection Connection
{
set
{
foreach (IDbCommand com in this.CommandCollection)
{
com.Connection = value;
}
}
}
}
}
Submitted by: Antony Veretennikov (borod_)
a Class QueryTableAdapter don`t have a conection property. I can`t change programaticly a conection .
i wrote this Code to get around this inconvinience.
// SummaryTA is a generated Component for queries
using FirebirdSql.Data.FirebirdClient;
using System.Data;
namespace RNTi.App.DATA.DataSets.SummaryDSTableAdapters
{
public partial class SummaryTA
{
public FbConnection Connection
{
set
{
foreach (IDbCommand com in this.CommandCollection)
{
com.Connection = value;
}
}
}
}
}
The text was updated successfully, but these errors were encountered: