Getting MethodInfo of protected and public methods only?
How to get MethodInfo of protected and public methods only? Please advise. ...
How to get MethodInfo of protected and public methods only? Please advise. ...
I am designing a CMS in C# and need to decide where to save configuration settings for the site. Also considering defining my base html templates and then processing them server side to create the pages ahead of time. So what is generally faster/less overhead for the server reading an XML file or querying that same information from a l...
Hi, I have an Interop dll that was generated by Visual Studio for a third-party COM object that I am consuming in a .NET dll. I have registered both my consuming dll and the Interop dll in the GAC. I have to use the GAC because these DLLs are being used by a SharePoint 2010 workflow. When the execution gets to the point where my dll ...
I have two views 1 . Add.aspx 2. Change.aspx View Add has a TextBox named menu, where i can type data. I have a 'Add' button below the textbox which redirects to the next view 'Change' 'Change' view has a button named 'Cancel' which on click redirects back to the add page. My Question is, How can I persist data entered in the 'Menu' ...
I have month drop down and the save button , i want to disable the save button if the value from the month drop down is selected as previous month in asp.net webpage ...
Hi, I am creating a WCF service (CALLER) for Azure. The service(CALLER) calls async methods of another third party service(EXTN). The third party service calls the callback methods of another WCF service (LISTNER) hosted by me on Azure. CALLER enter the service details in the databsae with status = PENDING. In the callback service (LIS...
I have a console application that I wrote for .NET/Windows that I suddenly had the need for on my unix system. Mono has, for the most part, been hugely successful at providing this for me. There is however a small issue - The application issues many HttpWebRequests as it runs, and for a small portion of these, Mono is returning an error...
I have the following issue with handling datetime formats for a component I am developing. string value = DateTime.Now.ToString( ); // value = "8/3/2010 2:20:49 PM" How do I find out which date format value refers to --> "M/d/yyyy h:mm:ss tt" I wish to store this current datetime format during export and use the same during import. V...
I have an interesting dilemma. I currently have a DataAccess layer that has to work with multiple Domains and each one of those domains has multiple Database repositories depending on the stored procedure called. AS of right now I simply use a SWITCH statement to determine the Machine the application is running on and return the appropri...
Is the HttpWebRequest.ReadWriteTimeout a cumulative timeout (should al the read operations made on the GetResponeStream() stream fit into it), or is it a timeout for each individual read operation made on the response stream? (I am having a timeout issue, when downloading a larger file on a slow network, in 4 kbyte chunks, and I'm tryin...
hi every body.i need a component for working with every kind of databases in app. i want to access and atach to any kind of databases and bring tabals and it's fileds to my app. please help me.thanks alot. ...
I need to be able to get the URL as I see it in the browser i.e The rewritten one. For instance: If my Url was www.myurl.com/Test.html and I then used Request.Url.AbsoluteUri, the URL returned would be: www.myurl.com/Default.aspx?Action=Test I need to be able to get back the exact rewritten URL. Does anyone know how I can achieve this...
What is the importance of using XMlDataDocument with dataset. It is getting me bit confused Can some one please explain the importance of this? thanks ...
With a lot of C++ background I've got used to writing the following: const int count = ...; //some non-trivial stuff here for( int i = 0; i < count; i++ ) { ... } and I expected that the same would work fine in C#. However... byte[] buffer = new byte[4]; const int count = buffer.Length; produces error CS0133: The expression bein...
In my Silverlight application should be two or three panels with different buttons and images and i want to implement next functionality: when user clicks on one button of first panel, second panel opens in the same place and substitutes previous panel (on which user clicked). Maybe there is a better way, that few panels. Any help and id...
Is it possible to post a message to a place indicated by a user using Google Maps API ? I'm using ASP.NET/C#. ...
My current task is to develop a software for measurement and testing purposes which will communicate with various devices. Because i have to assume that there will be a high amount of data transferred from the devices that needs to be displayed in some plotting component or similar, the UI framework used should be as fast and responsive ...
Hello, I have the following code in the columns section of my GridView: <Columns> <asp:boundfield datafield="Nominal-Anual" HeaderText="Nominal anual"/> <asp:boundfield datafield="Anual" headertext="Anual" sortexpression="Anual" /> <asp:boundfield datafield="Semestral" headertext="Semestral" DataFormatString="{0:0.00...
I'm using the following code to retrieve named members from an anonymous type. Is there some way I could convert the follwing code to use a lambda expression to achieve this, or at least to allow the calling code to use a lamda, even if 'deep down' I have to use a string? private T GetAnonymousTypeMember<T>(object anonymousType, string...
Hi. I want to draw a custom line cap - a equilateral triangle with the radius r. Apparently I can't: Dim triangleSide As Single = CSng(3 * r / Math.Sqrt(3)) Dim triangleHeight As Single = CSng(3 * r / 2) path = New GraphicsPath() Dim points() As PointF = New PointF() { _ New PointF(-triangleSide / 2, 0), _ New Po...