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
A

APDevelop

@APDevelop
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • switchover to new version
    A APDevelop

    You just need to install the version of .NET framework along with VS version(to which you are looking to upgrade). Thereafter, you can migrate your earlier projects to the new version by some easy steps. If this does not solve this issue, then please give a detail description of your requirements.

    Regards, Amit Pal

    ASP.NET csharp help tutorial announcement

  • urgent copy image from hard Drive on local host
    A APDevelop

    As you are creating an ASP.NET application so I would suggest you to use FileUpload control to upload the said file to your server’s working directory. Here is a small example which does that: protected void UploadButton_Click(object sender, EventArgs e) { if(FileUploadControl.HasFile) { try { if(FileUploadControl.PostedFile.ContentType == "image/jpeg") { if(FileUploadControl.PostedFile.ContentLength < 102400) { string filename = Path.GetFileName(FileUploadControl.FileName); FileUploadControl.SaveAs(Server.MapPath("~/") + filename); StatusLabel.Text = "Upload status: File uploaded!"; } else StatusLabel.Text = "Upload status: The file has to be less than 100 kb!"; } else StatusLabel.Text = "Upload status: Only JPEG files are accepted!"; } catch(Exception ex) { StatusLabel.Text = "Upload status: The file could not be uploaded. The following error occured: " + ex.Message; } } }

    Regards, Amit Pal

    ASP.NET csharp asp-net help question

  • Upload File via FTP using ASP.net 1.1
    A APDevelop

    FTP in ASP.NET 1.1 is a bit cumbersome process compared to .NET 2.0 where different new classes have been added. You may view following forum post which gives an idea on how to create your own FTP client in 1.1: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=421403&SiteID=1 Also note that in order to write an ASP.NET application that allows users to transfer files to and from FTP servers, the files must make two trips. To upload files from a browser to the FTP Server would require: 1. The files to be located on the web server, because this is the FTP client. Therefore, the files must be uploaded to the web server from the browser. This is done using HTTP and not through FTP. 2. Once a file is on the web server, it can then be transferred to the FTP server using FTP communication. The crux is, you have to use HTTP as well as FTP communication for the same

    Regards, Amit Pal

    ASP.NET csharp asp-net com question

  • Framework Basics
    A APDevelop

    Hi Setram, Try learning all of these basics from MSDN itself. Here is a link from where you may start: http://msdn2.microsoft.com/hi-in/library/default.aspx Otherwise, you can search for Free Tutorials on .NET and I am sure you will get loads of information.

    Regards, Amit Pal

    .NET (Core and Framework) csharp help question

  • Cross Tab GridView
    A APDevelop

    Hello, Is there a way we can make a Cross Tab in GridView using ASP.NET 2.0. There is a simple workarund available that the SQL statement can be restructred so that it returns cross tab view however this is not something which I want. Thanks

    ASP.NET csharp asp-net database

  • List of new Features in asp.net 2005
    A APDevelop

    Hello Dharmender, ASP.NET 2.0 has lots to offer (like extensibility and simplicity) as far ASP.NET 1.1 is concerned. Here is the link for a nice article from Jon Flanders which discusses 10 new features in ASP.NET 2005 in detail: http://www.theserverside.net/tt/articles/showarticle.tss?id=WhatsNewASPNET Let me know if you are unsure about any new feature in ASP.NET 2005 Regards, Amit Pal

    ASP.NET

  • Encryption in asp.net c#
    A APDevelop

    Hello Alex, It is always good to encrypt these login details): You can implement this in different ways. Here is a small code snippet which does exactly the same thing using JavaScript: <!-- Beginning of JavaScript - function encode(text) { Ref="1923786540chikjmonpqstuvrxydahgei" Result="" for (Count=0; Count<text.length; Count++) { Char=text.substring (Count, Count+1); Num=Ref.indexOf (Char); EncodeChar=Ref.substring(Num+1, Num+2) Result += EncodeChar } document.form1.pw.value=Result } // - End of JavaScript - -->

    I have taken a look on this javascript earlier at http://www.webteacher.com/. This is a small example but it should get you started on encrypting these login details. Regards, Amit Pal

    ASP.NET

  • How to run a batch file
    A APDevelop

    Hello Vijay, Earlier I was also stuck on this issue. What I have figured out was that there were some unattended processes which are making this happen. I tried a lot however was unable to resolve this issue. There is a nice workaround available on this link: http://codebetter.com/blogs/brendan.tompkins/archive/2004/05/13/13484.aspx This workaround has always worked at my end and I hope so it will work for you also. Regards, Amit Pal

    ASP.NET
  • Login

  • Don't have an account? Register

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