Integrating Business Collection, Datasets with reporting services
What are the best practices and implementation solutions for integrating your Business logic classes with Microsoft Reporting services? ...
What are the best practices and implementation solutions for integrating your Business logic classes with Microsoft Reporting services? ...
I'm about to start a new .net web project. Previsouly for my n-layer web apps i've used the "Microsoft Data Access Application Block" (sqlhelper.cs) for the data access, then an interface class to interface with the object classes. I'm aware this technique is a bit dated and was looking to use something a little more with the times. I'...
How do I raise an event from a user control that was created dynamically? Here's the code that I'm trying where Bind is a public EventHandler protected indDemographics IndDemographics; protected UserControl uc; override protected void OnInit(EventArgs e) { uc = (UserControl)LoadControl("indDemographics.ascx"); IndDemographics.B...
I noticed that there is one change about ASP.NET Routing. I cannot understand why such change. In ASP.NET MVC Preview, the routing setting in Global.ascx is like "[controller]/[action]/[id]". Now, it is changed to be "{controller}/{action}/{id}". Why change [] to {} ? Is there some necessity to do that? ...
Hi folks, I'm trying to connect my stock standard, default ASP.NET MVC (web) application to the Vista IIS7 localhost web server instead of using Cassini. I'm trying to find some steps to set this up, etc. I've installed Vista IIS7 and of course MVC beta, VS2008 & Sp1. Lastly, i'm hoping to also have multiple solutions use the Vista I...
I'm having a problem getting access to a database which lives on a remote server. I have a ASP.NET 2.0 webpage that is trying to connect to a database. The database is accessed via a virtual folder (which I set up in IIS). The virtual folder points at a remote share which contains the database. The virtual folder (in the web apps ...
My colleague here argues that new programmers must learn ASP first, before they learn ASP.Net. I seem to agree with him as most new programmers who start with ASP.Net do not understand web get, post and state management :( Which is best to learn web programming Classic ASP or ASP.Net? ...
How do you implement the search capabilities of Lucene.net in asp.net? If possible, please include links or example code. ...
the web layer is coded in asp.net with pages marked as async. Yes, the recommended way to code for aync is using the RegisterAsyncTask I have a problem now - there are a few pages that have used AutoResetEvent and ManualResetEvent for aync and not the standard RegisterAsyncTask. Would these objects servicing the async calls, use up th...
I want to do preliminary check if entered string looks like Vehicle Identification Number (VIN). I know what it consists of 17 letters and digits, but letters I, O and Q are not allowed inside VIN, so I use this regular expression: ^[0-9A-Z-[IOQ]]{17}$ Now if I check a string like 1G1FP22PXS2100001 with RegularExpressionValidator it f...
I am unable to generate an excel in an Atlas Update Panel. (Since a response cannot be ended/written [XML] in the update panel) I don't want to use asp:updatepanel .. Is there any other way? Any correct answer will be highly appreciated... Thanks in advance ...
I have a problem and i would like to learn the correct way to solve this. I have a Data Objeckt class LinkHolder { public string Text; public string Link; } I would like to present to the user a RadioButton list that uses the LinkHolder.Text value as descriptive text. Then on the postback, i would like to do a Server.Trans...
We have enableviewstate property for all the server controls in ASP.net. We know that its going to have the member datas and values in viewstate across postbacks What is the actual example for this? ...
I am looking for a .net templating engine - something simple, lightweight, stable with not too many dependencies. All I need it for at the moment is creating templated plain text and html emails. Can anyone give me a good recommendation? If it helps at all - something like Java's Freemarker or Velocity libraries. [UPDATE] Thanks for ...
Hi all, sorry for the duplication, I'm really stuck on this. I posted this before and someone did try to help, but I wasn't signed in at the time and I can't seem to find it now... I've cached a value using the ASP.NET Cache, with the following code: Cache.Insert("TEST_VALUE", 150, null, Cache.NoAbsoluteExpiration, TimeSpan.FromSeconds...
Hi I'm using System.Net.Mail to send some HTML formatted emails. What is the correct method for inserting css into the email message? I know I can apply formatting to each item, but I'ld rather use style sheets.. EDIT I should have mentioned that this is for an internal application, and I expect 99% of users to be using Outlook or oth...
A few months ago, I have programmed an ASP.NET GridView with a custom "Delete" LinkButton and Client-Side JavaScript Confirmation according to this msdn article: http://msdn.microsoft.com/en-us/library/bb428868.aspx (published in April 2007) or e.g. http://stackoverflow.com/questions/218733/javascript-before-aspbuttonfield-click The c...
Is it a best practice to use SP (store Proc) for every single SQL call in .NET applications? Is it encouraged for performance reasons and to reduce surface area for SQL injection attacks (in web applications)? ...
I need to be able to allow a user to enter Vietnamese text into a text box. I have been instructed to use VNI-Times and provided a sample word document with Vietnamese text. When I paste the text from the sample document into the textbox it is encoded incorrectly. I have tried installing the font (VNI-Times) on both my machine and the ...
I want to use jQuery with a GridView which contains textboxes, but I'm stuck on how to get event listeners registered for every textbox on the selected row. I was thinking I could do something with a StingBuilder in the Unload event of the GridView but I can't get it working. ...