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
S

Spanky3

@Spanky3
About
Posts
49
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • split "C:\hello" "C:\h\ddd"
    S Spanky3

    char [] charArray = string.split("\"") should do the trick you should end up with 3 parts 1 = " 2 = the dir path 3 = "

    Visual Basic data-structures question

  • RangeValidation without Max
    S Spanky3

    Have u tried NOT setting the maxvalue? ie: set the min but ignore the max that should work...

    ASP.NET question

  • DropdownList problem
    S Spanky3

    in the page_load do: if(!IsPostBack) { //Load List drop down list } This means the list will only load at page load up :) and postbacks wont cause the change! Atul

    ASP.NET question help

  • Problem in response.get
    S Spanky3

    Request.QueryString["txtUser"] is what you should be using

    ASP.NET help csharp debugging

  • Image
    S Spanky3

    Within code behind use Response.WriteFile(filepath) or within the aspx <%= Response.WriteFile(filepath) %> Currently you are mixing html syntax with asp.net its like....... Mixing german with english to get a reply!

    ASP.NET csharp asp-net help

  • ASPX page does not show
    S Spanky3

    First of all estimate the time of housekeeping. Then use javascript to create some sort of visual indication which can then be used to show a rough time

    ASP.NET help question announcement

  • display user name
    S Spanky3

    Firstly what are u using for persistence ie: how do you remember your users? Cookies? DB? XML ?

    ASP.NET help

  • comparing dates
    S Spanky3

    C# DateTime sDate = DateTime.Now(); DateTime eDate = DateTime.Now(); Timespan t = eDate - sDate; if(t.toMillisecs =< 0) { //the end is before the start } Hop this helps Atul

    ASP.NET csharp javascript asp-net help

  • Create a .pdf file programmatically?
    S Spanky3

    You could use XSL:FO and apache FOP which is a complete ballache. Theres some programs out there http://www.gohtm.com/ for example.

    C# xml question

  • dynamic form programming
    S Spanky3

    sure create a template say using a table layour which contains place holders for the items which you wish to add at runtime. Depending on the circumstances add the controls you wish according to the situation. Placeholders are simply like frames which use no code and no resources they are simply spaces to put controls inside. From member to add the items you would use placeholder.add(object) something along these lines. You could as you say use XML which contains say configurations on the user types, you could then use the XML reader to load the controls in. Placeholders would be your best option as they are built for this dynamic content changing situation Atul

    C# csharp design xml question workspace

  • Secure area aspx + c#
    S Spanky3

    I've used James Coleman's[^] tutorial but its not very feasible. Obviously theres rarely any hosts who will allow files to be stored on their server. The other method was using IIS to add a map path for the file types which need authenticating again hosts rarely alter IIS for you. Anyone had exp of SSL ?

    ASP.NET csharp security help tutorial question

  • need help in access database
    S Spanky3

    are you using visual studio ?

    ASP.NET help csharp database debugging

  • Secure area aspx + c#
    S Spanky3

    Basically i would like to create a members only area where users need to be logged in to view and download files like .doc and jpgs I've used forms authentication to prevent users navigating in the members area fine. The problem is if a person uses the absolute path for a file eg: .doc or .jpg they are able to access the file fine. Any ideas on how to stop this or any articles which i can read? Cheers, Spanky:-D

    ASP.NET csharp security help tutorial question

  • DataSet and Session variables
    S Spanky3

    like the guys below say its poor when the datasets become large but for small datasets its fine. Why do you need to store this information as a session anyway? using the db will be better as its real-time.

    ASP.NET database tutorial question discussion learning

  • Resume Length
    S Spanky3

    2 Pages I've known companies to bin anything over 2 pages when many applicants apply.

    Work Issues css question career

  • How to use SortedList.Item Property
    S Spanky3

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemcollectionssortedlistclasstopic.asp[^] Hope that helps, seems pretty straight forward :-D

    C# tutorial

  • CS0654: referenced without parentheses
    S Spanky3

    paste the code if u can! or link us

    ASP.NET html help

  • ASP.NET Argument ...
    S Spanky3

    http://www.tutorial-web.com/asp.net/index.aspx[^] Security beter on ASP.NET due to its precompiled nature similiar to COM objects. Theres prob tonnes more things but its a case of googling!

    ASP.NET csharp asp-net security question

  • ASP.NET w/ Sql Server 2000
    S Spanky3

    Hey there, I would recommend using stored procedures as they would be ideal for your situation lets take the following example: Sign Up Form: 2 Tables 1- Users 2- UserInfo You would like to insert data into Users and then take the Unique ID generated and insert that into UserInfo. The traditional method is to : INSERT INTO........ twice Using a stored procedure is like storing the method on the server. From your code you call the stored procedure and simply pass it the parameters which it requires. http://webdevelopment.developersnetwork.com/Articles.asp?Article=223[^] This is an OK exmaple/tutorual on stored procedures but if you can invest i highly reccomend: http://www.amazon.co.uk/exec/obidos/ASIN/1861007418/qid%3D/026-3028095-7898815[^] Which is brilliant to get your knowledge upto scratch, it includes a very useful chapter purely on stored procedures.

    ASP.NET database csharp asp-net sql-server sysadmin

  • Uneable to stop tcp multithreaded server process
    S Spanky3

    Hi, I presume your server is using a thread which continually listens on a port by running it on a thread. Currently when you close your program down the lightweight process (the thread) continues to be executed. In the applications "closing" event you need to ensure all threads running are interrupted and cleaned up. Dont use the STOP method as it is very bad.. you could end up with part written data for the instance of the program. Theres a pretty complete guide here on threads: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchusingthreads.asp[^] Which is worth a glance, but for the quick solution do this in the closing event for the main form/application: threadinstance.Interrupt();

    C# sysadmin help 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