Advertisement

06.12.2008 at 01:45PM PDT, ID: 23481035
[x]
Attachment Details

Update text box within Formview control on New Button click

Asked by toddpotter in Visual Studio .NET 2005, Programming for ASP.NET, Microsoft Visual Basic.Net

Tags: Microsoft, Visual Web Developer 2008, 2008, asp.net, vb, Visual Web Developer 2008

I have added a Formview control to my page that is bound to a database.  When the user clicks the "New" button I want some of the textboxes in the Formview to automatically populate with certain data.  I want to set that data in code, but I keep getting exceptions.  For example, I have a "Time Submitted" text box and I want the current date and time entered in automatically when the user clicks "New".  

Thanks


Start Free Trial
[+][-]06.12.2008 at 03:22PM PDT, ID: 21774191

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 11:23PM PDT, ID: 21776351

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Programming for ASP.NET, Microsoft Visual Basic.Net
Tags: Microsoft, Visual Web Developer 2008, 2008, asp.net, vb, Visual Web Developer 2008
Sign Up Now!
Solution Provided By: GreymanMSC
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.13.2008 at 02:22AM PDT, ID: 21777150

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.13.2008 at 03:13AM PDT, ID: 21777356

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.15.2008 at 04:06PM PDT, ID: 21790047

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628