Skip to main content

Posts

Accept Attribute in Html

Accept attribute in html Specify that the server accepts only image files in the file upload < form   action= "demo_form.asp" >     < input   type= "file"   name= "pic"   accept= "image/*" >     < input   type= "submit" > < /form > Definition and Usage The accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload). Note:   The accept attribute can only be used with <input type="file">. and also use in <asp:fileupload>  Syntax <input accept=" file_extension |audio/*|video/*|image/*| media_type "> Attribute Values Value Description ...

cool site for loading image Genrate

Cool site for loading image generate 8-) http://loading.io/

How to Get a Random Row From a SQL Database?

How to Get a Random Row From a SQL Database? use this Quary select Top 5 Id from YourTable order by NEWID()   NEWID (Transact-SQL)  Applies to: SQL Server (SQL Server 2008 through current version). Creates a unique value of type uniqueidentifier. NEWID() is based on a combination of a pseudorandom number (from the clock) and the MAC address of the primary NIC. However, inserting random numbers like this as the clustered key on a table is terrible for performance. You should consider either NEWSEQUENTIALID() or a COMB-type function for generating GUIDs that still offer the collision-avoidance benefits of NEWID() while still maintaining acceptable INSERT performance.

How to get google map image of area you want

How to get google map image of area you want Hi First you need to take one image control and set it Image URL blank. after on code side set it image url as below. ImgMap.ImageUrl = "http://maps.googleapis.com/maps/api/staticmap?sensor=false&key=AIzaSyA4WZ--vZ1qILKrICJg7MdNKZyv1qkiIOw&zoom=14&size=600x512&maptype=roadmap&markers=color:red|label:A|" + "Bapunagar, Ahmedabad, Gujarat"; on Out put  You can get this image in browser. you can use this in contact us page or any searching area related forms.  Thank You for See this.