Click here to Skip to main content
15,911,646 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCurrency format Pin
dennysoe18-Sep-05 18:37
dennysoe18-Sep-05 18:37 
GeneralRe: Currency format Pin
Gopi.V18-Sep-05 22:21
Gopi.V18-Sep-05 22:21 
GeneralRe: Currency format Pin
dennysoe19-Sep-05 16:39
dennysoe19-Sep-05 16:39 
Questioncreate strings by one giving string Pin
LyBun18-Sep-05 18:28
LyBun18-Sep-05 18:28 
AnswerRe: create strings by one giving string Pin
Steve Pullan18-Sep-05 18:46
Steve Pullan18-Sep-05 18:46 
AnswerRe: create strings by one giving string Pin
Steve Pullan19-Sep-05 17:54
Steve Pullan19-Sep-05 17:54 
AnswerRe: create strings by one giving string Pin
Steve Pullan20-Sep-05 13:07
Steve Pullan20-Sep-05 13:07 
QuestionInsert values into SQL database from webform Pin
BORN...again!18-Sep-05 15:34
BORN...again!18-Sep-05 15:34 
Hello,

I am designing an accounts webform( Crikey! ) in which I have two fields 'rate' in textbox1 and 'points' in textbox2 which are of type decimal in the first half of the webform. The user enters the values in these text boxes from the webform and on hitting a button 'calculate & display' following things should happen:

1. In textbox3 - result (type decimal) it should display the result (rate)-(points) which I have achieved Smile | :)
2. the user then enters the rest of the form and hits 'save form'. which means i have two buttons on the form,'calculate&display' and 'save'
3. On hitting save, it should save all the values on the webform into my (SQL server) database --- this is not working, it saves all of the other fields except these 3 text box values i.e. 'rate', 'points' and 'result', all that the database is saving each time is '0.00000' and '1.00000'

can someone please help me with this ... cansome give me a quickie tour of how to calculate values on webform , display the result and save the rsult in database because i need to do a lot of this in the rest of the form. I have 6 more fields which I need to compare, calculate,display and save in database !!!

I use Vb.net code but C# is welcome too.

Thanks a Zillion in advance...it is going to be big help!!!

Aartee.
...HE is watching Us All!
AnswerRe: Insert values into SQL database from webform Pin
tatchung18-Sep-05 16:09
tatchung18-Sep-05 16:09 
GeneralRe: Insert values into SQL database from webform Pin
BORN...again!18-Sep-05 16:26
BORN...again!18-Sep-05 16:26 
GeneralRe: Insert values into SQL database from webform Pin
tatchung18-Sep-05 16:47
tatchung18-Sep-05 16:47 
AnswerRe: Insert values into SQL database from webform Pin
Edbert P18-Sep-05 20:55
Edbert P18-Sep-05 20:55 
QuestionDatabinding to datagrid Pin
SLG3118-Sep-05 9:23
SLG3118-Sep-05 9:23 
AnswerRe: Databinding to datagrid Pin
KaptinKrunch18-Sep-05 17:37
KaptinKrunch18-Sep-05 17:37 
GeneralRe: Databinding to datagrid Pin
SLG3118-Sep-05 22:00
SLG3118-Sep-05 22:00 
QuestionJoystick/Gamepad Pin
Jerry___18-Sep-05 8:28
Jerry___18-Sep-05 8:28 
AnswerRe: Joystick/Gamepad Pin
Christian Graus18-Sep-05 11:05
protectorChristian Graus18-Sep-05 11:05 
GeneralRe: Joystick/Gamepad Pin
Jerry___18-Sep-05 12:05
Jerry___18-Sep-05 12:05 
GeneralRe: Joystick/Gamepad Pin
Christian Graus18-Sep-05 12:12
protectorChristian Graus18-Sep-05 12:12 
GeneralRe: Joystick/Gamepad Pin
Jerry___19-Sep-05 0:32
Jerry___19-Sep-05 0:32 
GeneralRe: Joystick/Gamepad Pin
Dave Kreskowiak19-Sep-05 1:04
mveDave Kreskowiak19-Sep-05 1:04 
GeneralRe: Joystick/Gamepad Pin
Jerry___19-Sep-05 3:06
Jerry___19-Sep-05 3:06 
GeneralRe: Joystick/Gamepad Pin
Dave Kreskowiak19-Sep-05 5:15
mveDave Kreskowiak19-Sep-05 5:15 
GeneralRe: Joystick/Gamepad Pin
Jerry___19-Sep-05 8:48
Jerry___19-Sep-05 8:48 
GeneralRe: Joystick/Gamepad Pin
Jerry___19-Sep-05 9:51
Jerry___19-Sep-05 9:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.