Home » Posts tagged "image"

Archive for the 'image' Tag

Resize image before upload

Markup Page <div id=”FileUpd1″ runat=”server” > Default: <asp:FileUpload ID=”ImgUpload1″ runat=”server” /> <asp:Button ID=”Btn1″ runat=”server” Text=”Submit ” CssClass=”btnSubmit” CausesValidation=”true”/> Code Behind – Click to read more… Imports System.IO Imports System.Web.UI Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Drawing Imports System.Drawing.Imaging Protected Sub Btn1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Btn1.Click ‘define variable Dim adPhotoName As String = […]

Flag image

Very often I find reason for using flag in gridview to visually present different options to a user. So, to keep them handy and retrievable whenever I need flags, I decided to upload them on the website for personal and public use. Use them free as you need them and save the time to yourself […]