Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dewalt

    Return type from a c# method

    What you are talking about is overloading. Yes you will write a method for each return type. Then the caller can use the method they need.
  2. dewalt

    how to compare datatables ?

    The Equals method on the datatable should work for you.
  3. dewalt

    Signed Assemby - Help

    One other thing to note cporter71 is that the dll is copied to the output directory of the calling app by default. You can tell the compiler to reference the dll in the location it is in and not copy it to the output directory if you want. In the IDE look at the properties for the reference...
  4. dewalt

    convert Control to RadioButton

    The solution of casting the control to a radio button is right on the money. foreach (Control rb in gbOptions.Controls) { if (rb is RadioButton) { Console.WriteLine(( Radiobutton ) rb ).Name ); } } As for the foreach vs for loop in the .NET framework...
  5. dewalt

    Exception: System.UnauthorizedAccessException: Access to the path "C:\

    with this... "I put this in the web config" I am assuming this is an ASP.NET app. In that case the access violation is happening becuase "you" are not the one who is trying to open the file. The asp.net worker process is the one trying to open the file. You will have to grant access to the...
  6. dewalt

    Signed Assemby - Help

    cporter71, Well in asnwer to your intial quesiton about having your executable work with only and depend on your signed version of that dll, that happens at compile time. In other words when you set a reference to an assembly at compile time that assemblies version is written into the meta...
  7. dewalt

    Delegates Hint

    In the orginal question Ramo seemed to be trying to find a way to have a single method perfom many differnt types of calulations based on a flag. The first solution as Ramo thought would be a single method that is passed a flag and based on that flag performs the correct calculation. The...

Part and Inventory Search

Back
Top