Yeah I tried that too and it still does the same thing:
<asp:HyperLinkField DataNavigateUrlFields="EmailLink"
DataNavigateUrlFormatString="Default.aspx?id={0}" DataTextField="Barcode"
HeaderText="Account Number" SortExpression="Barcode" />
I think it does have something to do with the slashes. I can put pretty much whatever field I want to in there and it will work but once I put that field or another one that contains "C:\..." then it doesn't work.
Here's what it shows for my table that's created:
<a>V01013317771</a>
<a>V01013484679</a>
It's not putting the href part of the tag in there for some reason.
Yeah it hasn't been rendered as a hyperlink, it just stays as normal text unless I change it to ScanID which is an INT in the SQL DB so I don't know if that has anything to do with it.
The code that I have above is pretty much everything I have right now, I have an image at top but that's it...
Normally when you have a hyperlink, it's underlined and when you hover over it, it will change the pointer to a hand and show you the link in the status bar.
I.E. http://www.google.com
However, when I do it, it just looks like normal text
I.E. V1234567890
What I'm trying to do is make that Hyperlink field show the value of Barcode as the Text and then the hyperlink will be the value of EmailLink based off the values in the SQL Server.
Whenever I set
DataNavigateUrlFields = "EmailLink"
and
DataNavigateUrlFormatString = "{0}"
it won't give me...
Thanks! I'll look into changing our connections over to this to see if it helps with speed. I think we use this type of connection for one of our ASP pages and it seems to run pretty decent.
Our servers are pretty old and I'm trying to get management to upgrade them but it's a slow process...
Scenario:
We have software wrote in VB.NET 2005 and we use SQLOLEDB connections to read from and write to the SQL Express database. Most of the servers we have are around 3.0GHz processors, 1GB of RAM and about 70GB of hard drive space.
Problem:
On the servers we have a 3rd party software that...
Yeah we can see that SQL Server is eating up most of the memory on our severs, so much so that we had to put a limit on how much it can use. The software we sell makes a lot of database calls frequently so that's why that happens.
We have servers at different locations around the state and country that we remote desktop into. After awhile the servers start to lag and one earlier this week came to a complete halt. We have a feeling it's a memory leak but I'm not sure how to read the results of the Poolmon output to...
So are you trying to change the text that's in the Tab that shows the report title? I had the same issue where the tab was saying "Main Page" or something like that, I found this code that would allow me to change it:
CType(rptViewer.Controls(0).Controls(0)...
I'm trying to write a piece of code whereby the user who enters a numeric number in a field can only enter 2 numbers to the right of the decimal point and as many as they want to the left. Right now I can get it so it will only allow 2 numbers to the right but it doesn't allow me to put any...
Is there a way to prevent the user from changing the size of a column at run time? I can get it so it's not clickable but when I run my program, you're still able to change the width of the columns. How do I stop this?
Sort of. I have it so it will login fine but when I had a menu item with the option to change the logged in user, it wouldn't work. It either would close the whole program, wouldn't change the user name or would have open 2 main forms. Any clue of how to make it change the logged in user and get...
I tried that but the Sub Main never shows up as an option in the properties of the project. Is there something special I have to do in order for it to show up?
Okay, so I've searched through the forum and for the life of me I can't figure this out. I have two forms, a Login and a Main form. The Login form is the startup form and I set the program to close when the last form closes. What I'm looking for the program to do is you enter a username and...
John,
Alright, I'll give that a try this weekend. We run full-time around the clock except on weekends so I can't just shut the system down in the middle of the work week but I will definitely give that a try. Thanks!
BBousman
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.