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:579973
More Search Options
RSS Available
Matching Posts
Re: Get Scope Identity Value using ObjectDataSource and Vb.Net
Now I'm lost, do I get the Scope Identity at the iteminserting or the iteminserted. I tried the first sample and get a parameter is not equal error. Here is my ascx (I'm using dotnetnuke) for the objectDataSource. < asp : ObjectDataSource ID ="ObjectDataSource_Customer" runat ="server" TypeName ="YourCompany.Modules.Lan.LanCustomerController" SelectMethod ="LanCustomer_GetCustomers" DataObjectTypeName ="YourCompany.Modules.Lan.LanCustomerInfo"
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Dan5150
on 12/27/2007
Get Scope Identity Value using ObjectDataSource and Vb.Net
Hi, I have been trying to get the scope Identity after inserting a record using an ObjectDataSource. I can't find what event, or how to get the value that the scope identity returns. Here is my Sproc. ALTER PROCEDURE dbo.[YourCompany_LanCustomer_Insert] ( @DNNUserID int , @FirstName nvarchar (50), @LastName nvarchar (50), @Address nvarchar (50), @Address2 nvarchar (50), @City nvarchar (50), @State nvarchar (50), @Zip nvarchar (50), @EmailAddress nvarchar (50), @PhoneNumber nvarchar (50), @CustomerID
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Dan5150
on 12/24/2007
Re: How to get the value of a textbox that has been added to a template field in a gridview. VB.Net
It worked perfectly! Thanks for all you help Anas. I have been looking through post after post on the internet trying to find the answer to this. None of the other post mentioned the CommandArgument for the button. Thanks again!
Posted to
Data Presentation Controls
(Forum)
by
Dan5150
on 12/23/2007
Filed under: asp.net 2.0 Gridview
Re: How to get the value of a textbox that has been added to a template field in a gridview. VB.Net
< asp : GridView ID ="ItemsGridView" runat ="server" AutoGenerateColumns ="False" DataKeyNames ="EventId" DataSourceID ="ObjectDataSource_Items" AllowPaging ="True" PageSize ="5"> < Columns > < asp : BoundField DataField ="EventId" HeaderText ="EventId" SortExpression ="EventId" /> < asp : BoundField DataField ="OptionID" HeaderText ="OptionID" SortExpression
Posted to
Data Presentation Controls
(Forum)
by
Dan5150
on 12/23/2007
Re: How to get the value of a textbox that has been added to a template field in a gridview. VB.Net
I tried the vb.net code and get an error. If I change Quantity to a string I get a 0 everytime, no matter what I put in the textbox.
Posted to
Data Presentation Controls
(Forum)
by
Dan5150
on 12/23/2007
How to get the value of a textbox that has been added to a template field in a gridview. VB.Net
I have a gridview that shows products, description, price. I have added a Buttonfield and a TemplateField that has a Textbox with the id QuantityTextBox. What I am trying to do is get the value of the Quantity TextBox in the RowCommand event of the gridview. I can get the price but need to get the quantity also. To get the price I used ItemPrice = Server.HtmlDecode(row.Cells(5).Text) My template field is cell 6 but the above routine does'nt work. Any help would be greatly appreciated.
Posted to
Data Presentation Controls
(Forum)
by
Dan5150
on 12/23/2007
Filed under: vb.net
Re: Change Value of a Textbox that is inside of a FormView using Vb.Net code behind.
Thanks smcoxon and iamesqua for the answers. This information was exactly what I was looking for.
Posted to
Data Presentation Controls
(Forum)
by
Dan5150
on 12/22/2007
Change Value of a Textbox that is inside of a FormView using Vb.Net code behind.
I am having trouble adding text to a textbox that is nested in a form. What I want to do is pre-fill out the insertview form if the user already has their info on file so they don't have to fill out the name, address, etc. each time. Any help will be greatly appreciated.
Posted to
Data Presentation Controls
(Forum)
by
Dan5150
on 12/22/2007
Filed under: asp.net 2.0
Re: Your login attempt was not successful.
I had the same problem and spent 3 days finding the answer. Below is a sample web.config file that enables roles and membership. I had just membership provider and could not log on, after I added the Roles provider everything worked. 1 2 <!-- 3 Note: As an alternative to hand editing this file you can use the 4 web admin tool to configure settings for your application. Use 5 the Website->Asp.Net Configuration option in Visual Studio. 6 A full list of settings and comments can be found in 7
Posted to
Security
(Forum)
by
Dan5150
on 2/26/2007
Filed under: Web.config
How would I go about changing a DNN site to another host?
I'm trying to add a DNN site to my hosting company. I attached the database to my local sql server, then DTS the information to the server on my host. Should I ftp all the files from the original site, or should I install a fresh copy of DNN then upload/overwrite the original files. Thanks for your time. Dan5150
Posted to
Getting Started
(Forum)
by
Dan5150
on 2/28/2006
Page 1 of 9 (84 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online