Topics
-
-
- Administrators
- 1 reply
- 694 views
We have an "expert" looking at our app. Our app is running on Windows2000 now and wanted to upgrade to 2003 and she says Dataset.Select statements are being used in the app but are not supported on Server 2003 I googled but cant find info on this. Before i ask him, anyone knows what she means?
Last reply by PlausiblyDamp, -
-
- 2 replies
- 843 views
I havent done vb.net in awhile been doing php but anyways now im back for more ! :p anyway im trying to take the first lets say 15 letters per line of a .txt file and display each in a text box. Its a part of a larger program im developing. Thanks any suggestions as to what syntax i should be reviewing/learning? lol
Last reply by neodammer, -
- 2 replies
- 1.2k views
I'm tackling a rather advanced project and I'm looking for some ideas to get started. :eek: I've got a DB table that contains customer info. Each customer could have multiple records in the table that are linked by the field, "SCode." Basically I need to group all records for each customer and then display them. The display would look something like this: Customer 1 Customer 2 Customer 3 address....phone address....phone address....phone address....phone address....phone address....phone Each customer's info will need to be edited, but right now I'm just looking at getting everything display…
Last reply by rangerstud620, -
- 2 replies
- 1.8k views
i've been calling my functions in c# using the select function_Name from dual , but i'm in a spot of bother now as i cant do this with the boolean function. The reason i did this is because i could not get the code that is used to execute a stored procedure to work with the functions. The code for that includes an execute section that is included for the procedure part. My issue: Is there a simple way to call a boolean oracle function from c# that takes three parameters and returns either true or false...
Last reply by ace333, -
- 6 replies
- 1.2k views
I have ftp access to the webserver of my dreams.. but I am trying to integrate my asp.net project with a webserver that has a lot of frontpage webpages (so they use _vti_cnf, _vti_pvt, _vti_script, _vti_txt folders already on the server) The issue is: I copy over everything in C:\Inetpub\wwwroot\WebApplication1\ and overwrite everything at /webserverroot This messes up frontpage (mainly the navigation bar that frontpage makes on the fly with frontpage) So my question is.. how am I suppose to upload my asp.net application? thanks! Lee
Last reply by trend, -
- 2 replies
- 1.1k views
I have this script on my login page where there are two textboxes that collect username and password: <SCRIPT LANGUAGE="javascript"> if (document.all) { document.onkeydown = function () { var key_enter= 13; if (key_enter==event.keyCode) { document.getElementById('LinkButton1').click() } } } </SCRIPT> I also have an event that handles the linkbutton1.click event in the code behind. I've got two questions...Why is it beeping when I press enter? And the second is the password dissapears when I tab over to linkbutton1. Anyone know why?
Last reply by Codeless, -
- 2 replies
- 874 views
Here's the problem: I have a webform with many usercontrols. Those controls override the OnInit method, and the OnLoad method. The code runs fine, but I have some problem synchronizing all this. I have a certain routine I would like to execute each time a page is called by a client. This routine has to be done before ANY usercontrol is Init or Loaded. The question is: how do I do that? Where do I have to put the code in order to be sure It will be called before ANY other code? I tried in the «Init()» method of the main Page. It doesn't work since this «init» method is called after all controls in the page are called. Here's the scenario: 1) A client make a request.…
Last reply by utilitaire, -
-
- *Experts*
- 9 replies
- 2k views
Hi, I am trying to programmatically update a datetime field in a dataset with the current date and time (this line occurs within a for...next loop, with intLoop being the counter): dsResults.Tables("Queries").Rows(intLoop).Item("DateResolved") = Now() If the field already has a date in it, it works no problem. If, however, the field does not yet have a recorded value and is therefore null (which it often is) I get error number 13: Operator is not valid for type DBNull and type Date. The datatable ("Queries") is populated from a table in a SQL Server 2000 database. The column in question ("DateResolved")is a DateTime field which is set to allow null values. …
Last reply by bkedersha, -
-
-
- Administrators
- 23 replies
- 3k views
At this new job of mine, I'm working with a asp.net application that was done by another company... 1.# of users..maybe 200 2. It went Live, 5 months ago I'm new at this job but some stuff I've noticed: 1. They keep datasets in cache (they used to keep them in session). Users get "failed to load page from cache" from time to time 2. We got "out of memory exception" 5 or 6 times last week 3. Developers "throw" the errors instead of trapping them. Users get asp.net pink error pages 4. The code is layered into "facade", data layer and then the presentation layer. 5. Everything is in stored procs...maybe 1070 stored procs. now I told my managers that this is…
Last reply by eramgarden, -
-
- 4 replies
- 1k views
Hey Everyone: I am in need of a good database design book. I have some decent experience in creating databases and applications that use them, but I want to make sure I am not making some huge mistakes in my programs. I currently use MySQL and have recenlty been playing around with Firebird. In the past (years ago) I have used MS Access, but I'd rather not go back to that. I really just want to understand the best practices for designing and building solid relational databases. I have a master's degree in CS, so I can should be able to understand just about any book that is out there on the subject. I appreciate any and all suggestions.
Last reply by ALEX_0077, -
- 1 reply
- 2.5k views
Hi, I have a problem which I hope is easy. I have a program written in C#. I'm using a DataReader to retrive 4 rows of data from a Sybase database. Everything seems to work fine except when I call the DataReader.Close() method. The system just hangs. I'm using the OleDbDataReader. When I trace through the code using the debugger, I see that correct data is being returned in a timely manner. Also if I use Odbc objects (OdbcConnection, OdbcDataReader, OdbcCommand) with the appropriate connect string, everything works fine. Any help or guidance would be appreciated. Thanks. Here's the code. OleDbConnection myConn = new OleDbConnection(Session["ConnectionString"].To…
Last reply by Afraits, -
- 0 replies
- 544 views
Hi, I have a datagrid bound to a table.defaultview. I am using the defaultview.rowfilter property to filter the items I see on the datagrid. I manually parse the filter string to a : "event_st_date > 'dd-mm-yyyy' AND event_st_date < 'dd-mm-yyyy'" format, and assign that to my rowfilter. Wierd thing is - on some computers it only with a 'dd-mm-yyyy' format and on others it only works with a 'mm-dd-yyyy' format. I'm guessing its a framework revision issue, but all machines I checked were with the .Net 1.1 framework. my only solution was to try either of these and chech the defaultview.count property for 0 rows, on such case - try the other option. I'…
Last reply by silver83, -
-
- *Experts*
- 6 replies
- 2k views
Hello. My data grid is bound to a datasource and it's working great except for one thing. When I select on a particular row on the datagrid the cell I select becomes highlighted and not the entire row. I don't want just the one cell highlighted. I want to highlight the entire row. How do I do this? Thanks.
Last reply by Daspoo, -
-
- 5 replies
- 1.2k views
i've seen code that uses this alot and then some examples that don't use it at all... any good guidelines of when to use this error checking and when it's not needed? should it be in every method... etc... I did a search but couldn't find such a basic answer.
Last reply by reagan123, -
-
- *Experts*
- 15 replies
- 2.6k views
Hello, I need to take a string (4k characters or so), search for "return ss('go to" and take the url right before it.. Here is the txt I will be looking through: tons of code <a id=aw5 href=/url?sa=l&q=http://www.uis-insurance.com&ai=BAUQ5nBPrQuP9O7aeaJfTqOMJ0vqDCuqvqKQBwte0CrD6TxAFGAcoCDgASIo5UNyesZH4_____wGYAdpRqgEEMk5SU8gBAQ&num=7 onMouseOver="return ss('go to www.uis-insurance.com')" tons of code So basically I need to strip out /url?sa=l&q=http://www.uis-insurance.com&ai=BAUQ5nBPrQuP9O7aeaJfTqOMJ0vqDCuqvqKQBwte0CrD6TxAFGAcoCDgASIo5UNyesZH4_____wGYAdpRqgEEMk5SU8gBAQ&num=7 and store that in a string. (I say search for "…
Last reply by IngisKahn, -
-
-
- Administrators
- 14 replies
- 1.7k views
How many of you split their website into 3 dll: 1) Visual part (aspx) 2) Engine (code-behind) 3) Database access I already code all my webforms in code-behind. However, I haven't split the code-behind so that all database queries would be in a single classe (or group of classes). I've seen this approach somewhere on the web, but I'm not so sure I want to use it. Here's an example: Instead of doing this in a typical code-behind page: sqlcommand = "select * from user"; ... I could do something like this: MyProjectDataBase mpdb = new MyProjectDataBase(); ArrayList a = mpdb.GetUsers(); What do you think of this approach? In this way, all queries ar…
Last reply by Joe Mamma, -
-
- 9 replies
- 1.1k views
Trying to understand some C# code on the net: if ((string1 = string2) != null) { } What is this saying? Translators recommend: if not (string1=string2) is nothing then end if Which is incorrect as string1=string2 is boolean. I therefore thought it might be: if string1<>string2 then but it seems to be doing more than this. Any ideas? :)
Last reply by Joe Mamma, -
- 1 reply
- 1k views
Hey, I am starting a project with 5 other developers from all over the world, and we need a good way to communicate and keep everything organized... so I was just wondering if yall have any suggestions on good stuff for that... The last project I worked on with a few people, we had some forum software thing setup, and it was really good, had a bug tracker and stuff... but I can't remember what it was called, and i can't get ahold of the guy who had it...
Last reply by mskeel, -
- 2 replies
- 1.4k views
How to export mesh 3ds max to dx files??? or what is the name of the 3ds max plug-in to export mesh into a dx file???
Last reply by Machaira, -
-
- Administrators
- 5 replies
- 813 views
Here's what I have and what I'd like to do: A new User is added to a sql database via databound textboxes. The primary key is UserProfile field. I have Try/Catch set to Catch a SQLException when a duplicate UserProfile name is attempted to be entered. What I want to happen is give the user of the program a choice: Cancel the entire transaction (I have no problem here), or choose to attempt a different UserProfile, but preserving the changes so far and focus on the UserProfile. I used an OKCancel button, and attempted to set the OK option to allow the program user to attempt a new UserProfile name. Here's my code for the messagebox in my Catch statement: If Mess…
Last reply by rickb, -
-
Who's Online 0 Members, 0 Anonymous, 82 Guests (See full list)
- There are no registered users currently online