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?
|
|
|
|