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.
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.
mossformauthentication.blogspot.com
Form Authentication in MOSS: Configure Form Authentication in MOSS
http://mossformauthentication.blogspot.com/2009/09/configure-form-authentication-in-moss.html
Form Authentication in MOSS. Wednesday, September 2, 2009. Configure Form Authentication in MOSS. In SharePoint, To configure Form Based Authentication follows below steps,. Create a database in SQL for FBA Users. Add FBA User in SQL Database. Create a Web Application [Default Zone]. Extend Web Application [Internet Zone]. Configure Authentication in Central Administration. Edit web.config files of Different web applications. Alternate Access Mapping [AAM] Configuration. After providing appropriate web s...
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.
csharp4developer.blogspot.com
C# Developer Blog: Getting months between two dates
http://csharp4developer.blogspot.com/2010/02/getting-months-between-two-dates.html
Monday, February 15, 2010. Getting months between two dates. DateTime dt1 = DateTime.Parse("15-04-2010");. DateTime dt2 = DateTime.Parse("15-09-2007") ;. Int months = dt1.Month - dt2.Month;. Int years = dt1.Year - dt2.Year;. Months = years * 12;. Labels: Getting months between two dates. April 24, 2014 at 8:23 PM. Working with month views. Subscribe to: Post Comments (Atom). View my complete profile. Form Authentication in MOSS. Getting months between two dates. Simple template. Powered by Blogger.
csharp4developer.blogspot.com
C# Developer Blog: October 2009
http://csharp4developer.blogspot.com/2009_10_01_archive.html
Tuesday, October 13, 2009. Add Working Days Only to a Date (Excluding Sat and San). Private DateTime getWorkingDate(DateTime dtFrom, int nDays). Int nDirection = 1;. NDirection = -1;. Move ahead the day of week. Int nWeekday = nDays % 5;. DtFrom = dtFrom.AddDays(nDirection);. DayOfWeek.Saturday & dtFrom.DayOfWeek! NWeekday -= nDirection;. Move ahead the number of weeks. Int nDayweek = (nDays / 5) * 7;. DtFrom = dtFrom.AddDays(nDayweek);. Labels: Add Working Days Only to a Date (Excluding Sat and San.
csharp4developer.blogspot.com
C# Developer Blog: Sorting in Generic List [c#]
http://csharp4developer.blogspot.com/2009/05/sorting-in-generic-list-c.html
Monday, May 18, 2009. Sorting in Generic List [c#]. It is very easy to sort generic list when it use 'string','int' etc.Just use it's inbuilt 'sort' function. But it is little bit tricky when an object[with multiple properties] use with generic list. An Object which has more that one properties than it is difficult to sort list by its inbuilt 'sort' function.Suppose a list with some items. ListValues = new List. Please remove ' ' symbol from above line. ListItem item1 = new ListItem();.
csharp4developer.blogspot.com
C# Developer Blog: Split function with characters and string (c# string handling)
http://csharp4developer.blogspot.com/2009/04/split-function-for-characters-and.html
Friday, April 24, 2009. Split function with characters and string (c# string handling). C# provides Split function to handle string operation in efficient way. Split function is used with character and strings. Here I am showing the different ways in which split function used in programming. String objstr = “One . Two , Done , Three : Four ,Done”. Split by Character Array. String[] split1 = objstr.Split(new Char[] {',', '.', ':' });. String[] split2 = objstr.Split(',');. Split by Character Array and count.