Feeds:
Posts
Comments

Archive for the ‘Uncategorized’ Category

Indian Currency Format

how to convert in indian currency,price formats,currency format, showing price in laks or crores, indian currency format,.net,c#,vb.net

Read Full Post »

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=”&amp;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=” [...]

Read Full Post »

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, [...]

Read Full Post »

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 [...]

Read Full Post »

Client IP Address

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 = [...]

Read Full Post »

System.AppDomain.CurrentDomain.BaseDirectory
This returns the string of your project path including project name
ex: c:\Inetpub\wwwroot\mysite\

Read Full Post »