Click here to Skip to main content
15,899,754 members
Home / Discussions / Database
   

Database

 
Generalquering on views Pin
blankg15-Jul-04 23:47
blankg15-Jul-04 23:47 
GeneralRe: quering on views Pin
Colin Angus Mackay15-Jul-04 23:57
Colin Angus Mackay15-Jul-04 23:57 
GeneralRe: quering on views Pin
blankg16-Jul-04 0:27
blankg16-Jul-04 0:27 
GeneralRe: quering on views Pin
Mekong River17-Jul-04 4:53
Mekong River17-Jul-04 4:53 
GeneralRe: quering on views Pin
blankg17-Jul-04 9:51
blankg17-Jul-04 9:51 
GeneralRe: quering on views Pin
Mekong River17-Jul-04 18:18
Mekong River17-Jul-04 18:18 
GeneralRe: quering on views Pin
blankg17-Jul-04 21:35
blankg17-Jul-04 21:35 
GeneralInput string was not in a correct format Pin
DotNet15-Jul-04 18:27
DotNet15-Jul-04 18:27 
Hello,

In my SQL Server, Table named Hardware, Attributes - HardwareID(VarChar), Price(money). When I want to get the edit text boxes, I declare as
Dim hprice As String = Ctype(e.Item.Cells(4).Controls(0), TextBox).Text

What can I do to stop the error below?

----------------------------------------------------------------------
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: System.FormatException: Input string was not in a correct format. at System.Number.ParseDecimal(String s, NumberStyles style, NumberFormatInfo info) at System.Decimal.Parse(String s, NumberStyles style, IFormatProvider provider) at System.Convert.ToDecimal(String value, IFormatProvider provider) at System.String.System.IConvertible.ToDecimal(IFormatProvider provider) at System.Convert.ToDecimal(Object value) at System.Data.Common.DecimalStorage.Set(Int32 record, Object value) at System.Data.DataColumn.set_Item(Int32 record, Object value)Couldn't store <> in Price Column. Expected type is Decimal.


Concerned
GeneralRe: Input string was not in a correct format Pin
Colin Angus Mackay15-Jul-04 22:19
Colin Angus Mackay15-Jul-04 22:19 
GeneralRe: Input string was not in a correct format Pin
Colin Angus Mackay16-Jul-04 2:22
Colin Angus Mackay16-Jul-04 2:22 
GeneralRe: Input string was not in a correct format Pin
DotNet16-Jul-04 3:57
DotNet16-Jul-04 3:57 
Questioncan i get some operation infomation from SQLsrv2k ? Pin
fu015-Jul-04 15:58
fu015-Jul-04 15:58 
AnswerRe: can i get some operation infomation from SQLsrv2k ? Pin
RichardGrimmer15-Jul-04 23:28
RichardGrimmer15-Jul-04 23:28 
GeneralRe: can i get some operation infomation from SQLsrv2k ? Pin
fu017-Jul-04 15:39
fu017-Jul-04 15:39 
GeneralRe: can i get some operation infomation from SQLsrv2k ? Pin
RichardGrimmer19-Jul-04 5:40
RichardGrimmer19-Jul-04 5:40 
QuestionIs This Complex Update Possible? Pin
perlmunger15-Jul-04 11:38
perlmunger15-Jul-04 11:38 
AnswerRe: Is This Complex Update Possible? Pin
Colin Angus Mackay15-Jul-04 12:03
Colin Angus Mackay15-Jul-04 12:03 
GeneralRe: Is This Complex Update Possible? Pin
perlmunger15-Jul-04 12:21
perlmunger15-Jul-04 12:21 
GeneralRe: Is This Complex Update Possible? Pin
Colin Angus Mackay15-Jul-04 12:29
Colin Angus Mackay15-Jul-04 12:29 
GeneralRe: Is This Complex Update Possible? Pin
perlmunger15-Jul-04 12:39
perlmunger15-Jul-04 12:39 
GeneralRe: Is This Complex Update Possible? Pin
perlmunger15-Jul-04 13:02
perlmunger15-Jul-04 13:02 
GeneralRe: Is This Complex Update Possible? Pin
Colin Angus Mackay15-Jul-04 13:07
Colin Angus Mackay15-Jul-04 13:07 
AnswerRe: Is This Complex Update Possible? Pin
dishanf19-Jul-04 1:57
dishanf19-Jul-04 1:57 
GeneralRe: Is This Complex Update Possible? Pin
dishanf19-Jul-04 2:03
dishanf19-Jul-04 2:03 
GeneralWhat's wrong with this script from a Wrox Book Pin
mtbjr15-Jul-04 2:18
mtbjr15-Jul-04 2:18 

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.