Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
|
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 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
 
Old August 26th, 2011, 03:08 PM
Registered User
 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default data in textbox which connect to database

Hai , currently i am create windows application form for staff registration for my assignment, this formis contain textbox which are connected to database.Every time i run this form ,i can see data in the textbox ,which is from column in my table database. My question is how i can make the textbox is blank every time i run my staff registration form.I dont want that data
which i save in database is been seen because this form is use to add new data in database. i am using visual studio 2005 and sql 2005.
 
Old August 28th, 2011, 04:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

I guess u r using binding
if so u just add a new row in ur dataset it'll clear the textbox since new row is empty & ...

HTH
__________________
Always,
Hovik Melkomian.
 
Old August 28th, 2011, 08:44 PM
Registered User
 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hai, would you explain to my step by step how to create empty row as your mention in your answer.It very difficult to understand about your answer.Please i am a still beginner
 
Old August 29th, 2011, 03:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

well i just guess if u r using binding
honestly i need ur code, to tell u how to do the rest ;)
__________________
Always,
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate data to textbox from Oracle database Dusmanta .NET Framework 1.x 0 February 11th, 2009 12:05 AM
Saving data in database from textbox jainin_shah9 C# 2005 1 February 21st, 2008 08:34 AM
Populate textbox with data retrieved from database hoailing22 ASP.NET 1.0 and 1.1 Basics 5 November 30th, 2006 12:13 AM
Displaying Data in TextBox From Database(Urgent) gadhiav ASP.NET 1.0 and 1.1 Basics 2 June 17th, 2004 12:20 AM





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