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:426517
More Search Options
RSS Available
Matching Posts
Re: How an accout was locked even input corrected?
A user login sometime then can't login, so I opened the database, it mask as locked. The user confirm that he input absolute correct username and password
Posted to
Security
(Forum)
by
thinhhangdieu
on 2/27/2008
How an accout was locked even input corrected?
Hi all, Who know why an account is locked even typed user name and password not wrong? Thanks!
Posted to
Security
(Forum)
by
thinhhangdieu
on 2/25/2008
Re: finding Server Control's ClientID when calling web service with javascript
Hi all, How to get client id of a control in a form view when calling webservice with javascript?
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
thinhhangdieu
on 9/2/2007
Re: How to get return value or output value after insert new record (Scott's tutor used BLL)
Hi Stefan, It work with SELECT SCOPE_IDENTITY() but not work with RETURN SCOPE_IDENTITY()
Posted to
Data Presentation Controls
(Forum)
by
thinhhangdieu
on 9/1/2007
Re: How to get return value or output value after insert new record (Scott's tutor used BLL)
Thank Stefan and ecbruck very much. I use Stefan's method, because I want to use Adapter which was created in .xsd file. In the BLL: //insert has return value SCOPE_IDENTITY() [System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)] public int addNewWithRetVal( string entName, string address) { int retVal = Convert.ToInt32(myAdapter.INSERT(entName, address)); return retVal ; } and in code behide: protected void MyODS_Inserted(object sender, ObjectDataSourceStatusEventArgs
Posted to
Data Presentation Controls
(Forum)
by
thinhhangdieu
on 8/30/2007
Re: How to get return value or output value after insert new record (Scott's tutor used BLL)
Hi ecbruck, thank you very much! But I have used ObjectDataSource then this ODS call down insert function in BLL, I did not use SQLDatasource So could you show me how to get new id when used ObjectDataSource and BLL(Scott's tutor method) to Insert new record ? This my insert function in BLL: [System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)] public bool addNewRec( string entName, string address) { MyDataSet.MyDataTable myDataTable = new
Posted to
Data Presentation Controls
(Forum)
by
thinhhangdieu
on 8/27/2007
How to get return value or output value after insert new record (Scott's tutor used BLL)
I ve created a DAL and BLL following Scott s tutorials and I don't know how to get return value or output value after insert new record. In Stored Procudure: INSERT INTO .... RETURN SCOPE_IDENTITY() or : I declare out put variable: @newRecordId INT OUTPUT then at the end SP: SET @newRecordId = SCOPE_IDENTITY() in the BLL, I have used addnew function following the Scott' tutor. But I don't know how to get newRecordId. Someone can help me, Thank a lot
Posted to
Data Presentation Controls
(Forum)
by
thinhhangdieu
on 8/27/2007
Re: ObjectDataSource OutputParameter
Thank Liming Xu, but I have a problem, that is I used BLL which has a method "addNew(int para1, string para2,... , out int? newId )" then inside this method, I used datatable.addrow(newrow) so I don't know how to retrieve this output value Help me please! Thank very much
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
thinhhangdieu
on 8/26/2007
Re: FormView??
Hi, this is my form view: <asp:FormView ID="FormView1" runat="server" DataKeyNames="B9Id" DataSourceID="ObjectDataSource1" AllowPaging="True" DefaultMode="Insert"> <EditItemTemplate> DateInput: <asp:TextBox ID="DateInputTextBox" runat="server" Text='<%# Bind("DateInput") %>'> </asp:TextBox><br /> ProvinceCode: <asp:TextBox ID="ProvinceCodeTextBox" runat
Posted to
Data Presentation Controls
(Forum)
by
thinhhangdieu
on 10/24/2006
Re: DropDownList within a DataView and with a bound SelectedValue which "does not exist in the list"
Hi, My codo is still didn't run: FCCode: <asp:ObjectDataSource ID="ODSFacilities" runat="server" SelectMethod="getDisFacByDistrictId" TypeName="templateTableAdapters.tblDistrictFacilitiesTableAdapter" OldValuesParameterFormatString="original_{0}"> <SelectParameters> <asp:ProfileParameter Name="districtCode" PropertyName="districtId" Type="String" DefaultValue="<%$ Code:Profile.districtId %>"
Posted to
Data Presentation Controls
(Forum)
by
thinhhangdieu
on 10/24/2006
Page 1 of 3 (29 items) 1
2
3
Next >
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online