how to convert in indian currency,price formats,currency format, showing price in laks or crores, indian currency format,.net,c#,vb.net
Archive for the ‘Uncategorized’ Category
Indian Currency Format
Posted in Uncategorized on February 27, 2009 | Leave a Comment »
Adding Items to Infragistics UltraWebListBar Dynamically.
Posted in Uncategorized on August 25, 2008 | Leave a Comment »
we can add items to ultraweblist directly if items are static is as follows.
<iglbar:UltraWebListbar ID=”UltraWebListbar1″ runat=”server” BorderWidth=”4px” Height=”350px”
ViewType=”ExplorerBar” Width=”236px” BarWidth=”100%” BorderStyle=”None” GroupSpacing=”5px”
ItemIconStyle=”SmallWithInsetText” MergeStyles=”True” HeaderClickAction=”ExpandOnClick”>
<Groups>
<iglbar:Group Text=”&nbsp;Module1″ TextAlign=”Left”>
<Labels Collapsed=”” Expanded=”” Selected=”” />
<Items>
<iglbar:Item Text=”<img src=’images/image1.gif’ alt=” height=’22px’ width=’22px’ /> Sub Module 1″ TargetUrl=”page1.aspx”>
<Labels Selected=”” />
</iglbar:Item>
<iglbar:Item Text=”<img src=’images/image2.gif’ alt=” [...]
Sending Mail without SMTP Server Details
Posted in Uncategorized on August 14, 2008 | Leave a Comment »
Hi in this post i am telling how to send a mail without using smtp server. this is possible in web application i didn,t check in windows. By using System.web.Mail namespace it is possible
code in VB.Net
Imports System.Web.Mail
Public Shared Function SendEmail(ByVal FromAddress As String, ByVal ToAddress As String, ByVal CCAddress, ByVal BccAddress, ByVal EmailSubject As String, [...]
Exporting grid to Excel
Posted in Uncategorized on August 13, 2008 | Leave a Comment »
This is to get the gridview values of your page in to microsoft excel. Recently i tried this. we can export values from gridview or DataList or any DataRenderControl. For this code is as follows..
first in aspx page put a gridview and a button to export to excel and in page load bind data to [...]
Client IP Address
Posted in Uncategorized on July 9, 2008 | 2 Comments »
when ever you want to find the IP Adress of client use one of these two Response.Write(Request.UserHostAddress) or
Response.Write(Request.ServerVariables(“LOCAL_ADDR”))
But remember one thing you have to access this web page with server address as
http://yourSyatemIP(or)Servername/projectName/page.aspx
not with localhost like
http://localhost/projectName/page.aspx
Below code is to find the Different types of server variables
Dim NameArray() As String
Dim VisitorSV As NameValueCollection
Dim I As Integer
VisitorSV = [...]
How to get the project path in .net?
Posted in Uncategorized on June 25, 2008 | Leave a Comment »
System.AppDomain.CurrentDomain.BaseDirectory
This returns the string of your project path including project name
ex: c:\Inetpub\wwwroot\mysite\