Hello
I have the following code
public class LoggedEvent : Microsoft.Practices.EnterpriseLibrary.Logging.LogEntry
{
}
this code is exposed over a WCF.
public void LogEvent(LoggedEvent loggedEvent)
{
el.LogWriter elw =...
I have been searching all morning but nothing seems to be what I need to do.
I have a class that will create an Excel workbook. I need to have some settings set at run time; client id etc. etc. etc. I initially wrote this all in an exe but need to not give it a web-presence.
I need to keep...
I have been looking for away to retrieve all the data in a data column with out a manual loop. this is what I have come up with.
DataTable ldtDataTable = new DataTable("Data");
ldtDataTable.Columns.Add("Column1", typeof(String));
ldtDataTable.Columns.Add("Column2", typeof(String))...
I have a base "Family" class. I will derive from this class for my "Father", "Mother" and "Child" class.
I want to set the last name only once in the base class. This is my code
class Family
{
private string last_name;
public virtual string LastName { get { return last_name; } set {...
Hello I need to format int,12345678 as 1.23.45.678
What style can I use?
I have tried several and nothing is working
I do not want to have to style the string manually. I was hoping something like this would work:
string.Format("{0:#.##.##.###}", 12345678)
but it doesn't.
Thanks,
RalphTrent
Hope someone can help as this is annoying. I have been researching for hours and all the resolutions on the web about this topic have not helped me out.
I have created a mobilized version of a page by modifying the aspx page to display the data differently. I still have a normal page for...
Hello
I have a dll that is my api to a database. To access the database, I have sql files as part of that project. I currently embedd each sql file into the dll. To read it, I need to create a stream of the file and read it. Each time I make a change to the sql files, I need to recompile...
I have an ASP.net 3.5 app that will attempt to connect to an internal webpage to make sure it is accepting request.
I need to pass a user id because this process is a service and the user running the service may not have access to that page if Windows Authenication is being used.
I have the...
Hello
I have a datagrid that I want to export to an excel file when the user clicks an image button. This works great, execept when I click the button, I need to rebind the datagrid. How do I avoid that. The datagrid is already bound and display, I just want to take that and save it to a...
Hello
I have an app that list folders matching some naming critera. I saved the folder paths to a List<System.IO.DirectoryInfo> object. I allow the user to delete folders of their choosing's. When they do, I need to remove the folder from the list. Obviously its not working.
Here is my...
Hello
I have a datagridview which containts a checkbox column. I need to konw what the value is of the checkbox in order to enable or disable a button. it seems like any events I try to capture this with is too early.
id offer code, but lets just say I scrapped it all
Any help is...
Hello
I need to access a website so often to make sure it is up and available to users. (Long story short, it is a 1.1 web app running on windows 2003 and for some reason, the site keeps betting put in app pools that cause it to break). So I have a service that runs the following code:
string...
Hello
I am jsut starting out with java so please pardong any ignorence on my part.
I have create a java class that reads weatherundergrounds xml feed (using nu.xom) and then creating a seperate java applet reference this class. Using the Java Tester this all works great. But I can not get the...
Hello
I need to check the version of excel during an install. I have a console app that will look for a reg key. I added this to an install CustomAction, but not sure what to do from there. I tried googleing for help but that got me more confused.
Also, I am using the Excel object from...
Hello
I have the following situation. I have a windows service that multi threads a process. this process will then do its thing and then call a static class to write to a file. the file writing happens in an other object. In that file writer, I have the code to write call a function to...
Hello
I have a xnl document that has tags commented out. I would like to create a UI that will allow the user to remove the <!-- -->. Is there a way I can do this?
Thanks,
Ralph
Hi All the forums at Soapui are not working today so i hope you do not mind me posting my question here.
I need to create many (over 100) WSDL projects in SoapUI. Is there an automatic way I can do this or do I need to create one test at a time manually?
Thanks,
RalphTrent
Hi All
After many hours of trying to figure this out, I think I may have done it. I needed a way to save my clients UTCOffset to a cookie so I can adjust GMT time to their Local Time. This is how I accomplish it.
I have an htm page, called SetDefaults.htm, that has the following code...
hello
I have an aspx page that calls a class in a .cs file.
I need to read a cookie in the cs file. Since the cookie object lies in the System.Web.UI.Page.Request namespace, I need to pass in my current page's object to my class file
example
// in aspx
object cookieValue =...
Hello
I have been searching for this answer for a while but come up short. I have a non-dot net com object with three different versions that I would like to reference in one c# application. Each version will only go against that version's database. How do I do this? The file name is also...
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.