My application has already been developed, and now we are going to change the connection string that is stored in the session object (Bcoz Distributed Database Management System (DDBMS))
The problem is here .....
In that application There are so many **ObjectDataSource** which are initialize using the .XSD file. which is associated with the TableAdapter and in which connection string the TableAdapter is assigned from the Web.Config file. How to change connection string saved in session object?
In that application There are so many **ObjectDataSource** which are
initialize using the .XSD file. which is associated with the TableAdapter and in which connection string the TableAdapter is assigned from the Web.Config file. How to change connection string saved in session object?
Thanks in advance.
XSD , ConnectionModifier Public. "", "Friend/Internal" (VB/#).
ConnectionModifier ( vs2005)! XSD ( ), .
Connection ( , ), .
, , LinqToSQL ( ).
, , "" , web.config , web.config . "", , - , . .
: . , . TableAdapter, , , .
. , . Connection , , . , , , , .
winforms, . , (clsGlobal), . , , clsGlobal.gstrConnectionString . , . tableadapter .
myTableAdapter.Connection.ConnectionString = clsGlobals.gstrConnectionString;
, .ToString() ta.Connection.ConnectionString.
.ToString()
Source: https://habr.com/ru/post/1742980/More articles:Why does this overload function not work? - c ++Refactoring PL / SQL triggers - extraction procedures - oracleHow to create a checklist - javascripthow to change input field value using jquery? - jqueryChoosing a connection string in a VB.NET application at startup - sql-serverHow to update a field in a MySQL database table by adding one query to the MySQL database - mysqlЯвляется ли "безрезультатное изменение" общим термином в контроле версий? - version-controlUNC path does not work with space - c #Internet Explorer Error - ajaxhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1742985/open-source-gis-tools&usg=ALkJrhhuXL95HrFTPKos_ukCHjPhqB0otQAll Articles