Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

ChrisFarrugia

@ChrisFarrugia
About
Posts
37
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Visualisation of data table during debugging - function evaluation timeout
    C ChrisFarrugia

    I am developing an asp.net data driven application using VS2010. Whenever I use the debugger and try to visualise a data table i am getting a function evaluation timeout error. My application is targeted for .NET 2.0. Anyone came across this issue? Thanks and regards, Chris

    ASP.NET help csharp asp-net debugging question

  • Data Access Layer - Best design in your opinion - Object Oriented vs Efficiency
    C ChrisFarrugia

    Dear All, I have been using ASP.NET for quite a while now and this questions has been in my mind for quite a long. So let us assume that I have two classes LogAction and LogEntry. The class LogAction describes an action that is found in a log such as "Login", "Deleted a record" etc. The class LogEntry implements the actual entry that will be put in the log. This class has a LogAction as one of its entries. So far so good. Now let us move to the data access layer. Suppose that I have a DAL class for both LogAction and LogEntry. In the DAL of LogAction I implement an Add method which calls a stored procedure which enters a new record in the appropriate table and also other methods such as Get methods. Now if I want to add a LogEntry in the database I have to check whether the LogAction (which is one of its member) is already in the database. If it is not, I need to insert it. The question I have is how to implement this logic. I know that for efficiency's sake, the best way would be to implement a separate stored procedure which does all these checks and entries in one connection. But for the sake of OOP it would be better if the DAL of LogEntry consults with the DAL of LogAction to see if the LogAction is already present etc... Which in your opinion is the best way to implement such logic. I know that this is a fundumental issue in enterprise application design. Many thanks for your help! Chris

    ASP.NET database help csharp asp-net visual-studio

  • User control in seperate folder
    C ChrisFarrugia

    I am not assigning any custom namespaces. Thanks, Chris

    ASP.NET winforms question

  • User control in seperate folder
    C ChrisFarrugia

    Hi all, I am working on a website in which I have all the user controls placed in a folder called UserControls. Unfortunately these controls cannot reference the master page while other controls that are not in this folder can. Has anyone experienced this? Thanks a lot, Chris Farrugia

    ASP.NET winforms question

  • HTML Editor
    C ChrisFarrugia

    Many seem to use either free textbox or FCK editor. Regards, Chris

    ASP.NET question html

  • Best path structure for images
    C ChrisFarrugia

    Dear All, In an application that makes use of master pages , user controls and normal aspx pages, what do you think is the best type of paths to use for images to avoid problems when a particular page is moved from one folder to another for example. I guess that it would be ideal to always use a path with reference to the root of the application. is this the case? Thanks, Chris Farrugia

    ASP.NET winforms tutorial question discussion

  • Query for this pricing model
    C ChrisFarrugia

    Dear All, I am implementing a shopping where the prices of the products are structured according to the quantity taken for examle: 1 = 1 Euro 3 = 0.80Euro 5 = 0.70 Euro etc etc The database is structured as follows: quantity1 pricequantity1 quantity2 pricequantity2 quantity3 pricequantity3 etc A quantity and pricequantity can be set to 0 if no further quantity groups exist. I need a query where I pass a quantity and it gets the subtotal. Can someone help please? Thanks Chris

    Database database sales help question

  • Encrypting query string to prevent sql injection
    C ChrisFarrugia

    Dear all, From your experiences, does encrypting the query string help in preventing sql injection? Thanks a lot, Chris

    ASP.NET database help question

  • Storing html
    C ChrisFarrugia

    Dear all, what do you think is the best way to store html content for sections of the page. The options is see are either storing in database which may be the easiest by can be slow or make use of some flat file or xml file. However with xml there will be problems with parsing because of the html tags. What are your comments and suggestions? Thanks a lot, Chris

    ASP.NET html database xml json question

  • Using select or set with exec
    C ChrisFarrugia

    Dear All, I need to set the value of a variable with the result of a stored procedure. I need something on these lines: set @productCount = exec procGetCount I did not manage to get this to work. I am using Microsoft Sql Server 7 and 2000. Thanks a lot, Chris

    Database database sql-server sysadmin

  • Problem with asp.net validators .net 2.0
    C ChrisFarrugia

    Dear all, I have an asp.net web page (feedback form) that has some validators implemented in order to ensure valid data. I also have a searh textbox and button in header of the page. My problem is that when I click the search button in the header, its click event is not triggered if there are some validation issues due to the validators. Is there a method by which I can only trigger the validators when clicking a particular button in the page and not on every button. Thanks a lot, Chris

    ASP.NET csharp asp-net database beta-testing help

  • ASP:menu control question
    C ChrisFarrugia

    Dear All, I would like to implement a horizontal drop down menu in asp.net ..but would like the use the in built menu control so that I will not use javascript. However, I would like to be able to set a different style for each header in the menu. For example the home category may have a green border and some other html, the products category may have a blue border along with some html etc. What I need is to actually make a template for each of the categories. Is this possible with the build in control? Any tips that might put me on the right track? Thanks a lot, Chris

    ASP.NET question csharp javascript html asp-net

  • How to deal with multi pages in an asp.net simple CMS
    C ChrisFarrugia

    Yes exactly that is what I want. So the cms will be responsible for management of the content of the website. But apart from the normal facilities such as news adding, article updates , polls etc, I woul like the facility to allow the user to add a whole page to the website. I would like a suggestion of how this can be achieved. What approches are usually taken? Should the application store the html of the new pages created by the user in a database and then link the page with an id corresponding to the content? Any suggestions? Thanks a lot, Chris Farrugia

    ASP.NET csharp asp-net database wpf help

  • How to deal with multi pages in an asp.net simple CMS
    C ChrisFarrugia

    What I means was the facility for the user to add a new page on the website. What is the approach that cms usually take in order to accomplish this? Thanks a lot, Chris Farrugia

    ASP.NET csharp asp-net database wpf help

  • How to deal with multi pages in an asp.net simple CMS
    C ChrisFarrugia

    Dear all, I am trying to find some info on the net about a simple content management system which I would like to implement for experimentation purposes. Unfortunately i am find a lot of information on how to handle article updates, news updates, membership updates etc.., but I am not finding information about how to deal with multiple pages creation and how these multiple pages that are created dynamically by the end user are handled in the database along with templates etc... Can anyone suggest any apparoches that are normally taken in order to achieve this..or may be even suggest a good article that I may have missed. Thanks a lot for your help, Chris Farrugia

    ASP.NET csharp asp-net database wpf help

  • J2EE vs .NET
    C ChrisFarrugia

    Thank you very much for your reply and excuse me. I posted it here because my main concern was asp.net developmen vs j2ee. i will post it in the appropriate forum. Thanks a lot and excuse me once again, Chris

    ASP.NET csharp visual-studio

  • J2EE vs .NET
    C ChrisFarrugia

    Hello all, I am quite in a dilemma at the moment since i cannot find some independent reading which thoroughly describes the characteristics of j2ee vs .net. I am experienced with .net but would like to know what the j2ee platform offers since several components used are totally free. can anybody give me his/her views on the subject. Thank you very much, Chris

    ASP.NET csharp visual-studio

  • Multiple Series on a ReportViewer chart
    C ChrisFarrugia

    Thanks a lot for your reply but I think I did not manage to explain well what i meant. What I want is a way to have 4 coordinates collections each of which representing a line graph on the same axis. I hope I made myself clearer. Thanks Chris

    C# tutorial

  • Multiple Series on a ReportViewer chart
    C ChrisFarrugia

    Dear all, I have this scenario: I want to have a chart on which i plot 4 lines .. i.e. 4 line graphs. This means that somehow I have to use more than I series. Any idea on how to create an appropriate data source for this. I already have a class named coordinate which has an x value and a y value. The thing i am missing is how to put multiples of these in order to have 4 serieses. Thanks a lot, Chris

    C# tutorial

  • Package that can be used for POS
    C ChrisFarrugia

    Thank you very much for your detailed reply and i totally agree with you! So it seems there are no standards that govern pos equipments and therefore it is quite difficult to make a software compatible with the majority of them. Thanks a lot once again, Chris

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups