Search

You searched for the word(s): userid:535891

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">
  • 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 »