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
P

Perry Holman

@Perry Holman
About
Posts
28
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • validation
    P Perry Holman

    It's a better way to use a custom validation control provided by the VS IDE.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET help

  • How to properly configure DNS and domain mapping to IP?
    P Perry Holman

    Usually, the host provider (saying the virual space provider) will give you a host management tool on his website and of course he will tell you how to set DNS via their tools too. By using the tool it is very easy to do mapping between a IP and a domain name.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET question csharp asp-net sysadmin hosting

  • Wcf vs Webservices
    P Perry Holman

    WCF's advantages: 1) Simple and easy to use; 2) Unification of existing .NET Framework communication technologies; 3) Explicit service orientation; 4) Support for cross-vendor interoperability, including reliability, security, and transactions. Of course, it can be called by the J2EE applications.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET csharp visual-studio wcf

  • connection string
    P Perry Holman

    Storing the connstring to Session is a good way so each user will hold his own connstring. Static variable is used at the Appliction level, which leads to your problem.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET help database

  • error on sending mail
    P Perry Holman

    Pls. see my answer before. http://www.codeproject.com/Messages/3011416/Re-How-to-send-Mail-through-SMTP.aspx[^]

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET help csharp html com sysadmin

  • GridView - PageIndexChanging not handled
    P Perry Holman

    You are binding the DataSource manually, so in this case you have to override the PageIndexChanging and PageIndexChanged handler. For example, protected void GridViewXXX_PageIndexChanged(object sender, EventArgs e) { this.SqlDataSourceXXX.SelectCommand = "XXX"; } protected void GridViewXXX_PageIndexChanging(object sender, GridViewPageEventArgs e) { this.GridViewXXX.PageIndex = e.NewPageIndex; }

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET help question workspace

  • "Could not load type 'pagename'" error on build in VS2008
    P Perry Holman

    If you created a newly empty project? That maybe causes the error. I suggest you create a normal project including default files like default.aspx etc. And then delete these default files and copy your files to the new project. Generally, the path of source codes is stored in the .sln file. You can open it with NotePad to check it.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET help csharp asp-net sysadmin question

  • VisualC++ LineTo() call causes high usage of resouce, causing more RAM usage - Memory Not Releasing
    P Perry Holman

    I don't think LineTo() causes high usage of resource&RAM. You are exactly doing it in wrong way. Firstly, you need to understand the callback function of a timer in VC can be re-called while previous call is not completed yet. Basically, each callback will create a thread. Secondly, I don't understand why you create a thread in the callback function, which will lead to run many threads at the same time. So i think running many threads at the same time causes your problem. If you want to update you UI, you can set a timer or a thread in your UI class which gets data and draw them on UI periodically. Meanwhile, there is another thead to prepare those drawing data.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    C / C++ / MFC c++ performance help learning

  • initial a string why this new string has strange character at begin [modified]
    P Perry Holman

    Maybe other codes bring memory error. BTW, you can use CString here.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    C / C++ / MFC c++ com debugging help tutorial

  • multiline text box width
    P Perry Holman

    Hi guy, The 'nowrap' property won't take effect on the width in % but px. You can set the width of controls in px and the same time set the 'nowrap' property to controls.

    Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

    ASP.NET design testing sales beta-testing help

  • Asp.net 2.0 dynamically writing a .html file
    P Perry Holman

    Maybe below codes can give you some inspiration! function onpreviewsomething(content) { var win_preview = window.open("", "_blank", ""); win_preview.document.open('text/html', 'replace'); win_preview.opener = null; win_preview.document.writeln(content); win_preview.document.close(); return false; }

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    ASP.NET csharp html asp-net sysadmin help

  • Asp.net ListBox Items(move to top,Move to bottom)
    P Perry Holman

    Here is a sample which moves the selected item up. You can revise to meet your need. protected void LinkButtonMoveUpProducts_Click(object sender, EventArgs e) { if (this.ListBoxProducts.SelectedIndex <= 0) { return; } int index = this.ListBoxProducts.SelectedIndex; ListItem li = this.ListBoxProducts.SelectedItem; this.ListBoxProducts.Items.Remove(li); this.ListBoxProducts.Items.Insert(index - 1, li); }

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    ASP.NET csharp asp-net tutorial

  • Changing password by email and newpassword of .NET with C# web site
    P Perry Holman

    Obviously, you have to write some codes by yourself to implement that. A general solution is: 1) A table in your DB stores the email and password of all members. 2) A form in your website has three fields: email, old password and new password. 3) After the member submits the form, you will match the email in your DB and accordingly change his password. 4) At last, you need to send a mail to the member to notify his password change. Notes: If a member forget his password and the stored format of the password is 'SHA1', he will need to answer some extra questions for security to get a newly initializing password provided by your system.

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    ASP.NET csharp question

  • How to check for duplicates before uploading.
    P Perry Holman

    Very simple! You can handle that as below: string filePath = Server.MapPath("~/folder1/example.gif"); if (File.Exists(filePath)) { //show a message to the user }

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    ASP.NET csharp help asp-net database tutorial

  • Automated Emails and SMS
    P Perry Holman

    I presume you are implementing website using asp.net/c# on the Microsoft platform: First assure the IIS your website resided in have installed SMTP Virtual Server and some necessary configuration is well done. Second when a new user registers into your website successfully, you can trigger a mailing event.

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    ASP.NET sysadmin

  • Handling a null value
    P Perry Holman

    You can handle that as below: if (dr["fieldname"] != null) { //do something }

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    ASP.NET database help question

  • Technical Design vs. Implementation vs. Testing
    P Perry Holman

    Of course, you should divide your development task into several stages: preliminary/concept design (~15%), detailed design (~15%), implementation (55%) and unit test (~15%).

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    Design and Architecture visual-studio design testing beta-testing question

  • how do i read the specific tag ?
    P Perry Holman

    You can use XPath to simplify your work. For example: XmlDataDocument xmlDoc = new XmlDataDocument(); xmlDoc.Load("yourfile.xml"); XmlNodeList xmlNodeList = xmlDoc.SelectNodes("roottag/big"); //XPath expression More detail information pls. refer to Microsoft MSDN.

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    XML / XSL question xml

  • Need assistance with automatic install application
    P Perry Holman

    Actually, Microsoft has provided a bran-new deployment way named 'Click Once' to developers. You can referrence to below hyperlink to study it: http://msdn.microsoft.com/en-us/library/t71a733d.aspx[^]

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    C# csharp help sysadmin tutorial question

  • Writing correct code
    P Perry Holman

    Obviously, the 2nd snippet is better because many temporary variables will be generated in the 1st snippet. That is, more memories are occupied and more initialization are done.

    Welcome to www.softwaretree.net! You can find many excellent audio/video converter tools there!

    C# css 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