Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

Converting an amount in numbers to an amount in words

Posted: Jan/18/2011   By: nikhil   Points:15   Category: .NET  - ASP.Net    Views:14   Vote Up (0)   Vote Down (0)    

Hello,

I have a form with two text boxes. In the first text box, the user enters the total amount in numbers. What i want is, as soon as the user enters this amount in numbers, the other text box should display this number in words. Is there any easy way to do it as i am a beginner.

Thanks

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Generating random numbers issues

  

Hello everyone,

  I have encountered a problem on the pageload which is if I click a button within the page it generates a new random number.  Once the page has loaded for the first time I want the variable to remain the same. However after I clicked the button it generates a new random number again.

Does anyone know how to solve this problem? Deeply appreciated.


NameSpace's / Reserved Words - Reference.vb

  

Hi all,

I'm hoping someone can shed a little light on this for me...

I have a series of libraries which are supporting an application we are in the process of reworking.  One of my business objects relates to a system, and as such is named "System" - I have corresponding data services and web services.

The problem I have run into this evening is that System, obviously an already used name in .Net is clashing with my own System object, or vice versa, even though I have my objects in their own name space and call them accordingly.

The issue seems to be focused purely around the webservice that has been created, the reference.vb is obviously auto-generated, so if I make any changes in it they'll only get over written anyway.  Where there were a couple of other minor issues with the use of an object called System I was able to just preceed the other reference with Global. (typically in the definitions above WebMethod statement.  But obviously I cant do this for the auto-generated Reference.vb files.

I know you will probably just say, rename my object to something else... and I fully understand the reason, however, in this scenario, my object relates to a "system" and as such I would prefer to remain with the name if I can, so does anyone have any ideas on how to get around the issues with the Reference.vb file?  I have 29 errors all relating to the one file because any mention of something that IS in the .Net System class is now looking within my class and obviously its not found (for example, System.Data.DataSet - if I could just enter Global. in front of that the problems would go away!

Thanks in advance for any constructive feedback :)

Regards

Rob

 


Standard View vs Datsheet View gives different numbers

  

I have a list with a lot of numbers in it.
In standard view I use grouped by and sum.  Data is loaded correctly.

I have numbers in the order of 50.000,00 until 14.000.000,00

WHen I switch over to datasheet view, all my numbers are in the area of 500.000.000.000.000,00

Is this is a regional settings bug or something?

 

also strange in datasheet view he shows the currency symbol after the number, in standard view before. 


Converting VB6 ActiveX Exe Component to VB.NET 2005

  

Hi,

We have an ActiveX Exe component developed in VB6, this will be used by many com clients.
Basically, This ActiveX Exe component contains two forms and a class module which implements an interface, so all the com clients (many clients) will use this inteface to access the methods(only 1 method) of this class.

Now, we are asked to convert this ActiveX Exe component to VB.NET 2005. HOwever as such there is no equivalent ActiveX Exe app type in VB.Net 2005. When I was exploring over the internet I found that Remoting can be used to achive this in VB.NET 2005.

Can somebody help me on how exactly this can be done in VB.NET?

And The only purpose of our ActiveX Exe component is to maintain a single instance for all the clients, so going for a Singleton class will help?

Thanks for your kind help!

- Santhosh


Many Thanks, SK

grid view pagain too much gab between page numbers

  

HI

I am having problem with gridview paging.

When page number appears  they are very far apart from each other. It is like the table wiht in the pager is dividing the space in the number of pages.


right now my grid view look like this


---------------------------------------------- grid end here

1                           2



another example.

--------------------------------------------- grid end here

1                  2               3


it should be like

--------------------------------------------- grid end here

1 2 3


I am using  IE 8 but the same problem i had wit the 7.  I am not using any template with in the pagging.


Casting to Int32 vs Converting to Int32

  

Sometimes Convert.ToInt32(object) will work and other times (Int32)object will work.  How do you know which to use? I usually try one and if it doesn't work use the other but I'm sure that's not the best approach.

Thanks 


pbm with crystal report when converting from mvc1 to mvc2

  

i convert my project from mvc1 version to mvc 2 but a problem appears with crystalreportviewer

the report is displayed but when i click on a button on the toolbar for exemple the buttons Export or print nothing happens.

 when i go to my view (design mode) and i click on crystalrepportviewer  VS2008 crashed


Converting Silverlight 4 Automation factory to Net4.0 Wpf

  

I have a Silverlight class library that converted to Wpf with no problem-except for the Automation Factory. Does anyone know where to go with this one? Here is the code-

public void PrepareCOMAutomation() 
   
{ 
       
if (installer == null) 
            installer
= AutomationFactory.CreateObject("WindowsInstaller.Installer"); 
     
} 

The existing Silverlight 4 using statement is this:

using System.Runtime.InteropServices.Automation; 

been there, left, and now I'm back

Conversion failed when converting the varchar value 'N' to data type int in an Inner Join

  

Hi gurus,

I have two tables and need to join them, but the columns of the join are of different data types (Int and varchar), the data is much the same, but one table contains some varchar data (in the join field) which is not convertible to int.

I can't add a new column there with Int data type to make the join succeed. I need the select statement to work at this situation.

 

Any ideas ??

 

thank you.


TheScorpion

Is there a way of converting RichTextBox content (image and text) to binary format ?

  

I have being trying to find articles to read or snipet to use, on how to convert a file of RicTextbox conatining mixed text and images to Binary format. Is there any body who can give suggestion ?

 

thanks


 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge