Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
| Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 16th, 2006, 05:11 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Input string was not in a correct format.

<datagrid>
<Columns>
                    <asp:ButtonColumn DataTextField="CHANGE_NO" HeaderText="CHANGE_NO" CommandName="Select"></asp:ButtonColumn>
                    <asp:BoundColumn DataField="CHANGE_TYPE" HeaderText="CHANGE_TYPE"></asp:BoundColumn>
                    <asp:BoundColumn DataField="CHANGE_DATE" HeaderText="CHANGE_DATE"></asp:BoundColumn>
                    <asp:BoundColumn DataField="STATUS" HeaderText="STATUS"></asp:BoundColumn>
                    <asp:BoundColumn DataField="ASSIGNED_TO" HeaderText="ASSIGNED_TO"></asp:BoundColumn>
                    <asp:BoundColumn DataField="COMMENTS" HeaderText="COMMENTS"></asp:BoundColumn>
                </Columns>
            </asp:datagrid>

***********************

in code behind


 Private Sub datagridChange_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles datagridChange.SelectedIndexChanged

        'Application("ChangeNo") = datagridChange.Items(datagridChange.SelectedIndex) .Cells(0).Text

        Response.Redirect("UpdateChangeInfo.aspx")
    End Sub
*******************

i 'm not getting integer value in the application varaible.
pls help me asap

  #2 (permalink)  
Old October 17th, 2006, 10:35 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

mmm... that line is comented... do you get an error or just not the value???

what value did you expect receive from a buttoncolumn???

HTH

Gonzalo
  #3 (permalink)  
Old October 17th, 2006, 10:38 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

What is the value that is returned to you?

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature


Similar Threads
Thread Thread Starter Forum Replies Last Post
Input string was not in a correct format Dwizz VB.NET 2002/2003 Basics 8 April 29th, 2010 05:56 AM
Input string was not in a correct format. Silfverduk VB.NET 2002/2003 Basics 1 May 20th, 2006 04:58 AM
input string was not in a correct format kunal.net VS.NET 2002/2003 1 October 11th, 2005 12:18 AM
Input string was not in a correct format Dwizz VB.NET 2002/2003 Basics 2 April 4th, 2005 11:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.