Search:
Type: Posts; User: Tealmad
Search:
Search took 0.04 seconds.
-
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
...
-
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...
-
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...
-
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...
-
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!
-
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:
-
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...
-
-
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...
-
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...
-
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...
-
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...
-
Hi,
You can always try using this website too. I find it helpful. It is not 100% error proof, but it can certainly get you started in the right direction when needed.
...
-
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
...
-
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...
-
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...
-
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.
...
-
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.
...
-
Thanks for the quick response. That's what I wanted to know. :) This is where I can do some memory cleanup then. Thanks again!
-
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...
-
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...
-
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...
-
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...
-
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
-
Gary,
Tried what you said and there is still no postback occurring. :confused:
My javascript is now this:
__doPostBack('<%=lnkSendReport.ClientID%>', '');
-
Thanks Gary. I will give this a look and let you know how things turn out. :)
Gregg
-
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...
-
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...
-
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:
-
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...
-
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...
-
Regex worked perfect! Thanks Paul, for the lesson. :)
-
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...
-
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?
...
-
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.
-
Interesting. I will have to take a peek to see how to do this...
-
jmcilhiney, thanks for the tips. I always wanted to look up the differences. I just never took the time. :)
-
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.
-
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
-
Make sure you mark your thread RESOLVED then. :)
|
Click Here to Expand Forum to Full Width
|