User Profile

Collapse

Profile Sidebar

Collapse
kplshrm7
kplshrm7
Last Activity: Feb 10 '15, 12:36 PM
Joined: Aug 11 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kplshrm7
    started a topic Input string was not in a correct format.

    Input string was not in a correct format.

    When i write the following lines then i get an error like..
    Input string was not in a correct format.
    Code:
     cmd = new SqlCommand("select Username, Address, City, State, Zip " + "HomePhone, Extension, MobilePhone from Employees" + "where EmployeeID=@EmployeeID", conn);
    
     cmd.Parameters.Add("@EmployeeID",SqlDbType.Int);
     cmd.Parameters["@EmployeeID"].Value =Convert.ToInt32(
    ...
    See more | Go to post

  • I made a website using IIS and now i want sent mail to gmail from my website

    i have crated a master page that is a mailbox and now i want to sent mails from this local to a gmail or another server. please tell how can i do this.
    See more | Go to post

  • kplshrm7
    started a topic when i write this code then it shows error...

    when i write this code then it shows error...

    Error:- Failed to convert parameter value from a String to a Int32.

    code--------------------
    Code:
    SqlConnection conn;
            SqlCommand cmd;
            SqlDataReader reader;
            string connectionString = ConfigurationManager.ConnectionStrings["Dorknozzle"].ConnectionString;
            conn = new SqlConnection(connectionString);
            cmd = new SqlCommand("select Username, Address,
    ...
    See more | Go to post
    Last edited by Frinavale; Aug 11 '10, 04:27 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
No activity results to display
Show More
Working...