Search

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

Matching Posts

  • Object reference not set to an instance of an object, Again!

    Hi - I am really not sure why this error message would happen. my code is very simple as follows: Protected Sub GridView1_Select(ByVal sender As Object, ByVal e As System.EventArgs) Dim a As String a = DirectCast(GridView1.SelectedRow.Cells(4).Text, String) TextBox1.Text = a End Sub I have AutoEventWireup set to "true" as well as EnableEventValidation ="false". I cannot figure out what is causing this error. Stack trace as follows: [NullReferenceException: Object reference not
    Posted to Data Presentation Controls (Forum) by JCS8 on 8/11/2009
  • Crystal reports

    hi, does anyone konw whether cyrstal reports integrates with Visual Web Developer? I can only find information on Visual Studio. thanks, JCS88
    Posted to Crystal Reports (Forum) by JCS8 on 7/28/2009
  • Re: Object reference not set to an instance of an object

    here is the error message: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. I added some logic to test whether there are values - still does not work, I will now add a test for the data table which is objDT. Source Error: Line 44: Dim blnMatch As Boolean
    Posted to Web Forms (Forum) by JCS8 on 7/16/2009
  • Re: Object reference not set to an instance of an object

    It appears that the culprit was the autoeventwireup was set to false, but it needs to be set to true. Could it have been any easier Ok, I am over it now. Thanks for the help all!
    Posted to Web Forms (Forum) by JCS8 on 7/16/2009
  • Object reference not set to an instance of an object

    Hope someone can help on this error message above. I search the net to see if this was out there - surprise it was in many forms, but did not solve my issue. My code is as follows: Public Sub AddToCart(ByVal s As Object, ByVal e As EventArgs) objDT = Session("Cart") Dim Product = ddlProducts.SelectedItem.Text Dim blnMatch As Boolean = False For Each Me.objDR In objDT.Rows If objDR("Product") = Product Then objDR("Quantity") += txtQuantity.Text blnMatch = True Exit For
    Posted to Web Forms (Forum) by JCS8 on 7/15/2009
  • Re: How to email contents of a Gridview

    I have a similar question, though I would like to use Mailto: to allow the user to change or add text to the message. I have found code that launches Mailto: the code is as follows: Public Function OpenEmail(ByVal EmailAddress As String, _ Optional ByVal Subject As String = "", _ Optional ByVal Body As Object = "") _ As Boolean Dim bAns As Boolean = True Dim sParams As String sParams = EmailAddress If LCase(Strings.Left(sParams, 7)) <> "mailto:" Then _ sParams
    Posted to Web Forms (Forum) by JCS8 on 7/8/2009
  • Display a shopping carts contents in a mailto: message

    I am in the process of trying to use Mailto: to allow the user to change or add text to the message. I have found code that launches Mailto: the code is as follows: Public Function OpenEmail(ByVal EmailAddress As String, _ Optional ByVal Subject As String = "", _ Optional ByVal Body As Object = "") _ As Boolean Dim bAns As Boolean = True Dim sParams As String sParams = EmailAddress If LCase(Strings.Left(sParams, 7)) <> "mailto:" Then _ sParams = "mailto:"
    Posted to Web Forms (Forum) by JCS8 on 7/8/2009
  • Re: Display a shopping carts contents in a mailto: message

    thanks for the help. I actually do want to have the email launched on the client with what they selected in the cart. At the moment we do not want to have online processing only an email that is sent to us with the items that the customer is interested in. However, I do want them to be able to edit the message, should they wish. It also makes them more comfortable if the email client is the one they are used to. I hope this explains what I am looking to do. thanks, John
    Posted to Web Forms (Forum) by JCS8 on 7/8/2009
  • Re: Display a shopping carts contents in a mailto: message

    I am able to accomplish this with the original code, what the real problem is getting the grid values into the body of the email so the customer does not have to copy and paste. Thanks,
    Posted to Web Forms (Forum) by JCS8 on 7/8/2009
  • Re: Display a shopping carts contents in a mailto: message

    Understand! I can get both version of the javascript to work, however I still cannot get the data rows from the grid that I mentioned above into the body of the message. Thanks for your help.
    Posted to Web Forms (Forum) by JCS8 on 7/8/2009
Page 1 of 2 (14 items) 1 2 Next >