Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 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 August 20th, 2011, 10:16 PM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remove Button

Hai i need advice and guide.i have probleam with my code. I got an error 'ItemNameTextBox3' and 'ItemquantityTextBox3.Text' is not a member of 'WindowsApplication1.storeremove'. Here is my code, i am using visual studio 2005, dtabase sql2005, my database name is Store and table name is ItemIn.

here i am created ` new new windows form named storeremove and other other windows form named as page..The reason is i dont want to put this code in page form because if i run the application all data which in database are can seen at the textbox. So that why i am create a new form which i can remove the data from fresh textbox. Help help me


Public Class storeremove

Private Sub btnremove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnremove.Click
page.Validate()
page.ItemInTableAdapter.Delete(Me.ItemNameTextBox3.Text, Me.ItemquantityTextBox3.Text)
page.ItemInTableAdapter.Fill(page.StoreDataSet.Ite mIn)
MsgBox("Data Remove")

End Sub
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
Why the RemoveArticle Action get the remove button value (Yes or No) as parameter? Gabor66 BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 3 September 22nd, 2009 06:30 PM
How to remove remove elements deep using xsl Prabeen XSLT 1 May 5th, 2009 12:55 AM
how to remove focus from a button connect2sandep .NET Framework 2.0 1 February 28th, 2007 03:59 PM
Make a image button as default submit button toshi ASP.NET 1.0 and 1.1 Basics 1 June 1st, 2006 05:25 AM
Button acts depending on radio button values janise Access 4 March 10th, 2004 12:53 AM



All times are GMT -4. The time now is 02:26 PM.


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