David Beitel, CTO of Zillow.com describes how the company is using technology to process millions of new property records into an electronic database and then post on the company's web site in a user-friendly format. by Administrator
TestWebService mySvc = new TestWebService(); mySvc.MultipleDatabaseHits();
}
What am I doing wrong ?
I'm not using RPC for soap so I know that the [SoapDocumentMethod(OneWay = true)] command is the correct one to use. I've seen examples where [SoapDocumentMethod(OneWay = true)] came before or after [WebMethod] - I tried it in both places and it didnt make a difference.
If you are reading this and can create MYSQL databases from scratch to make a web app, I need your help and will pay.
Have a prospective client that wants a site that is very DB driven. Needs a quote and have no idea what kind of time frame could be delivered. If I get the project, you get work.
I need to design a database to store a large number of numeric markers and am interested in feedback on how best to do this.
There are currently 80+ markers that need measuring, and additional markers will likely be added in the future. Each set of markers is associated with a test_ID (containing date of collection, ect). Also, each marker will have meta-descriptive info stored in a separate table.
Reporting and performance are important aspects of this system. I need to be able to generate percentiles, max/min, standard deviation, and other statistics on a given date range. I will also need to query against certain markers with values above or below certain ranges.
An existing (old) database was created years ago with each marker as a separate column - we've worked with this but any time new markers are added I have to spend several days revising & testing scripts. I want to avoid this pitfall in the new system if possible.
There will be a LOT of data stored in the database, so performance and optimization are key objectives.
So, my initial thought was to store markers in a table like this:
Hey everyone! I'm looking for a coding partner for a website I've been working on since last November. I find myself spending more time figuring out things and less time in actual development of the site--of course the learning could be rolled into the development, but it is apparent to me that more actual code needs to be written if I am to finish by my self-set deadline of the end of May.
The server-side script is done in PHP, the site uses a MySQL database, and there is some Javascript/AJAX implemented on the client-side.
This is probably the wrong place to find a person who has a strong background working with Javascript, but this is probably what I need more than anything since my knowledge is very limited in this area.
I can pay something, and I am open to a payment plan based on the revenue the site generates once it is officially launched.
A little background:
At one time I was a full-time professional photographer... it didn't work out so well since I really couldn't find a way to bring my potential clients to neutral ground in terms of negotiations. I also networked with many photographers in Orlando and around the United States who all seemed to make the same argument and really had a problem managing the administrative side of their business--often times hiring someone else to do it for the sake of not having to deal with it.
After completely bombing in the business in late 2006--a year after getting started, and acquring a full-time job in the technology sector, I got out of the business of actually taking the pictures, but the clients seemed to start pouring in due to the search engines ranking my current website high in returned results for folks looking for photographers in Orlando--where I'm based. There was no way that I could do the work while at the same time working my current job as a laser field service engineer--I wouldn't be in town. The solution was to help some of the photographers who I networked with out so I took care of all of the administrative work and hired them to do the actual photoshoot. We had a 40:60 [me:them] financial arrangement worked out which ultimately brought in about $20,000 last year for myself.
With the business growing, my time becoming more and more valuable, and advice from Mr. Trump [not personally, on T.V. lol] to "think big", I decided to start the National Photographer Group, LLC, and 9photographers.com, to take the whole thing to the web by creating a somewhat self-sufficient website where photographers could, for a monthly charge, use this site to take care of their administrative business--estimates, quotes, invoices, finances, project management, and lead generation.
As aforementioned, I started coding the site in November of 2007 and have put just about every weekend into some aspect of creating this website and business. I have already received many inquires from photographers anticipating the launch of the website.
So, I've been stubborn, to some extent, regarding whether or not I want to have somebody else help me with this script. The last thing that I want is for my script to be snatched up and spread over the web and have the business fail because of that. The business is going to go somewhere... but I'm finding that I really can't do it alone... I need some coding help, hence this entry.
So, if you are interested in working with me to help develop this site, or if you know someone who might be, or can point me in a direction where I can find someone who can help--preferably keeping the business in the U.S.A.-then by all means, please send a comment. Thank you for your time and sorry this was so long.
Microsoft has confirmed reports of vulnerability in Word that allows an attacker to exploit a system via the Microsoft Jet Database Engine, which shares data with Access, Visual Basic and third party applications. Microsoft in its advisory said the potential for attack is "very limited." Reports of...
I have taken over a website from another developer and am learning ASP.net and VB.net as I go. He had report functionality that did a query of the database, threw it in a gridview and then added a few lines of code that let it export from the gridview directly in Excel. The customer had me completely redesign the reports so that they required multiple queries of the database to get all the data and display it properly. I've put it into a basic HTML table. My questions are these:
1) Would it have been possible to manually put the data in a gridview, or is a gridview by definition bound to one sql query (I believe the answer is no, its not possible, but would just like to verify. 2) Is there any way to export info from an HTML table into an Excel spreadsheet? Or is it more a case of having to open a new Excel document and add in each field like I had to for the HTML table?
Any and all thoughts and suggestions are welcomed. Thanks in advance!
First off, I'll state that I'm working with C# 2008 express edition, SQL Server 2008 Professional edition, and .NET 3.5.
Second, I'll state that one of the ideas behind this project is to do it without .Net's auto-binding. If it can't be done without auto-binding, it's not going to get done at all, for reasons having to do with extreme customization of the data access code that will be happening way, way down the line. So I need an answer in code, not in designer. Thanks.
Okay, what I'm doing seems to me to be simple and obvious, but either .Net doesn't agree with me or I'm looking in the wrong place. I have a simple form. It contains a datagridview and three buttons. One button works perfectly--it's the one that closes the form, and we don't need to discuss it here. The other two buttons, however, are giving me fits. They are labelled "save changes" and "cancel".
The datagridview is bound to a DataTable. This is pretty standard code, I think:
SqlConnection cnErasmus = new SqlConnection();
//populate the datatable with the data already in the table.
tblAuthorType = PopulateDataSet(cnErasmus);
//Attach DataTable to datagrid.
dgvAuthorType.DataSource = tblAuthorType;
(note: it used to be a dataset. I forgot to change the name of the routine.)
In case you want/need to see the actual filling of the DataTable, I'll put it
private DataTable PopulateDataSet(SqlConnection cnErasmus)
{
string strAuthorTypeSelectQuery = "SELECT AuthType FROM AuthorType";
using (cnErasmus)
{
using (SqlCommand cmSelectCommand = new SqlCommand(strAuthorTypeSelectQuery, cnErasmus))
{
CreateConnectionString(cnErasmus);
OpenConnection(cnErasmus);
using (SqlDataReader theReader = cmSelectCommand.ExecuteReader())
{
tblAuthorType.Load(theReader);
CloseConnection(cnErasmus);
}
}
}
All of this is completely normal. At least, I think it is. Now, the tough part seems to be logging changes. The obvious way to do so, to me (I'm a database guy more than a programmer) is through a transaction object:
/******************SqlTransaction trnchangeAuthorTypeData =
cnErasmus.BeginTransaction("Changes");
//Must assign both transaction object and connection
//to Command object for a pending local transaction.
SqlCommand cmTransactionCommand = cnErasmus.CreateCommand();
cmTransactionCommand.Connection = cnErasmus;
cmTransactionCommand.Transaction = trnchangeAuthorTypeData;
//Whether transaction is committed or rolled back depends
//on which button the user presses...********************/
These are the lines just after setting the dgv's data source.
I've seen this done at least a dozen times in various places on the web, but in every case, the example has some sort of hardcoded INSERT or DELETE statement immediately following, and then a try/catch block with the appropriate transaction.Commit() or transaction.Rollback() statements. The important bit for me is that in every example I've found, all the statements follow one another. It's all very procedural. I want the Commit() or Rollback() to be fired based on which of those buttons gets pressed; the Cancel button will cause a Rollback() and the Save button will cause a Commit(). To me, this seems perfectly logical. My problem is that, unfortunately, trnchangeAuthorTypeData goes out of scope the second we hit the end of that block of code, and so is nowhere to be found when I get to btnSave_Click or btnCancel_Click. Setting it the normal way (trnChancgeAuthorTypeData = new SqlTransaction()) raises an error based on the protection level of SqlTransaction, so I can't declare it the way I declare every other variable. (While no resource I've consulted specifically explains this odd behavior, they all confirm that this is by design.)
So, after all that, my question is: how do I separate BeginTransaction(), Commit(), and Rollback() into three separate routines? If that's not possible, as I have spent the last twelve hours ascertaining, is there some way other than transactions to make sure that, when the Cancel button is pressed, the system will roll back all changes since either (a) the form was opened or (b) the Save button was last pressed, and that can be done in that manner (with the transaction-analogue starting in the same routine where the datagridview is bound, and finishing in one of the button-press routines)?
Okay, this is odd. Visual C# 2008 Express Edition on XPSP3.
I create a new form and drag a DataGridView onto it. Expand the little arrow to get the DataGridViewTasks dialog. Expand "Choose data source." One data source I have already created in this project is listed. But I need another one, so I click "Add Project Data Source...". Select "Database" from Choose Data Source Type and hit Next. Up comes the Choose Your Data Connection dialog box. The only data connection listed is Northwind.sdf (which is not the data connection I've already created and that is showing in the previous box). I click the "New Connection..." button and instead of getting the New Connection dialog, the Data Source Configuration Wizard closes and I'm back out at the DataGridViewTasks dialog.
This started happening last night. Before that, I was able to create data sources in this project without a problem. I have rebooted the computer multiple times since it started with no effect at all.
I'm working on a project idea that involves creating an army builder application of sorts. I essentially want to build and manage a database of my collection of figures. The catch is that I want this database to build off of a "static database" of the figures available for the game. This "static database" also needs to be able to be updated when new figures are released.
So my question is this... What is the best way to build this "static database"?
A comment by frequent contributor JesperFrimann last week caused me to take a closer look at licensing practices among major commercial database vendors other than Microsoft. All three of the big guys (Oracle, IBM, and Sybase) follow the same basic sales model: ...
I know. I'm such a noob. I've been looking everywhere online for just a simple login and logout code.. I did find one but now it seems to only work for show. Whether I'm logged in or out it doesn't recognize it either way. It does, however, connect to the database at least and will recognize username and password.
I just... need it to kill the session when you log out and then start it again when you log in.. My codes for members to see member only links is..
$dbservertype='mysql'; $servername='xxxx.perfora.net'; // username and password to log onto db server $dbusername='xxxx'; $dbpassword='xxxx'; // name of database $dbname='xxxx';
//////////////////////////////////////// ////// DONOT EDIT BELOW ///////// /////////////////////////////////////// connecttodb($servername,$dbname,$dbusername,$dbpassword); function connecttodb($servername,$dbname,$dbuser,$dbpassword) { global $link; $link=mysql_connect ("$servername","$dbuser","$dbpassword"); if(!$link){die("Could not connect to MySQL");} mysql_select_db("$dbname",$link) or die ("could not open db".mysql_error()); } ////////////////////////////// ?>
if($rec=mysql_fetch_array(mysql_query("SELECT * FROM Signup WHERE username='$username' AND Password = '$password'"))){ if(($rec['username']==$username)&&($rec['Password']==$password)){ include "include/newsession.php"; echo "
Welcome back
"; print "";
} } else {
session_unset(); echo "Wrong Login. Use your correct Name and Password and Try
";
} ?>
What am I doing wrong? ;_; this is the only thing keeping me from putting my site up... I hope my problem makes sense -_-
I know this is a long shot but I'm throwing it out here. I'm having an issue with installing Oracle ebusiness suite 12. The issues we are currently having are (there are multiple ones):
OS User and Group Check
Domain=domainname ,Username=administrator ,PC-Name=pcname RW-20016: Warning: - Please verify the user belongs to the administrators group. ___________________________________________________________________________________
I feel like that is the main cause of a lot of the issues. The rest are as follows:
E:\OracleEbiz\StageR12\startCD\Disk1\rapidwiz>echo off /cygdrive/c/WINDOWS/system32/cmd 'which' command is available. /usr/bin/gnumake 'gnumake' is available. /cygdrive/c/WINDOWS/system32/cl 'cc' is available. /usr/bin/link 'link' is available. ERRORCODE = 0 ERRORCODE_ENDThe system cannot find the path specified. ___________________________________________________________________________________
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1>S:\oracle\VIS\db\tech_st\10.2.0\bin\oradim.exe -NEW -SID VIS
Instance created.
DIM-00019: create service error
O/S-Error: (OS 3) The system cannot find the path specified.
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1>echo "Cannot install service for database ORACLE_HOME\n";
"Cannot install service for database ORACLE_HOME\n"; RW-50010: Error: - script has returned an error: 14 ___________________________________________________________________________________
If anybody has any idea's or any insight what so ever, I would greatly appreciate it this...
I have two dead beat ASP sites I need to get off a under used dedicated rack and onto some sort of shared hosting service.... my biggest problem is that I despise GoDaddy and they're about the only name I know of in the ASP shared hosting world. Anyone else out there have any experience with shared ASP hosting services and who to avoid or who to check into.
Also this is legacy,lets gut VBA and make it a web script, ASP with minimal MSSQL backend data ( 2 databases, 1:1 per site )
Advice to employees on the proper use of the System Administrator's valuable time
(In following examples, we will substitute the name "Ted" as the System Administrator)
Make sure to save all your MP3 files on your network drive. No sense in wasting valuable space on your local drive! Plus, Ted loves browsing through 100+ GB of music files while he backs up the servers.
Play with all the wires you can find. If you can't find enough, open something up to expose them. After you have finished, and nothing works anymore, put it all back together and call Ted. Deny that you touched anything and that it was working perfectly only five minutes ago. Ted just loves a good mystery. For added effect you can keep looking over his shoulder and ask what each wire is for.
Never write down error messages. Just click OK, or restart your computer. Ted likes to guess what the error message was.
When talking about your computer, use terms like "Thingy" and "Big Connector."
If you get an EXE file in an email attachment, open it immediately. Ted likes to make sure the anti-virus software is working properly.
When Ted says he coming right over, log out and go for coffee. It's no problem for him to remember your password.
When you call Ted to have your computer moved, be sure to leave it buried under a year-old pile of postcards, baby pictures, stuffed animals, dried flowers, unpaid bills, bowling trophies and Popsicle sticks. Ted doesn't have a life, and he finds it deeply moving to catch a glimpse of yours.
When Ted sends you an email marked as "Highly Important" or "Action Required", delete it at once. He's probably just testing some new-fangled email software.
When Ted's eating lunch at his desk or in the lunchroom, walk right in, grab a few of his fries, then spill your guts and expect him to respond immediately. Ted lives to serve, and he's always ready to think about fixing computers, especially yours.
When Ted's at the water cooler or outside taking a breath of fresh air, find him and ask him a computer question. The only reason he takes breaks at all is to ferret out all those employees who don't have email or a telephone.
Send urgent email ALL IN UPPERCASE. The mail server picks it up and flags it as a rush delivery.
When the photocopier doesn't work, call Ted. There's electronics in it, so it should be right up his alley.
When you're getting a NO DIAL TONE message at your home computer, call Ted. He enjoys fixing telephone problems from remote locations. Especially on weekends.
When something goes wrong with your home PC, dump it on Ted's chair the next morning with no name, no phone number, and no description of the problem. Ted just loves a good mystery.
When you have Ted on the phone walking you through changing a setting on your PC, read the newspaper. Ted doesn't actually mean for you to DO anything. He just loves to hear himself talk.
When your company offers training on an upcoming OS upgrade, don't bother to sign up. Ted will be there to hold your hand when the time comes.
When the printer won't print, re-send the job 20 times in rapid succession. That should do the trick.
When the printer still won't print after 20 tries, send the job to all the printers in the office. One of them is bound to work.
Don't use online help. Online help is for wimps.
Don't read the operator's manual. Manuals are for wussies.
If you're taking night classes in computer science, feel free to demonstrate your fledgling expertise by updating the network drivers for you and all your co-workers. Ted will be grateful for the overtime when he has to stay until 2:30am fixing all of them.
When Ted's fixing your computer at a quarter past one, eat your Whopper with cheese in his face. He functions better when he's slightly dizzy from hunger.
When Ted asks you whether you've installed any new software on your computer, LIE. It's no one else's business what you've got on your computer.
If the mouse cable keeps knocking down the framed picture of your dog, lift the monitor and stuff the cable under it. Those skinny Mouse cables were designed to have 55 lbs. of computer monitor crushing them.
If the space bar on your keyboard doesn't work, blame Ted for not upgrading it sooner. Hell, it's not your fault there's a half pound of pizza crust crumbs, nail clippings, and big sticky drops of Mountain Dew under the keys.
When you get the message saying "Are you sure?", click the "Yes" button as fast as you can. Hell, if you weren't sure, you wouldn't be doing it, would you?
Feel perfectly free to say things like "I don't know nothing about that boneheaded computer crap." It never bothers Ted to hear his area of professional expertise referred to as boneheaded crap.
Don't even think of breaking large print jobs down into smaller chunks. God forbid somebody else should sneak a one-page job in between your 500-page Word document.
When you send that 500-page document to the printer, don't bother to check if the printer has enough paper. That's Ted's job.
When Ted calls you 30 minutes later and tells you that the printer printed 24 pages of your 500-page document before it ran out of paper, and there are now nine other jobs in the queue behind yours, ask him why he didn't bother to add more paper.
When you receive a 130 MB movie file, send it to everyone as a high-priority mail attachment. Ted's provided plenty of disk space and processor capacity on the new mail server for just those kinds of important things.
When you bump into Ted in the grocery store on a Sunday afternoon, ask him computer questions. He works 24/7, and is always thinking about computers, even when he's at super-market buying toilet paper and doggie treats.
If your son is a student in computer science, have him come in on the weekends and do his projects on your office computer. Ted will be there for you when your son's illegal copy of Visual Basic 6.0 makes the Access database keel over and die.
When you bring Ted your own "no-name" brand PC to repair for free at the office, tell him how urgently he needs to fix it so you can get back to playing EverQuest. He'll get on it right away, because everyone knows he doesn't do anything all day except surf the Internet.
Don't ever thank Ted. He loves fixing everything AND getting paid for it!
Hi, What I am trying to do this time is create an asp.net listbox from an SQL Server 2005 result set (done) which then users can sort the records to form the running order within the same Listbox and then submit all the records including the new running order back into the database. Each record has already been automatically assigned a running order number based on their position in the old website.
I am looking for suggestions on the quickest and *easist* way to do this, examples would be much appreciated. My web application is asp.net written in C#.
I have a site that we are moving from Flat HTML into a Database using in house written VB.Net applications. The website is roughly 10,000 pages. The volume of pages however is not the problem. The Page HTML content is all now held in a database, Now I am looping through the pages and checking each page using regular expressions for either a href or img src tag so I can collect the URL for all images and attachments. Once I have these, i pass the URL (currently) to the HttpWebRequest.DownloadData which makes a request to the website for the url provided and then the attachment is downloaded and eventually written out using the WriteAllBytes() function. This works for one iterration and then times out. What i need to know is why does it time out and is there a better method of doing this? the files can be rather large that are getting moved the site is about 5.7gb and most of this will be down to diffrent file formats.
I could really use some advice, any is appreciated greatly.
I have a client who wants a website for a bartering listing service, she would like a quote what it will cost. Most of my clients so far have gone with web packages. So my question is how do u estimate how long's something to take to code. I don't normally charge hourly because I have a disability and I may be slightly slower in typing than a "normal" person. Any tips?
Heres the features going into the project
Features of the bartering listings
Ø Users have an ability to sign in to add, edit and delete their product or service they are bartering
Ø Listing of Contact info, product/service to be bartered, skills to have, base price for product/service
Ø Ability to search the database. Product/service listed in categories
Almost ever since I got acquainted with category theory it seemed to me like a perfect tool for formalizing database queries and their properties, and, consequently, for building optimization frameworks. I am considering this for my thesis, but I can't find any work about applying category theory to query optimization, and this frightens me a bit: looks like someone has long ago proved that this is impossible (why would it be?), and now noone even tries.
Could you give me pointers to some works on the topic? I've googled the hell out of the internet, I found some works on formalizing data models with CT but nothing on exactly optimization.