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:535891
More Search Options
RSS Available
Matching Posts
Re: Formview insert problem
Did not work, still getting the same error Here is the code with more details. public class myObject { public myObject() { } public User UserServerResponsible { get; set; } } public class User { public User() { } public string UserName{ get; set; } public string Phone { get; set; } } <asp:FormView ID="fv" runat="server" DataSourceID="ods"> <InsertItemTemplate> <asp:Literal ID="ltrlResponsibleServer" runat="server" Text='<%#Bind
Posted to
Data Presentation Controls
(Forum)
by
danh74
on 12/28/2009
Formview insert problem
Hi, I have a fromview in insert mode. While i am trying to insert i am getting error: " Could not find a property named ' UserServerResponsible.UserName ' on the type specified by the DataObjectTypeName property in ObjectDataSource ..." The ' UserServerResponsible ' object is object property (public) in the object i mention in the DateObjectTypeName , i.e. : DateObjectTypeName='TestObject' public class TestObject { public TestObject() { UserServerResponsible = new
Posted to
Data Presentation Controls
(Forum)
by
danh74
on 12/27/2009
Update FormView via objectDatasource
Hi, I have formview that get object from objectdatasource while on select mode it work fine but while i am trying to update , i am getting empty object in the updating event of the objectdatasource. <asp:formview ID="fv" ...... DatasourceID="ods" DataKeyName="ID"> <EditItemTemplate> some filed width Bind </EditItemTemplate> </asp:formview> <asp:objectDataSource id="odc" UpdateMethod="Save" DataObjectTypeName="myObject">
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
danh74
on 12/24/2009
passing property to the gridview
Hi, How can i pass (or bind) public property in my page, to specific field in the gridview? TIA
Posted to
Data Presentation Controls
(Forum)
by
danh74
on 12/18/2009
c# object casting
Hi,Why i am getting the excption (bold line)? public class Base { some properties here.. } public class Derive : Base { more properties here.. } public Base GetObject() { Base b = getBase();// this function return Base object //geting exception here Derive d = (Direve)b; }
Posted to
Getting Started
(Forum)
by
danh74
on 12/17/2009
GridView binding
Hi, I have an object "People". The "People" object have an object "User". The "User" object have properties i.e : userName,Phone and so on. How can i bind the properties of the User to gridView? While i am trying: <asp:BoundField DataField="User.userName" ... /> i am getting an error. thanks in advance
Posted to
Data Presentation Controls
(Forum)
by
danh74
on 12/13/2009
Re: Problem sending email
I do not have email account in the IP. I am trying to send email to my account in gmail danh74@gmail.com The IP of the email server is "sendmail4.brinkster.com" Thanks
Posted to
Web Forms
(Forum)
by
danh74
on 10/11/2007
Re: Problem sending email
Hi , Thanks for replying, I am not sure i understand you. I do not have access to the mail server, i only have it's IP
Posted to
Web Forms
(Forum)
by
danh74
on 10/9/2007
Re: Problem sending email
Hi here is the code public static void sendEmail( string fromEmail, string body, bool isHtml) { MailMessage mail = new MailMessage (); mail.From = new MailAddress ( me@test.net ); mail.To.Add( asp.csharp@gmail.com ); mail.Subject = "New email form the site " + setting .getConfig( "siteUrl" ); mail.Body = body; mail.IsBodyHtml = isHtml; SmtpClient smtp = new SmtpClient (); try { smtp.Send(mail); } catch ( Exception ex) { HttpContext .Current.Response.Write(ex.Message + "<hr>"
Posted to
Web Forms
(Forum)
by
danh74
on 10/6/2007
Problem sending email
hi, I am trying to send email but getting this exception: Command parameter not implemented. The server response was: : Helo command rejected: need fully-qualified hostname The exceptin occur when i call the send() funtion Any idea why?
Posted to
Web Forms
(Forum)
by
danh74
on 10/6/2007
Page 1 of 14 (132 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online