By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

asp.net 2.0 beta2 and formview

P: n/a
I wanted to add three columns up on the form and
run some logic to fill in the third but not sure how to
call the field names in the formview control.

Dim Girth As Integer
Elenght = (Me.FormView1.lengthTextBox.text * 2)

this shows an error of couse, what is the new correct way to
do this using MS formview data control?

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Tdar,

Welcome to ASPNET newsgroup.
As for the FormView control, it is mainly used for binding and displaying
single data record. FormView is providing the similiar functionality as
DetailsView, the difference is that DetailsView provide buildin fields
while FormView let us define custom template for displaying data. Also, if
you want to retrieve any sub control instances you defined in the template,
we can use
FormView.Row.FindControl(controlid)

In addition, here is the ASP.NET 2.0's quickstart tutorial from
beta.asp.net:

http://beta.asp.net/Tutorials/quickstart.aspx

You can find some reference on FromView and other databinding controls
there. Hope also helps.
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
--------------------
| Thread-Topic: asp.net 2.0 beta2 and formview
| thread-index: AcXJ0OXo5hnUS3OsSry3MVzKi7uTKw==
| X-WBNR-Posting-Host: 24.73.223.27
| From: "=?Utf-8?B?VGRhclRkYXI=?=" <Td**@noemail.nospam>
| Subject: asp.net 2.0 beta2 and formview
| Date: Wed, 5 Oct 2005 10:19:09 -0700
| Lines: 12
| Message-ID: <A0**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:129216
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I wanted to add three columns up on the form and
| run some logic to fill in the third but not sure how to
| call the field names in the formview control.
|
| Dim Girth As Integer
| Elenght = (Me.FormView1.lengthTextBox.text * 2)
|
| this shows an error of couse, what is the new correct way to
| do this using MS formview data control?
|
|
|
|

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.