Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:879230
More Search Options
RSS Available
Matching Posts
Re: how to get value inserted using insertcommand in Formview out to be used in code behind
ID is a field that needs user's input. Thanks so much, Superguppie !! e.value works brilliantly. My biggest problem has been solved. About the dropdownlist problem, I keep getting the following error msg 'DropDownListTerm' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value In fact, intellisense does not give me the property selectedvalue . I just hardcoded it in. < asp : DropDownList ID ="DropDownListTerm" runat ="server"
Posted to
Data Presentation Controls
(Forum)
by
hkaspnet
on 7/7/2009
Re: how to get value inserted using insertcommand in Formview out to be used in code behind
Thanks so much Superguppie!! 1) I tried to use figure out how to use the dictionary, but not getting anywhere. Can you provide an example please? My Code: Protected Sub New_Student( ByVal sender As Object , ByVal e As System.EventArgs) Handles FormView1.ItemInserting Dim StudentCourseAdaptor As New DataSet1TableAdapters.StudentCourseTableAdapter ID = ??????????????? StudentCourseAdaptor.Insert( ID , " ", " " , " ") End Sub What should ??????????? be? 2) If I have a dropdownlist
Posted to
Data Presentation Controls
(Forum)
by
hkaspnet
on 7/6/2009
how to get value inserted using insertcommand in Formview out to be used in code behind
Hi There, I have two related questions below. Please help. Many thanks in advance. 1) I use an insert template in a formview to add new data( ID, Name, Address) to a table. After I click the add button, new data adds to the table sucessfully. However, after that, I need to add a few more rows in a different table automatically using the ID of the new data. How can I obtain/retain the ID to be used in asp.vb code behind file? 2) In edit/insert template of a formview, I would love to have a dropdownlist
Posted to
Data Presentation Controls
(Forum)
by
hkaspnet
on 7/5/2009
Page 1 of 1 (3 items)
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online