Hi All,
I am using asp.net 3.5 with C#.
I have registered my application in google analytics and it is successfully showing my statics. But I want to integrate that statics into my website, is their any way I can do it.
Thanks in advance
Can someone please direct me on how to do this type of setup, i.e. I have a Windows Server with ASP.NET pages and would like to pass those credentials using Integrated Windows Authentication to a Linux-based Oracle DB.
One of the downsides of web.config/app.config is that it's just Magic Strings everywhere, since it's just an XML file.
Interpreted languages like PHP or Ruby have the advantage that the configuration is just code that is executed. In .net, doing stuff in code requires a redeployment, which defeats the purpose.
Now, before I build my own web.config replacement based on Boo or PowerShell I wanted to know if there is an existing one?
I want to be able to find the old value of a asp.net control (textbox, checkbox etc) without relying on events (e.g. OnTextChange event). Something like "someTextboxControl.OldText" would be perfect! I imagine that it is stored in the viewstate and need to somehow get at it via a custom control. Any ideas?
I would like to execute a stored proc that simply updates a record. At this point I would like to keep it parameter less. But in future, I will be adding parameters to the stored proc. Can I simply do it via SQLDataSource? It will save me writing few lines of code to execute stored proc in a traditional ado.net. If its possible, could you please supply me with a sample code?
Thanks
What happen if web.config gets updated while ASP (ASP.NET 2.0) server still process client request?
- Will the process be killed?
- If not, will the process read the updates in web.config.
thanks for any input
Hi,
If i have two aspx pages in each of them i want to put differents silverlight contents (2 differents usercontol) what can i do?.. am i obliged to add 2 silverlight projects with my asp.net website and insert in each page an *.xap content..?
Thanks.
I've been told that using GDI+ from ASP.NET is dangerous and undefined.
Is that because there is no guarantee of a Device Context? Can someone explain?
What are some of the alternatives?
Here is the source:
http://msdn.microsoft.com/en-us/library/system.drawing.aspx
.NET 4 includes new concurrent data structures. The Bag and Dictionary collections have obvious applications but I cannot see any use for the Queue and Stack data structures. What are people using these for?
Also, I've noticed that the design based upon linked lists incurs a lot of allocation and that destroys scalability. This is surprising given that the sole purpose of these collections is multicore programming. Is this an inherent limitation or are they just badly implemented?
Hi,
I'm new to C# and .NET, ,and have been reading around about it.
I need to know why and when do I need to release resources? Doesn't the garbage collector take care of everything? When do I need to implement IDisposable, and how is it different from destructor in C++?
Also, if my program is rather small i.e. a screensaver, do I need to care about releasing resources?
Thanks.
I am building a custom CMS in ASP.NET MVC and one of the requirements is that the content has a start and end date that dictates whether or not the page appears on the site. What is the best approach to this? Should I run some sort of chron job to mark the status of the page according to its publish dates? Does anyone have any resources or advice on the matter?
when using data source=|DataDirectory|\mydb.sqlite in visual studio 2008 i can not see the tables in query builder and in dataset designer. How can i fix this?
it is a web application for .net 3.5
thanks a lot
I am trying to build a website consist of three pages but with a contact form using ASP.NET. Now that I have build the layout and all xhtml/css and some javascript and next I wan to convert it so that it's dynamic and can send email.
Do I need to convert it using Visual Studio or just rename files from .html to .aspx? and then create a form in Visual studio?...
Confused :(
Hello,
I'm on an asp.net page and I want to redirect to another page and then come back to the original page in the same spot to finish executing the original page. I heard that Server.Execute might work. My question is how can I accomplish this or can I accomplish this?
Hi All,
My application is in ASP.NET 2.0 with C#. I have a regular expression validator with the regular expression ^[0-9]*(\\,)?[0-9]?[0-9]?$, now my client don't want this validation at client side but on button click i.e. Server Side.
EX: I have to check the value of txtPrice textbox
Please let me know how can I put this regular expression validation on server side.
Thanks in advance.
In a project using .Net4 - should there be any issues referencing dlls built for older versions of .Net? We're talking 3rd Party dlls here.
I'm asking this as a general question. Specifically I have a problem referencing FluentNHibernate.dll - built with .Net3.5. It worked justed fine before I updated my project from .Net3.5 to .Net4.
I can't find any good documentation on what the concept of a Class Loader is in the .NET Framework? What is it? Where can it be found? Does anyone know?
I've an ASP.NET dropdown list and getting selected value by using the .SelectedValue. I also set this value in some cases by assigning to it. I seem to be randomly not getting this value set even when I choose the item from the drop down. Sometimes it works and sometimes it doesn't.
Ideas?
I would like to be able to display the version of the .NET framework a windows form or wpf project is targeted at and display it in the title bar of the app.
Is there a way I can do this?
Thanks
I'm writing a .NET application that will make an RPC call to a Java application (via a message queue). The data sent in both directions will be large arrays of floating-point numbers. What is the best way to serialize them to send them across the wire? I'd like something more compact than text, but architecture-independent as the server may not be an x86 machine. The Java application can be changed as needed.
I need to add this namespace to my c# file:
using System.Data;
Is there a way to automatically add this to newly created pages in c#.net?
I don't want to add this namespace to new pages.