Geeks With Blogs
Nouman Zakir while (true) { Post.NewArticle(); } Programming
ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Read only controls are not posted back to the server. So, when you do a postback you will lose the value in a read only control. You will need to not make the control read only. Instead, you can set the ReadOnly=False on your textbox and use the following code to solve the problem. 1: protected void Page_Load(object sender, EventArgs e) 2: { 3: TextBox1.Attributes.Add("re... "readonly"); 4: } Follow my blog with Bloglovin ......

Posted On Tuesday, February 26, 2013 1:15 PM

C# Image Download
A C# class that makes it easier to download images from the web. Use the following code in your program to download image files such as JPG, GIF, PNG, etc from the internet using WebClient class. using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net; public class DownloadImage { private string imageUrl; private Bitmap bitmap; public DownloadImage(string imageUrl) { this.imageUrl = imageUrl; } public void Download() { try { WebClient client = new WebClient(); ......

Posted On Thursday, March 11, 2010 2:27 PM

Copyright © Nouman Zakir | Powered by: