Category Asp.Net 2.0

URL rewriting in

what is URL rewriting ? URL rewriting is the process of intercepting an incoming Web request and redirecting the request to a different resource. When performing URL rewriting, typically the URL being requested is checked and, based on its value, the request is redirected to a different URL.  why URL rewriting? 1) Make User […]

Crystal report with multiple sub report navigation problem in

Here I am explain the crystal report problem during the development. I want to create Main report which having three sub reports. I create that report and call that report using but I have phase navigation problem. Problem : When Clicking the “Next” navigation button while on page 1 of Report Page 2 is […]

PDF Viewer in

Here I am explaining how to create PDF Viewer in Steps: 1) create Class Library Project Here I am give name OnlinePdfViewer. Here I am using Write below code in to file. using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace OnlinePdfViewer { public class DisplayPdf : […]

Calling Web service from Flex – Part 1

Here I am Explain how to use Web Services in Flex Application. Steps: 1) First we create web service in with C#. create new Web method in Web service is GetName. [WebMethod] public string GetName(string UserName) { return "WelCome " + UserName; } My web service name is WebServices. using System; using System.Web; using […]

Convert Generic List In To DataTable

Create simple application with C#. Add new class (GenericToDataTable). using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; public class GenericToDataTable { /// <summary> /// Default Constructor /// </summary> private GenericToDataTable() { } /// <summary> /// /// </summary> /// […]

Encrypt Sections Of Web.Config File in ASP.NET 2.0

1) why the need of Encryption in Web.Config File? We know that Web.Config file hold sensitive information like (Database server name , user name,password ect). In any database related application the database is more important.  if you do not protect database related information from malicious user or hacker sometime it create a danger situation for […]

Transfer Session Variable From ASP To ASP.Net 2.0

you can transfer you asp session to session. here i give small demo for that. steps: 1) create asp page (mypage.asp) 1: 2: <%@LANGUAGE=”Vbscript” CODEPAGE=”1252″%> 3: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”&gt; 4: <html xmlns=””&gt; 5: <head> 6: <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ /> 7: <title>Untitled Document</title> 8: </head> 9: <form name=’form1′ action=’login.asp’ […]

Embedding Resources in ASP.Net 2.0

embed resources let’s start with the very basic if i tell you create the customize control (inherit the Textbox and create new Textbox MyTextBox) . in other word you  can create customize textbox with three condition 1) Upper Case : when user selected Upper Case all enter input converted into Upper Character. 2) Lower Case : when user selected […]

URL Mapping In ASP.Net 2.0

URL Mapping :           URL Mapping is a new feature introduced in ASP.NET 2.0. you can change your URL more understanding purpose Example you can generally write http://localhost/UrlMapping/Detail.aspx?Id=1 In this URL we passing a query string value when any user see this url it like some improper. you can improve this using the URL Mapping http://localhost/UrlMapping/one.aspx […]