User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 334,840 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,959 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our advertiser:
Showing results 1 to 40 of 500
Search took 0.08 seconds.
Posts Made By: hollystyles
Forum: MS SQL 10 Days Ago
Replies: 6
Views: 311
Posted By hollystyles
Re: Problem using JOIN with six tables

It's late and I'm a little blurry. But from what I can see in your query I think this: tDocumentsA.user_id = tUsers.contact_id should be: tDocumentsA.user_id = tUsers.id (the same for all document...
Forum: Geeks' Lounge 20 Days Ago
Replies: 91
Poll: Ufo
Views: 3,437
Posted By hollystyles
Re: Ufo

:icon_eek: Is this a trick question?
Forum: DaniWeb Community Feedback 20 Days Ago
Replies: 15
Views: 585
Posted By hollystyles
Re: How do I delete my DaniWeb Account?

What? I don't think so. I may be wrong but I can't be bothered to look it up.

What I do know is:

- The Data Protection Act is grossly misunderstood in the UK.

- You are obliged to provide what you...
Forum: Geeks' Lounge 21 Days Ago
Replies: 91
Poll: Ufo
Views: 3,437
Posted By hollystyles
Re: Ufo

No her body has been overtaken by a particularly nasty parasitic xenomorph from the lower quadrant of Andromeda, It's posting here to avert suspicion, but I know my LGM's :)
Forum: Gadget Enthusiasts' Lounge 22 Days Ago
Replies: 17
Views: 349
Posted By hollystyles
Re: What is your favorite keyboard that you use or want and why?

This is quite a coincidence, because I have ended up with a new keyboard by accident this weekend. Let me explain.

I don't very often have to work overtime on a project (thank goodness) But every...
Forum: Geeks' Lounge 28 Days Ago
Replies: 73
Views: 1,880
Posted By hollystyles
Re: Question of the day

It depends on who your asking, relatively speaking.
Forum: Geeks' Lounge 32 Days Ago
Replies: 73
Views: 1,880
Posted By hollystyles
Re: Question of the day

Why are the buses in Canada so weird ?

(I mean if Steven mistook the drawing for a retreating bus .... )
Forum: Geeks' Lounge 32 Days Ago
Replies: 73
Views: 1,880
Posted By hollystyles
Re: Question of the day

What bus? it looks more like a UFO to me :)

Why do we call it 'cracking' a window when it doesn't break?
Forum: C# Apr 11th, 2008
Replies: 10
Views: 276
Posted By hollystyles
Re: Is there a way to not to use a data base

Look into SqlLite (http://www.sqlite.org/) its free and simple and can be packaged with your app more easily.
Forum: C# Mar 28th, 2008
Replies: 23
Views: 2,822
Posted By hollystyles
Re: SQL Data into Textbox or Listbox

It's just a preference. I like things to be as loosley coupled as possible. I prefer to bind to collections of objects, rather than strongly typed datasets. Like most things it depends on what your...
Forum: C# Mar 27th, 2008
Replies: 23
Views: 2,822
Posted By hollystyles
Re: SQL Data into Textbox or Listbox

Oops perhaps you are doinf a Forms project not a web project.

I have started a forms project and I can't get the binding source to use the new query either yet. I am too tired at the moment.

One...
Forum: C# Mar 27th, 2008
Replies: 23
Views: 2,822
Posted By hollystyles
Re: SQL Data into Textbox or Listbox

The query has the single column you want 'Expr1' bind the textbox to that.

I am not very knowledgeable with BindingSources I am afraid, I don't like them. I prefer to have simple business objects....
Forum: C# Mar 26th, 2008
Replies: 23
Views: 2,822
Posted By hollystyles
Re: SQL Data into Textbox or Listbox

SELECT Name + '\n' + Street + '\n' + ZipCode +'\n' + City
FROM Customers
WHERE (CustomerID = @1)


This assumes none of the columns allow NULLS. Otherwise you will need to use ISNULL(name, '') + '\n'...
Forum: ASP.NET Mar 14th, 2008
Replies: 15
Views: 585
Posted By hollystyles
Re: How do I Evaluate Null value from database?

Aha, you are using a strongly typed DataTable.

You must be handling the DBNull somehow otherwise you would be getting an exception when populating the table.

Have you tried just == null ?
Forum: ASP.NET Mar 14th, 2008
Replies: 15
Views: 585
Posted By hollystyles
Re: How do I Evaluate Null value from database?

Hmm... well it works for me. You'll have to post some code or give more information.
Forum: ASP.NET Mar 14th, 2008
Replies: 8
Views: 721
Posted By hollystyles
Re: Radiobutton Problem

Dont have the radio button in the control. Use a repeater to render radio button, user control pairs.
Forum: ASP.NET Mar 14th, 2008
Replies: 15
Views: 585
Posted By hollystyles
Re: How do I Evaluate Null value from database?

You need to compare the column value with System.DBNull.Value

So assuming a DataTable for example:


if( myDataTable.Rows[0]["someColumn"].Equals(System.DBNull.Value) )
{
//Handle...
Forum: Geeks' Lounge Mar 14th, 2008
Replies: 15
Views: 1,000
Posted By hollystyles
Re: hollystyles

Do you have a welcome thread? If so I can't find it.
Forum: Geeks' Lounge Mar 13th, 2008
Replies: 15
Views: 1,000
Posted By hollystyles
Re: hollystyles

I didn't, this thread originates from my birthday in 2007. But I didn't find it till the 30th of march that year.

A year passed and it got bumped again by Sullys Boo, for which I was super chuffed!
Forum: MS SQL Mar 13th, 2008
Replies: 7
Views: 2,142
Posted By hollystyles
Re: Copy a table from one database to another database in another ms sql server using ..

Oops we posted at same time. When restoring you will have to tweek some options: 1. the name for the database (cos it doesn't exist on the new server yet) just type it in the drop down box. And 2....
Forum: MS SQL Mar 13th, 2008
Replies: 7
Views: 2,142
Posted By hollystyles
Re: Copy a table from one database to another database in another ms sql server using ..

Right click the database -> Tasks -> Back Up...

More info here (quite a way down it looks at SSMSEE in depth) Just CTRL + F for...
Forum: MS SQL Mar 13th, 2008
Replies: 7
Views: 2,142
Posted By hollystyles
Re: Copy a table from one database to another database in another ms sql server using ..

Do a complete backup, copy the file to the other server and restore it there.

Or you can detach the database, copy the .mdf and .ldf files zip them up and copy them over to the new server, unzipp...
Forum: ASP.NET Mar 13th, 2008
Replies: 2
Views: 143
Posted By hollystyles
Forum: Geeks' Lounge Mar 13th, 2008
Replies: 15
Views: 1,000
Posted By hollystyles
Re: hollystyles

11 Days after my Dad's.
Forum: MS SQL Mar 13th, 2008
Replies: 10
Views: 528
Posted By hollystyles
Re: sql - how to

There is a SQL standard but each implementatin has it's own quirks on top of that. The only cure for this is experience. INNER JOIN is the assumed default in TSQL so you can be lazy and just type...
Forum: MS SQL Mar 12th, 2008
Replies: 10
Views: 528
Posted By hollystyles
Re: sql - how to

MS Access !! yuck !! You didn't say you were using Access, and as this is a MS SQL Forum I used TSQL.

Ok just for you I have recreated everything in Access and tweaked the SQL. Basically removed...
Forum: MS SQL Mar 12th, 2008
Replies: 2
Views: 279
Posted By hollystyles
Re: Avoiding null results when adding two columns any of which is null

That works. Also there is TSQL's ISNULL function.


SELECT
ISNULL(FirstColumn, '') + ' ' + ISNULL(SecondColumn, '') AS ResultColumn
FROM
mytable
Forum: MS SQL Mar 12th, 2008
Replies: 10
Views: 528
Posted By hollystyles
Re: sql - how to

Excellent. Please mark thread solved :)
Forum: MS SQL Mar 12th, 2008
Replies: 3
Views: 503
Posted By hollystyles
Re: deleting records from ms sql table where columns have duplicate values

Fee Fi Fo Fum I smell the blood of a Tsql Cursor, be he slow or be he slower, I'll grind his bones with my set theory mower.

Sorry I'm on a personal crusade against cursors :)

I offer my own...
Forum: ASP.NET Mar 12th, 2008
Replies: 4
Views: 314
Posted By hollystyles
Re: how does IIS deal wth session state?

ViewState is held in a hidden field within the rendered webpage, session state is held in the memory of the webserver. Each session has a unique id called a sessionid. The sessionid is given to the...
Forum: Geeks' Lounge Mar 12th, 2008
Replies: 869
Views: 29,916
Posted By hollystyles
Re: What are you eating/drinking right now?

Apricot and Almond danish as it's my birthday.
Forum: Geeks' Lounge Mar 12th, 2008
Replies: 54
Views: 1,600
Posted By hollystyles
Re: 1,000 Post

Hooray! Congratulations, welcome to the 1000+ club
:icon_mrgreen:
Forum: MS SQL Mar 12th, 2008
Replies: 10
Views: 528
Posted By hollystyles
Re: sql - how to

Hmm re-reading your post that may not be quite what you want, you want lowest quote regardless of vendor I think.

select
q.[ID],
q.item,
v.[name],
mq.minprice,
v.phone#,
v.fax#
from
Forum: MS SQL Mar 12th, 2008
Replies: 10
Views: 528
Posted By hollystyles
Re: sql - how to

Firstly just join the quote_tb to the vendor_tb. That gives the vendor details for ALL quotes.

Then use GROUP BY (to merge up all the repeating colums (ID, item, name, phone#, fax#) and the...
Forum: MS SQL Mar 12th, 2008
Replies: 1
Views: 195
Posted By hollystyles
Re: sql server services

Whch version? and depends on what was installed (typical/custom)

Just type services.msc into Start -> Run
Scroll down to Services beginning with M and S

Services names are prefixed MSSQLblah.....
Forum: Geeks' Lounge Mar 12th, 2008
Replies: 15
Views: 1,000
Posted By hollystyles
Re: hollystyles

Thank you SB :)

You made my day.
Forum: ASP.NET Mar 11th, 2008
Replies: 10
Views: 449
Posted By hollystyles
Re: need help getting started

This is due to windows integrated authentication (NTLM), although you are logged into Windows those credentials are not necessarily automatically passed on when required it certain circumstances....
Forum: Geeks' Lounge Mar 10th, 2008
Replies: 10
Views: 416
Posted By hollystyles
Re: Morning

Afternoon.

It's cleared up a little, a few sunny spells in Ipswich. But, apparently there's more mahem around the corner.

My wife and I took the dogs out first thing for there toilet as is...
Forum: Geeks' Lounge Mar 7th, 2008
Replies: 45
Views: 3,644
Posted By hollystyles
Re: New FireFox -vs- New I.E.

I love FF for it's extensions, I can browse without a mouse, squash all the adds, interogate HTTP Headers ... etc etc etc If I need IE rendering for a non-standards site right click the FF tab and...
Forum: MS SQL Mar 7th, 2008
Replies: 2
Views: 467
Posted By hollystyles
Re: Doubt about complex sub-expressions on queries

You can do it with a sub query:


SELECT
C,
F,
I,
C * F AS total1,
F * I AS total2,
C * I AS total3,
Showing results 1 to 40 of 500

 
All times are GMT -4. The time now is 3:39 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC