Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jagadeesh Jupalli

@Jagadeesh Jupalli
About
Posts
49
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Mail is not deliverd to Destination
    J Jagadeesh Jupalli

    Hi, comment out this line smtp.DeliveryMethod = SmtpDeliveryMethod.Network; smtp.UseDefaultCredentials =false; smtp.Credentials = SmtpUser; and test it. Other wise use this code MailAddress SendFrom = new MailAddress(txtFrom.Text); MailAddress SendTo = new MailAddress(txtTo.Text); MailMessage MyMessage = new MailMessage(SendFrom, SendTo); MyMessage.Subject = "Subject here"; MyMessage.IsBodyHtml = true; MyMessage.Priority = MailPriority.Normal; MyMessage.Body = "Some Html Body here"; SmtpClient emailClient = new SmtpClient(); //emailClient.UseDefaultCredentials = true; //emailClient.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis; emailClient.Host = "localhost"; emailClient.Send(MyMessage); It will work. ~JJ

    My Blogs... .Net Interview Questions
    View 1000's of TV Channels free
    My Pages

    ASP.NET help sysadmin

  • Take value from javascript function in aspx's html side to aspx.cs
    J Jagadeesh Jupalli

    Are U getting values into amount?? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On load in .aspx onload="setThankMessage(); in .aspx.cs page function setThankMessage() { document.getElementById('relationship').value = '<%=Session["hydPatientRelatnshipPR"]%>'; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~JJ

    My Blogs... .Net Interview Questions
    All about my Online Trading

    ASP.NET question javascript html tools help

  • javascript funtion
    J Jagadeesh Jupalli

    You had a value in JavaScript and want to display it in a label as well as pass it to .aspx.cs file Right?? Write a Separate JavaScript function for that 1. First calculate the value and Place it in the session (use can use above) 2. assign it to the label using (document.getElementById("lblBirthDate").value = '<%=Session["birthdate"]%>';) 3. Call this function on pageload or button click... ~JJ

    My Blogs... .Net Interview Questions
    All about my Online Trading

    ASP.NET help javascript question

  • How can i create an aspx page dynamically
    J Jagadeesh Jupalli

    Do you want to generate user specific code dynamically and display it on the webpage. With HTML formatting in it??? If I am Right... in .aspx page (This page is common for all the Customers)in .aspx.cs page string t = ........; //Pass client specific data here. you can also use HTML taga as u wish for formatting the data. Use stringbuilder if you have........... ClientBody.InnerHtml = Server.HtmlDecode(t); // to display in .aspx page ~JJ

    ASP.NET question csharp

  • javascript funtion
    J Jagadeesh Jupalli

    take the value like this var strSessionValues = document.getElementById('divSessionValues').innerText; and assign it to the session variable....

    My Blogs... .Net Interview Questions
    All about my Online Trading

    ASP.NET help javascript question

  • javascript funtion
    J Jagadeesh Jupalli

    example of using session variables in Java Script function showThankyouMsg(){ var imgwidth, imgheight, messhead, mess1, mess2, mess3, divleft, messageType; var strCancelCheckIn = '<%=Session["AgreeYN"]%>'; var strPaymentOption = '<%=Session["paymenttype"]%>'; var visitInfoCorrectYes = '<%=Session["visitInfoCorrectYes"]%>'; var strcopayamount = '<%=Session["copayamount"]%>'; var strprimaryins = '<%=Session["primaryins"]%>'; var strcopaytransfail = '<%=Session["copaytransaction"]%>'; var SpeakToStaff = '<%=Session["hydSpkToStaff"]%>'; var paytype = '<%=Session["paymenttypeCash"]%>'; .................... }

    My Blogs... .Net Interview Questions
    All about my Online Trading

    ASP.NET help javascript question

  • Question
    J Jagadeesh Jupalli

    Don't worry Nithydurai.:) Spend some time time framing your question, read it twice before you post. If you think every one can understand ur question post it. If you spend a few more minutes framing your question, you can get a more accurate answer. Thus saving UR Time and Our time. :)

    My Blogs... .Net Interview Questions
    All about my Online Trading

    ASP.NET database tutorial question

  • javascript funtion
    J Jagadeesh Jupalli

    We can also use session variables here......

    ASP.NET help javascript question

  • Which one is the Best way?? (client IP address)
    J Jagadeesh Jupalli

    Mogaambo kush hua :)

    ASP.NET performance question

  • Which one is the Best way?? (client IP address)
    J Jagadeesh Jupalli

    Hi, I am able to get the client IP address using the following 3 ways string test = Request.UserHostAddress.ToString(); string test2 = Request.ServerVariables["REMOTE_ADDR"].ToString(); string test3 = Context.Request.UserHostAddress.ToString(); All are returning the same values... But which one is the Best (accuracy and performance wise) and More reliable in all respects. Which one should I use?? Regards, ~JJ

    ASP.NET performance question

  • How to know the country name the user is visiting the website?
    J Jagadeesh Jupalli

    Thank you very much this is very helpful. :)

    ASP.NET tutorial question

  • How to know the country name the user is visiting the website?
    J Jagadeesh Jupalli

    Hi Colin Angus Mackay, Can you specify any web service that takes IP address and gives back information about WHERE that IP address is located. Any links or ref. would be of great help.... Many Thanks, ~JJ

    ASP.NET tutorial question

  • How to know the country name the user is visiting the website?
    J Jagadeesh Jupalli

    Hi, How to know the country name of the user is visiting the website? ~JJ

    ASP.NET tutorial question

  • Menu controls-- Help Needed
    J Jagadeesh Jupalli

    I am having two different menu controls (Tabs) on the same page. When I click on the tab button, the focus is set to the selected tab in the same Menu Control. Its fine.. But Problem is with second Menu control on the Same page. When I click on the Tab in the second Menu control, The focus should come to the second Menu control (till here it is working fine) and BUT how to release the focus on the first menu control?? ~JJ

    ASP.NET help tutorial question

  • Menu controls-- Help Needed
    J Jagadeesh Jupalli

    Hi, I am having two menu controls (Tabs) in a page. Now how to programmatically unselect the selected tab in Menu1 when the user selects another tab from Menu2 ?? Plz help, JJ

    ASP.NET help tutorial question

  • how to access session variables/ ordinary variables in HTML
    J Jagadeesh Jupalli

    Hi, Please let me know how to access and assign "session variables" or "ordinary variables" in source view (HTML). Regards, Jagadeesh

    ASP.NET html tutorial

  • How to create a secure login page?
    J Jagadeesh Jupalli

    Hi Christian Graus, We need to use https... Just i what to know security related issues related to using session, connection string, cookies, DB etc. Please let me know your thoughts. Regards, Jagadeesh

    ASP.NET security tutorial question discussion

  • How to create a secure login page?
    J Jagadeesh Jupalli

    Hi, Can any one Please explain or provide links to create a secure login page and the necessary things that have to be taken care in login and other pages. Please let me know your thoughts, this is a financial site and security must be Very high priority. Regards, Jagadeesh

    ASP.NET security tutorial question discussion

  • Unexpected existing transaction --> error
    J Jagadeesh Jupalli

    Thank you Andy, Your link helped me a lot in fixing the issue. Actually while googling in the morning i came accross this page but I ignored the crytical part of it. By going through the same page aging now @ mid night helped me very much :) The mistake was here using (SqlBulkCopy bulkCopy = new SqlBulkCopy(destinationConnection, SqlBulkCopyOptions.KeepIdentity, transaction)) Thanks again for support, I am :)

    Database help

  • Unexpected existing transaction --> error
    J Jagadeesh Jupalli

    Hi, My code worked fine before i placed "SqlTransaction" command in my code. After placing "SqlTransaction" command in my code it is showing "Unexpected existing transaction." Please tell me where I am going wrong. My Code: protected void Page_Load(object sender, EventArgs e) { using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["Mfund_String"].ConnectionString)) { con.Open(); using (SqlConnection destinationConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["Mfund_String"].ConnectionString)) { destinationConnection.Open(); using (SqlTransaction transaction = destinationConnection.BeginTransaction()) { SqlCommand DelCmd = new SqlCommand("delete from mfund_data", con); DelCmd.ExecuteNonQuery(); using (SqlBulkCopy bulkCopy = new SqlBulkCopy(destinationConnection)) { bulkCopy.DestinationTableName = "mfund_data"; try { bulkCopy.WriteToServer(CreateDataTableFromFile()); transaction.Commit(); } catch (Exception ex) { transaction.Rollback(); Response.Write(ex.Message); } } } destinationConnection.Close(); } con.Close(); } } Regards, Jagadeesh

    Database help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups