aspfordeveloper.blogspot.com
ASP Developer: Read client side IP Address
http://aspfordeveloper.blogspot.com/2009/07/read-client-side-ip-address.html
Monday, July 20, 2009. Read client side IP Address. Server side code for ASP Classic- - - -. Ip address=Request.Servervariables("REMOTE HOST"). End server side code - - - - - - - - -. Subscribe to: Post Comments (Atom). Project Lead, HCL Technologies Ltd. Noida. View my complete profile. Read client side IP Address. C# DOT NET for Developers.
dotnetfordeveloper.blogspot.com
C# DOT NET for Developers: 2/1/10 - 3/1/10
http://dotnetfordeveloper.blogspot.com/2010_02_01_archive.html
C# DOT NET for Developers. C#, ASP.Net, WCF, WPF, Web Services, etc. Sunday, February 7, 2010. Now let's see an example of DiffGrams. The code is to reads data from Employees tables and write in an XML document in DiffGram format. Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c: Northwind.mdb". Dim sql As String = "SELECT EmployeeID, FirstName, LastName, Title FROM Employees". Dim conn As OleDbConnection = Nothing. Dim ds As DataSet = Nothing. Create and open connection.
dotnetfordeveloper.blogspot.com
C# DOT NET for Developers: Difference between Interface and Abstract Class
http://dotnetfordeveloper.blogspot.com/2011/06/difference-between-interface-and.html
C# DOT NET for Developers. C#, ASP.Net, WCF, WPF, Web Services, etc. Friday, June 3, 2011. Difference between Interface and Abstract Class. What is an Abstract Class? An abstract class is a special kind of class that cannot be instantiated. So the question is why we need a class that cannot be instantiated? What is an Interface? A class may inherit several interfaces. A class may inherit only one abstract class. An interface cannot provide any code, just the signature. If various implementations only sha...
dotnetfordeveloper.blogspot.com
C# DOT NET for Developers: 5/1/09 - 6/1/09
http://dotnetfordeveloper.blogspot.com/2009_05_01_archive.html
C# DOT NET for Developers. C#, ASP.Net, WCF, WPF, Web Services, etc. Monday, May 11, 2009. Insert data through Stored Procedure in ASP.net. Here we will insert firstname in table tbl test. Stored Procedure. Below are the steps to implement it. Step1 : Add this in web.config file. Add key="cn" value="workstation id=SQL8;packet size=4096;user id=sa;password=amit;data source=USER1;initial catalog=amit; Connection Timeout=120;". Step2 : Add with other namespaces. Using System.Data.SqlClient;. The Connection ...
aspfordeveloper.blogspot.com
ASP Developer: 04/01/2008 - 05/01/2008
http://aspfordeveloper.blogspot.com/2008_04_01_archive.html
Wednesday, April 2, 2008. How to select Duplicate Rows from a table. Select email,count(*) from finaldatabase Amit group by email having count(*) 1. Insert rows/records from one table to another table. Insert into tbl logo Info event (ImageURL link,ImageURL Show, Image Name,Image Title, Image Profile) select ImageURL link,ImageURL Show,Image Name,Image Title,Image Profile from tbl logo Info where ImageID='16'. Select two random rows from SQL server database table. Tuesday, April 1, 2008. InstantASP is an...
aspfordeveloper.blogspot.com
ASP Developer: Session Object properties in ASP
http://aspfordeveloper.blogspot.com/2009/04/session-object-in-asp-is-great-tool-for.html
Thursday, April 2, 2009. Session Object properties in ASP. The Session Object in ASP is a great tool for the modern web site. It allows you to keep information specific to each of your site's visitors. Information like username,password, etc. MySessionID = Session.SessionID. Set Session Timeout time. Session.Timeout = 240. Subscribe to: Post Comments (Atom). Project Lead, HCL Technologies Ltd. Noida. View my complete profile. Type conversion in ASP. Session Object properties in ASP.
aspfordeveloper.blogspot.com
ASP Developer: 03/01/2009 - 04/01/2009
http://aspfordeveloper.blogspot.com/2009_03_01_archive.html
Tuesday, March 17, 2009. Useful Functions in Classic ASP. 1 Mid function to trim text for specific length. For 1 to 5 letter triming. Strtext=mid("text want to trim",1,5). 2 Replace function with Syntax. Xyz=replace(Amit pal, " ", "G"). 3 Find Server name by server variables. StrServerURL = "http:/ " Request.ServerVariables("SERVER NAME"). 4 Split Fuction Syntax. Current day=split(current date,"/"). 5 Trim function for trimimg blank spaces. Rsopen sqlQuery,ObjConn,3. ASP Source Code for sending email.
dotnetfordeveloper.blogspot.com
C# DOT NET for Developers: 3/1/09 - 4/1/09
http://dotnetfordeveloper.blogspot.com/2009_03_01_archive.html
C# DOT NET for Developers. C#, ASP.Net, WCF, WPF, Web Services, etc. Tuesday, March 31, 2009. Dyanamic item addition in drop down list by using C#. Below is the syntax for dyanamic item addition in drop down list by using C#. DropDownList1.Items.Add("Item1");. DropDownList1.Items.Add("Item2");. DropDownList1.Items.Add("Item3");. Find current day, month and year by using c#. Here is the syntax to find current day, month and year by using c#.net. Showing day, month and year in text boxes- - - - - - - -.
dotnetfordeveloper.blogspot.com
C# DOT NET for Developers: 3/1/10 - 4/1/10
http://dotnetfordeveloper.blogspot.com/2010_03_01_archive.html
C# DOT NET for Developers. C#, ASP.Net, WCF, WPF, Web Services, etc. Tuesday, March 23, 2010. Using file upload control to upload the file. Drop the FileUpload control from Toolbox to a Web page. The following code adds the FileUpLoad control:. To support file upload, we need to add a Button control:. Asp:Button id="UploadBtn" Text="Upload File" OnClick="UploadBtn Click" runat="server" Width="105px". Protected void UploadBtn Click(object sender, EventArgs e). Label1.Text = "No File Uploaded.";. Nodes in ...
dotnetfordeveloper.blogspot.com
C# DOT NET for Developers: Benefits/Advantages and Drawbacks/Disadvantages of MVC Architecture/Design Pattern
http://dotnetfordeveloper.blogspot.com/2012/12/benefitsadvantages-and.html
C# DOT NET for Developers. C#, ASP.Net, WCF, WPF, Web Services, etc. Tuesday, December 4, 2012. Benefits/Advantages and Drawbacks/Disadvantages of MVC Architecture/Design Pattern. Benefits/Advantages of MVC Architecture/Design Pattern. Since MVC handles the multiple views using the same enterprise model it is easier to maintain, test and upgrade the multiple system. It will be easier to add new clients just by adding their views and controllers. This makes the application extensible and scalable. Logical...