Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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

Reply With Quote
  #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
Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.