Geeks With Blogs

News

Microsoft MVP


DZone MVB


Moderator at CodeASP.NET


Quiz Master







free counters
Free counters
Added on January 19,2012


Follow Me @vmsdurano

A bit About Me



Disclaimer
The opinions expressed herein are my own personal opinions and does not represent the opinions of my employers. Nor does it represent the opinion of my dog, because I don’t have one.


Vinz' Blog (ProudMonkey) "Code, Beer and Music ~ my way of being a programmer" April 2009 Entries
Creating a Simple Registration Form in ASP.NET
This example shows how to create a very simple registration form in ASP.NET WebForms. STEP1: Creating the Database. The following are the basic steps on how to create a simple database in the Sql Server: Launch Sql Server Management Studion Express and then connect Expand the Databases folder from the Sql Server object explorer Right click on the Databases folder and select “New Database” From the pop up window, input the database name you like and click add Expand the Database folder that you have ......

Posted On Thursday, April 30, 2009 8:09 AM

FAQ: Displaying Image from Database to GridView Control
I wrote this demo because I observed that lots of people in the forum (forums.asp.net) always ask questions on how to display Image that was stored in the database to GridView control. Before reading this example, be sure that you have already know how to upload image to the database. If you are not familiar with it then I would suggest you to read my previous example about “Uploading and Storing Images to Database in ASP.NET”. In this demo, we are going to use a Handler.ashx file for fetching the ......

Posted On Friday, April 24, 2009 8:52 AM

Displaying Image to Image Control based on User Selection in ASP.NET
This example is a continuation of my previous example about “Uploading and Storing Images to Database in ASP.NET”. In this demo, I’m going to show how to display image (binary format) from database to ASP Image control and display its corresponding image information based on user selection. In this demo, we are going to use a Handler.ashx file for fetching the binary data from the database and then stream it. What is a Handler? A handler is responsible for fulfilling requests from a browser. Requests ......

Posted On Friday, April 24, 2009 3:15 AM

Uploading and Storing Images to Database in ASP.NET
This example demonstrates how to upload image using the FileUpload control and store the uploaded file in the database in binary format. STEP 1: Creating the Database. The following are the basic steps on how to create a simple database in the Sql Server: Launch Sql Server Management Studion Express and then connect Expand the Databases folder from the Sql Server object explorer Right click on the Databases folder and select “New Database” From the pop up window, input the database name you like ......

Posted On Thursday, April 23, 2009 11:13 AM

Rank 5 at the ASP.NET Community Hall of Fame
I became one of the Top Community Members and reached the 5th level at the ASP.NET Community Hall of Fame after my 1 year and 6 months of contributing through forums at the official Microsoft ASP.NET site. This has been a very rewarding experience! I can't believe that I have helped hundreds, not only hundreds but I think thousands of people already in just a short period of time. I will continue contributing to the community while gaining more knowledge about ASP.NET technologies. I will start sharing ......

Posted On Monday, April 20, 2009 1:27 AM

Ways to Clear Control values in the Page.
This example shows the different ways on how to clear control values in the page. Here are the following approaches that you can use. 1. Creating a method that would loop through the page controls and clear its values accordingly like: private void ClearControls() { foreach (Control c in Page.Controls) { if (c.GetType().ToString() == "System.Web.UI.WebControls.... { TextBox tb = (TextBox)c; if (tb != null) { tb.Text = string.Empty; } } if (c.GetType().ToString() == "System.Web.UI.WebControls.... ......

Posted On Wednesday, April 15, 2009 1:10 AM

Enhanced Custom WebPartZone with Custom Move Option Verbs in ASP.NET 2.0
This example shows the enhanced version of my previous example about Creating Custom WebPartZones with Custom verbs (Move right/ Move Left). One of the most common issues with ASPNET WebPart in ASPNET 2.0 is the drag-and-drop functionality in firefox. As you may know the drag-and-drop feature of WebParts will not work in firefox once it is placed inside an UpdatePanel control. So in this article, I will show how are we going to move certain WebParts in different zones without the drag and drop functionality ......

Posted On Tuesday, April 14, 2009 12:20 PM

C# and VB.NET Code Converter
You can use the following Free Online Code Converter below just in case you need to convert C# codes to VB.NET or vice versa. Telerik Code Converter Developer Fusion Code Converter Technorati Tags: General ......

Posted On Tuesday, April 14, 2009 10:13 AM

ASP.NET WebPart with Skins
This example demonstrates on how to apply Skins to ASP.NET WebParts. Before we begin let us first understand the concept of the skins in ASP.NET. What is a Skin file? A Skin enables us to modify any of the properties applied to the server controls in our ASP.NET page. Skins can work in conjunction with CSS files or images. To create a Theme we can use a single skin file in the Theme Folder. The skin file extension should be always .skin. For more information about ASPNET Themes and Skins then have ......

Posted On Tuesday, April 14, 2009 6:51 AM

Using Session to pass information between pages in ASP.NET
This example demonstrates the basics on how to store and retrieve data between pages using ASP.NET Session. As you may know there are lots of ways on how to pass information between pages and these includes the following: *Sessions *Querystrings *Cross-Page Posting *Cookies *Form Submit *Server.Transfer In this example, I'm going to show the basics on how to store the information in Session and retrieve the value of Session in the next page.. C# protected void Button1_Click(object sender, EventArgs ......

Posted On Tuesday, April 14, 2009 4:14 AM

Filtering Dates by Periods like (Today, Yesterday,This Week, Last Week, This Month)
This example below shows how to translate date period strings to date ranges based on the value selected from a DropDownList. ASPX: <html xmlns="http://www.w3.org/19... <head id="Head1" runat="server"> <title>Date Periods</title> </head> <body> <form id="form2" runat="server"> <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack ="true" AppendDataBoundItems="true" onselectedindexchanged="Dro... <asp:ListItem ......

Posted On Tuesday, April 14, 2009 3:52 AM

Passing and Retrieving Querystring using JavaScript in ASP.NET
This example shows on how to pass and retrieve query string values using JavaScript. Passsing QueryString to other pages with window.open JavaScript function <html xmlns="http://www.w3.org/19... <head id="Head1" runat="server"> <title>Passing Parameters between pages</title> <script type="text/javascript" language="javascript"> function PassValue() { var paramVal = "Hello ASPNET"; window.open("Default2.aspx?... + paramVal); } </script> </head> <body> ......

Posted On Tuesday, April 14, 2009 3:37 AM

Copyright © Vincent Maverick Durano | Powered by: GeeksWithBlogs.net | Join free