I am currently having serious issues connecting to a FoxPro database using an ODBC connection from IIS7.5
The database is on another machine than the IIS server and is accessed via a fileshare.
When I call the webpage from IE on the IIS server everything works fine. When I call the webpage...
Hi,
I have recently been looking at the new Entity Framework included with .NET 3.5 SP1 and NHibernate. These seem to do similar things. Which do you think is the better option to go with as I don't want to start down one path and then find I should have gone the other?
James :-)
James Culshaw
Make sure you use the Redirect method and not the Server.Transfer as I forgot about the fact that although the page looks like another page, if you hit refresh, it issues the previous postback.[blush]
James :-)
James Culshaw
You could cheat and use a typed dataset. If you are using VS2005 then the IDe will do most (if not all) of the work creating methods and classes for you.
BTW, I'm not advocating this as the best method, just an easy option to do what is being talked about in this post.
James :-)
James Culshaw
I normally just run Windows/Microsoft Update and choose the custom option. This usually then has something like 'Root Certificates Update' as an option.
The following document gives quite some details on certificates and their updating amongst other things...
Sometimes the machine that the browser is running on needs to have it's root certificates updated. This usually is done via Microsoft Update. This happened to me and that was the solution.
If that doesn't fix the issue I would view the certificates details you need to see when the certificate...
Hi,
I have an ASP.NET application that runs on its own dedicated server.
About 4 weeks ago it started to respond to quite a few requests with request timed out errors. It has steadily degraded to the point where it is basically unavailable 90% of the time. As you may guess this has become a...
Hi,
I have an interesting problem that I need some help with. Here's is the scenario:
I have a webservice A.
This webservice is called from a web application on Server1.
The request works fine.
I have a webservice B.
This service is on the same server as A
Service B calls Service A.
The...
Hi,
I have released a new version of DataAide (http://dataaide.sourceforge.net) and I am looking for people to play around with it and provide me some useful feedback via the SourceForge page in terms of bugs and what features you would like changed or added. The project is open source and so...
You don't get this issue if you are using codebehind as the VB.Net/C# code is already compiled. I would switch to using codebehind if you already haven't. It also makes you code easier to manage as it seperates the code from the presentation i.e. the VB from the HTML.
If that still doesn't...
Hi, I Right-click on the project in the solution explorer or choose the references option from the project menu no windo apperas and no eror occurs. Absolutely nothing happens. At the moment I am reduced to adding the references to the project by modifying the .vbproj file using notepad.
James...
Hi,
when I try to add a reference to my project in Visual Studio nothing happens. No window is opened, no error is raised!
Anyone know how to solve this?
Thanks,
James ;-)
James Culshaw
james@miniaturereview.co.uk
http://www.miniaturereview.co.uk
http://www.caninerescue.co.uk
Hi,
I don't know if this allowed but its not commercial marketing so here goes:
I have released a code generation tool on SourceForge to generate stored procedures for a SQL Server database and then to generate VB6/C#/VB.Net Code. Its Open Source and so free.
Take a look at...
You check in the OnDataBind event of the datagrid. You get access via the DataItem property of e.Item.
James :-)
James Culshaw
james@miniaturereview.co.uk
http://www.miniaturereview.co.uk
http://www.caninerescue.co.uk
A default stylesheet is used by IE that is assigned to teh XML to render it in that format if no other stylesheet is declared to be used by the document. To do the same thing in your Application you need to use the XML conttrol and assign the XML document and an XSLT file that will transform the...
Hi,
You need to new a textbox i.e.
Dim t as new textbox
You can then manipulate that textboxes property. To add it to the form you then need to add it top the container controls controls collection i.e.
parent.controls.add(t)
That is the step that you are missing. What is important is...
You can change the select command/statement at runtime on the one datadapter object.
James :-)
James Culshaw
james@miniaturereview.co.uk
http://www.miniaturereview.co.uk
http://www.caninerescue.co.uk
Take a look at the MS Press book on creating custom server cotrols. You can download the sample code from the MS site at http://download.microsoft.com/download/MSPressPub/5728/1.0/W98NT42KMeXP/EN-US/DevASPNET.exe
James :-)
James Culshaw
james@miniaturereview.co.uk...
A DataTable is the object type that the tables in your dataset are. It is filled via a datadapter or by code adding a row at a time. If you want to filter data in a datatable you have to use a dataview. To have unique data in the datatable I would load it with the correct SQL statement.
James...
You would issue an update statement which used the following style of code:
UPDATE myTable SET myColumn = myColumn + 8 WHERE dataPrimaryKey = x
You need to pull and store thet data from tha row that will uniquely identify the row for the WHERE clause in the update statement.
You just do the...
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.