- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
18 Posted Topics
I've only used NLog http://nlog-project.org/
Stored procedure example: USE db_name; GO CREATE PROCEDURE some_name ( @parameter_name varchar(50) -- or whatever type it is ) AS BEGIN SELECT * FROM table_name WHERE column = @parameter_name END Code example: SqlCommand command = new SqlCommand(storedProc, scanConnect); command.CommandType = CommandType.StoredProcedure; command.Parameters.AddWithValue("@computer", location); SqlDataAdapter da = new SqlDataAdapter(command); DataSet ds …
I have the following wcf service: namespace Scanner { [ServiceContract(Namespace="scan.rsna.org/WebServices/BarcodeScanner")] public interface IBarcodeScanner { [OperationContract] bool InsertScanEvent(BarcodeScanner.ScannedItem barcode); } } namespace Scanner { public class BarcodeScanner : IBarcodeScanner { string dbConnection = ConfigurationManager.ConnectionStrings["annualMeeting"].ConnectionString; [DataContract] public class ScannedItem { Guid _scanID = new Guid(); string _badge; DateTime _scanTime; string _computer = …
On the Page_Load of my action page, I'm getting the form variables like this `string name = HttpContext.Current.Request.Form["Name"];` I then have two functions that use these variables. In the first function, I'm inserting the values into a database and get an error that the procedure expects a parameter that wasn't …
Put your code in a try-catch block to see errors.
Further along in this code I'm trying to access processRow, which is of type DataRow, but I get a RowNotInTableException This row has been removed from a table and does not have any data. In an attempt to figure out when this data is getting deleted, I added a bunch …
I'm trying to paste some text into a memo field and am getting the message "The text is too long to be edited". The text is 64K, which I believe is the max. I even did a character count on it that came to 64,360 and the limit I learned …
We recently upgraded to Windows Server 2003 and IIS 6. And we have one web application that works fine except for a certain feature within it. It gives "Disk or network error" when you click on a button that opens a popup form window and "Network path not found" when …
We just installed Windows Server 2008 over the previous operating system, Windows 2000 Server. We can't get our web apps working properly on 2008 though, so we have decided to downgrade to 2003 Server. How do we do this? I've read articles explaining how to delete windows from within safe …
I have a web page that prints information from a database based on the query string variables. Sometimes the page loads just fine and other times it gives the message "Use of uninitialized value" for every single one of my database variables. The times it gives this message seem to …
I have a Delphi web application that I would like to translate into ASP or PHP. Does anyone know of software I can get to convert it? I've seen lots of stuff that will convert Delphi to C# but that doesn't really help me since C# isn't a web language.
If your web application is accessing a database, you will need to use AJAX ([url]http://www.w3schools.com/Ajax/Default.Asp[/url]) or some server side language. You use that language to connect to the database and write queries to obtain the data with that language as well. So you don't need to put any queries in …
I created a database within MS Access - no SQL code - and set a field to "Memo". When I go to my web app that inserts some form data into the database, if I type too much into that one field on the form, I get "Invalid Precision Value". …
This code adds & removes textboxes from the screen. In the remove function, it also renames any textboxes that come after the one deleted so that the numbering stays in order (i.e. 1,2,3,4 instead of 1,2,4,5,8) and updates the count parameter of the textbox's corresponding remove link so that the …
Background - this code adds & deletes file inputs from the screen as well as adds & deletes them from an array that will be used in the uploading process. I'm having trouble splicing the correct value from an array. In the remove function, I think it is always removing …
I've stored an array in an html hidden input and now need to transfer that array to my delphi function. I've tried: [code=delphi] var fileArray : array of string; fileArray := formvar('fileArray', ''); [/code] but this gives an incompatible types error when I compile. How can I convert the string …
This code was working originally. Then I had made some modifications and things weren't going right so I went back to how it was originally, and now it's not working! What this does is add a file text box when you click a button & then remove it when you …
well the title pretty much says it all. I'm trying to grab an html hidden form input value for use in a delphi function. I don't know delphi very well at all, so I was trying to follow the format of the other code in the program that did this …
The End.
yssirhc