Search:

Type: Posts; User: Tealmad

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    804

    Re: ForNext loop and ListItem

    Or you could try something like this:



    Dim sqlCon As New SqlConnection (<connection string>)
    Dim sqlAdp As New SqlDataAdapter
    Dim sqlCmd As New SqlCommand
    Dim ds As New DataSet
    ...
  2. Replies
    4
    Views
    974

    VS 2010 Re: How to Split a String?

    In order to add them to a List, you could load them into an ArrayList or some other collection object, or even a simple array. Once you do that, you should be able to loop thru them. :)

    If you are...
  3. Replies
    7
    Views
    8,320

    Re: GUI design with ASP.NET

    techgnome - LOL...so true.

    Have you also tried using traditional HTML code in your ASPX pages? I would use a regular html table versus the ASP:Table. I would also use <div> tags in my pages...
  4. Replies
    1
    Views
    547

    VS 2010 Prevent Encrypted Data in ASPX File

    Hi all. I was wondering if anyone could point me in the direct of where I might be able to learn how to prevent a rendered ASPX page from having the encrypted data in the head area. With the fact...
  5. Replies
    8
    Views
    945

    VS 2008 Re: [RESOLVED] Databinding to Collection

    Yeah. Not only that, I am sure it would have been helpful to provide a sample of my object code. :) See, we both learned something. :P Thanks for your help!
  6. Replies
    8
    Views
    945

    VS 2008 Re: [RESOLVED] Databinding to Collection

    I can see why you say that. However, I had public variables. :) I thought that would work enough. But I guess not. Lesson Learned. :wave:
  7. Replies
    8
    Views
    945

    VS 2008 Re: Databinding to Collection

    I found the problem with my code.

    It appears that when you use a class object, for example my "Person" class, you have to define public properties to have the datagridview access them in the list...
  8. Replies
    8
    Views
    945

    VS 2008 Re: Databinding to Collection

    Just a blank grid. :(
  9. Replies
    8
    Views
    945

    VS 2008 [RESOLVED] Databinding to Collection

    All, I am trying to bind a DataGridView control on my windows form. However, it doesn't appear to be working. Am I missing a step somewhere? I cannot get the objects in my collection to display in...
  10. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    Shaggy, thanks for that feedback and your explanation. I will keep this in mind from now on the actual overhead involved. It's funny because I use try/catch blocks for everything. Just to cover my...
  11. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    Ahh, gotcha. I hear what you're saying. Well, the good thing to know is that I do check for "bad things" in my code. I always validate input data. Thanks for the clarification on your part.

    As for...
  12. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    Well, I will be the first to mention, good to know. I never knew about the actual overhead involved with a Try/Catch block. How expensive is a try catch block? I use them quite frequently in my...
  13. Replies
    4
    Views
    3,764

    VS 2010 Re: Convert code from C# to VB.NET

    Hi,

    You can always try using this website too. I find it helpful. It is not 100&#37; error proof, but it can certainly get you started in the right direction when needed.
    ...
  14. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    dbasnet,

    Sorry, my code was not in need of a Try/Catch. I only used it as an example to get a confirmation of my suspicions. There would not be a reason to do this as the example



    ...
  15. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    Sytto,

    From my standpoint, you never can "over use" the Try/Catch/Finally block of code. As a matter of fact, you should always use it so that you can manage errors properly. Otherwise, if an...
  16. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    Kevin, I forgot to mention thanks for your feedback. That is my bad! However, I don't want you to stop answering my questions, or anyone elses for that matter...just sayin'. I think some people have...
  17. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    Hi Kevin. I did look on the MSDN site. However, their statement was a little misleading and didn't mention the Catch part. Here is where I referenced it.
    ...
  18. Replies
    23
    Views
    1,657

    VS 2008 Re: [RESOLVED] Try...Catch...Finally Question

    Shaggy, thanks for your feedback. You know, I guess I could have answered my own question by stepping through the code. :blush: Sometimes the old brain upstairs just doesn't work like it used to.
    ...
  19. Replies
    23
    Views
    1,657

    VS 2008 Re: Try...Catch...Finally Question

    Thanks for the quick response. That's what I wanted to know. :) This is where I can do some memory cleanup then. Thanks again!
  20. Replies
    23
    Views
    1,657

    VS 2008 [RESOLVED] Try...Catch...Finally Question

    I have a really silly question. Based on the following code example below, will the Finally section of my try catch get executed? Thanks for your help...and such a silly question. I'm just not...
  21. Replies
    3
    Views
    578

    VS 2008 Re: Windows Password

    Hack, thanks for your reply. I know it is a rediculous question. And I feel the exact same way. However, I just don't want my users to have to re-enter their username and or password everytime they...
  22. Replies
    3
    Views
    578

    VS 2008 Windows Password

    Hi all. I am wondering if it is possible to read in the encrypted value of a Windows users password so I can preload a textbox with the value?

    I have a checkbox on my .NET form -> Use Workstation...
  23. Replies
    11
    Views
    6,539

    Re: [RESOLVED] Rendered HTML for Link Button

    Gary, no worries about posting sooner. It gave me the opportunity to explore and disect the code a bit more. Sometimes looking at all of this code, everyday, can make you go crazy. I notice where my...
  24. Replies
    11
    Views
    6,539

    Re: Rendered HTML for Link Button

    Gary,

    Thanks for your help! I was actually able to fix the issue on my own. I do appreciate the code sample though! Thanks again for your help!

    Gregg
  25. Replies
    11
    Views
    6,539

    Re: Rendered HTML for Link Button

    Gary,

    Tried what you said and there is still no postback occurring. :confused:

    My javascript is now this:



    __doPostBack('<%=lnkSendReport.ClientID%>', '');
  26. Replies
    11
    Views
    6,539

    Re: Rendered HTML for Link Button

    Thanks Gary. I will give this a look and let you know how things turn out. :)

    Gregg
  27. Replies
    11
    Views
    6,539

    Re: Rendered HTML for Link Button

    Gary,

    The reason I want to perform the postback myself is that I am doing a form validation before the postback occurrs. I am building a list of selected items from a gridview and if there are no...
  28. Replies
    11
    Views
    6,539

    [RESOLVED] Rendered HTML for Link Button

    VS.NET 2008
    ASP.NET 3.5
    Visual Basic code behind

    Hi all! I have a link button that I am using on a page and I am trying to do a postback using JavaScript. My Javascript callback code is writen...
  29. Replies
    5
    Views
    3,544

    Re: Vb File Handling - Random Access

    What is freefile()?

    Freefile() is a method that is not in your code. I assume you don't have a method created with that name, otherwise you wouldn't be asking. :confused:
  30. Replies
    2
    Views
    882

    VS 2008 VB.NET Regular Expression Problem

    Hi everyone. I have a problem with my REGEX checks. For some reason, I cannot check for a boolean value with my Match method. Is there something I am overlooking?

    Imports...
  31. Replies
    1
    Views
    510

    VS 2008 Data Encryption Recommendation

    Hi All. I am in the process of working on the preliminary stages of creating an application (VB.NET 2008) that stores sensative information on a pc. This data has to be written to a file (preferrably...
  32. Replies
    6
    Views
    706

    VS 2008 Re: String Replace Error...

    Regex worked perfect! Thanks Paul, for the lesson. :)
  33. Replies
    6
    Views
    706

    VS 2008 Re: String Replace Error...

    My code is used to strip the parenthesis from a phone number. Should I use an escape character? Something like "\" before the parenthesis? I see in the above Regex.Replace expressions, escape...
  34. Replies
    6
    Views
    706

    VS 2008 [RESOLVED] String Replace Error...

    I have a simple little function that is providing the following error when I try to replace left and right parenthesis values with empty string values. Does anyone know why this error is happening?
    ...
  35. Replies
    12
    Views
    1,410

    Re: Add item in combo

    Ohailo, use the examples from above. It is done the same way. The only thing you will need to do is establish a database connection to your MS Access database.
  36. Replies
    10
    Views
    1,298

    VS 2008 Re: use DLL in as resource but not drop it?

    Interesting. I will have to take a peek to see how to do this...
  37. Replies
    15
    Views
    1,662

    VS 2005 Re: [RESOLVED] Condition between two Dates

    jmcilhiney, thanks for the tips. I always wanted to look up the differences. I just never took the time. :)
  38. Replies
    11
    Views
    6,787

    Re: to run an external dll file

    Where did you get this .dll? Can I get a copy of it? That way I can see if I can add a reference to it.
  39. Replies
    10
    Views
    1,298

    VS 2008 Re: use DLL in as resource but not drop it?

    I actually used this .dll before to see if I could get it to work with my MySQL database.


    Option Strict On
    Option Explicit On

    Imports MySql

    Public Class Form1
  40. VS 2008 Re: Hot export data from DataGrid grid-HELP-

    Make sure you mark your thread RESOLVED then. :)
Results 1 to 40 of 123
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width