Setup:
Application: - the app references Assembly1 and 2
- App.Config - has connection strings for everything in it
- form1
- form2
Assembly1:
- class1
- class2
- dataset1
- dataset2
Assembly2:
- class1
- class2
- dataset1
I need to tell assembly 1 and 2 to use the app.config connection...
Here is my app setup I have an application "app" which has the app.config. I have added several assemblies to the project that app has a reference to. On a form in "app" I can use system.configuration.configurationmanager.... But I cannot access the same app.config from my other assemblies...
Hey guys I have been a web dev for a long time and I use the web.config to store conection strings that I use throughout the application. Now I am building a desktop app and I am trying to use app.config in the same way but when I create a new dataset it does not show any of my connection...
I have an app I am wanting to build it in as OO as possible. I have a user who can have multiple addresses. What I have done is create an address class and an addresses class. Addresses is a collection of address and it has properties like item, count, delete, ect... class address has the...
With mysql if I have a software and I distribute it to clients do I have to buy a license per client? If its not embeded and the client gets mysql themselves can my app use it without lisence? I will have to have a license for all servers I am just wondering about on the clients local side...
so really there is no way to have a db on a clients side over 2gb where they cannot access the db structure and build their own apps ect if they felt like it without sueing them... sad
This has happened and did get lawyers involved basically if you allow them access to the db and they did not break any kind of encryption they can do whatever they want with it.
1.) not my company not my call I wish...
2.) no money no job no concern...
3.) didn't stop anyone the first time...
Their are tools that allow all data to be retrieved keeping the tables hidden keeps 3rd party companies writeing reports and apps ontop of the db and selling them without permission.
They are hosting the db so they have full access to the server I cannot restrict that. I want to keep them from being able to detach them.. I think its pretty sad that you can do this. For example you all prob know that Act!, a db program that does not allow you to access the actuall db files...
I have an app that uses a sql database. There is a password on the sql database but all someone has to do is stop sql service, detach, then reatach to any server they own and tada they have full access to all the information to edit ect. Is there a way to stop this?...
Here is a query below I want to get all this information back plus some but the problem is the pictures. There can be more than 1 picture in the database. I just want to return the latest picture using pic.DateOfPicture so I dont get more than one row. I cannot use distinct because of the...
how does it work if the report needs more than 1 currently the report gets information from 5 temp tables that are created. I wanted to not create the temp tables and have it be queries that returned the information needed.
Thanks for your help
I have a DataSet xsd that has a few tableadapters I want to be able to use with crystal. The tableadapters take 3 parameters how do I tell crystal to use those queries and 1 pass prameters to crystal then have crystal use the values to query the tableadapters?
Thanks
I have a website that shows time information that needs to be based off the users timezone not the servers. I can convert server time to utc. I need a function that will allow me to send in servers time and pacific or eastern and then return the conversion. I am not able to find something...
goto web.config
<configuration>
<add name="dbConName" connectionString="Data Source=server;uid=UserID;password=Password;Initial Catalog=Table;network=DBMSSOCN" providerName="System.Data.SqlClient"/>
</configuration>
k make sure you leave providerName="System.Data.SqlClient" it allows you to...
for textbox1:
txtbox1.Attributes.Add "onblur", "Calc()")
on asp page you would have:
<script type="text/javascript" language="javascript">
function Calc()
{
var value;
var Mins;
var =...
You could check the value on databind like this:
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
'Here you can change the value that gets displayed ie if it is '1/1/1900'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.