Search Results

Showing results 1 to 40 of 1000
Search took 0.07 seconds.
Search: Posts Made By: hollystyles
Forum: ASP.NET Apr 3rd, 2009
Replies: 10
Views: 1,487
Posted By hollystyles
What database are you using? OLE is slow but may be your only choice.

Also use a reader (forward only cursor) instead of a DataTable, it's faster for this kind of scenario.

But, consider the...
Forum: ASP.NET Apr 3rd, 2009
Replies: 4
Views: 757
Posted By hollystyles
greeny_1984: Well that would just exhibit the same behaviour as whats currently happening. But you're on the right track.

Image buttons are rendered as type="submit" which means when you press the...
Forum: MS SQL Apr 3rd, 2009
Replies: 2
Views: 697
Posted By hollystyles
Stored procedures need to be created using the CREATE PROCEDURE statement and then executed (F5 or the green play button in the toolbar). They are compiled and stored in the database itself. If you...
Forum: Geeks' Lounge Mar 24th, 2009
Replies: 600
Solved: Smoking
Views: 44,771
Posted By hollystyles
I managed a couple of months over Christmas, but am smokin' again. Thinking I will never quit now. One more smoker in the world... again.
Forum: Visual Basic 4 / 5 / 6 Dec 23rd, 2008
Replies: 2
Views: 487
Posted By hollystyles
Hmm stinks of copyright theft. Tsk the ever more redundant web....
Forum: Geeks' Lounge Oct 20th, 2008
Replies: 11
Views: 1,916
Posted By hollystyles
OMG, it took you over two years to improve by just 1% !!!!
Forum: Database Design Sep 4th, 2008
Replies: 3
Views: 4,198
Posted By hollystyles
Forum: Posting Games Aug 1st, 2008
Replies: 634
Views: 53,339
Posted By hollystyles
county
mutiny
tummy

spiritually
Forum: Posting Games Aug 1st, 2008
Replies: 634
Views: 53,339
Posted By hollystyles
tendon
tenet
denote
toned

regulatory
Forum: Posting Games Jul 31st, 2008
Replies: 634
Views: 53,339
Posted By hollystyles
Forum: VB.NET Jun 9th, 2008
Replies: 3
Views: 3,112
Posted By hollystyles
I can help by saying wishful thinking is unlikely to get you very far. And neither will posting on the end of two year old threads.

I recommend you re-post in the correct Community Introduction...
Forum: MS SQL May 27th, 2008
Replies: 11
Views: 6,698
Posted By hollystyles
(Holyl is now bald as a coot)

I think EXEC @tsql needs to be EXEC(@tsql) with parenthesis.

and getting the error:-
The name 'ALTER TABLE [] ADD []' is not a valid identifier.

To me this...
Forum: MS SQL May 27th, 2008
Replies: 11
Views: 6,698
Posted By hollystyles
(Holly pulls his hair out ....) I see an important space disappeared in my second post! gah! ok use this:

Spot the difference:

--CORRECT CODE
SET @tsql = 'ALTER TABLE [' + @tablename + '] ADD...
Forum: MS SQL May 23rd, 2008
Replies: 11
Views: 6,698
Posted By hollystyles
The table must exist in the database.

Also you have now introduced spaces between the [ and the table name, you need to remove those, same for the column name unless you want lots of subtle bugs...
Forum: MS SQL May 23rd, 2008
Replies: 11
Views: 6,698
Posted By hollystyles
Here's a tip: amend the stored proc to select @tsql instead of EXEC(@tsl)


CREATE PROCEDURE sp_addcolumn
-- Add the parameters for the stored procedure here
@TABLE_NAME varchar(50) = 0, ...
Forum: MS SQL May 23rd, 2008
Replies: 11
Views: 6,698
Posted By hollystyles
Alter table can't take dynamic parameters. To do this you will have to concatenate the whole TSQL command as a string dynamically and then execute it. Also you don't need the COLUMN keyword.


...
Forum: C# May 23rd, 2008
Replies: 1
Views: 373
Posted By hollystyles
Put your terms into Google, read the links and try it out. I put 'c# myql' into google and first hit was this...
Forum: DaniWeb Community Feedback May 23rd, 2008
Replies: 127
Views: 13,623
Posted By hollystyles
We have that here too Jb (admittedly it's the exception to the rule) There's a great little private petrol station near me that fills your tank for you, but I rarely use it as their prices are higher...
Forum: JavaScript / DHTML / AJAX May 22nd, 2008
Replies: 11
Views: 1,745
Posted By hollystyles
Welcome to the crazeee world of browser incompatability :)

There is an ECMAScript standard (Ha ha ha ha laughs uncontrollably) which has been interpreted by browser creaters in a lot of different...
Forum: Geeks' Lounge May 22nd, 2008
Replies: 10
Views: 1,076
Posted By hollystyles
Google for programming blogs there's acres of material.

Steve Yegge (http://steve-yegge.blogspot.com) / Joel spolskey (http://joelonsoftware.com) and Jeff Atwood (http://codinghorror.com) are some...
Forum: VB.NET May 22nd, 2008
Replies: 1
Views: 534
Posted By hollystyles
You could wrap the C++ app as a plug-in.

Other than that... no not really.

Are you talking server-side ?
Forum: MS SQL May 9th, 2008
Replies: 6
Views: 1,391
Posted By hollystyles
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 Apr 30th, 2008
Replies: 94
Poll: Ufo
Views: 14,027
Posted By hollystyles
:icon_eek: Is this a trick question?
Forum: DaniWeb Community Feedback Apr 29th, 2008
Replies: 15
Views: 2,571
Posted By hollystyles
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...
Forum: Geeks' Lounge Apr 29th, 2008
Replies: 94
Poll: Ufo
Views: 14,027
Posted By hollystyles
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: IT Professionals' Lounge Apr 27th, 2008
Replies: 21
Views: 2,637
Posted By hollystyles
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 Apr 22nd, 2008
Replies: 205
Views: 17,873
Posted By hollystyles
It depends on who your asking, relatively speaking.
Forum: Geeks' Lounge Apr 18th, 2008
Replies: 205
Views: 17,873
Posted By hollystyles
Why are the buses in Canada so weird ?

(I mean if Steven mistook the drawing for a retreating bus .... )
Forum: Geeks' Lounge Apr 18th, 2008
Replies: 205
Views: 17,873
Posted By hollystyles
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: 1,088
Posted By hollystyles
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: 19,940
Posted By hollystyles
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: 19,940
Posted By hollystyles
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.
...
Forum: C# Mar 27th, 2008
Replies: 23
Views: 19,940
Posted By hollystyles
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: 19,940
Posted By hollystyles
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, '') +...
Forum: ASP.NET Mar 14th, 2008
Replies: 17
Views: 3,268
Posted By hollystyles
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: 17
Views: 3,268
Posted By hollystyles
Hmm... well it works for me. You'll have to post some code or give more information.
Forum: ASP.NET Mar 14th, 2008
Replies: 9
Views: 3,734
Posted By hollystyles
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: 17
Views: 3,268
Posted By hollystyles
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,997
Posted By hollystyles
Do you have a welcome thread? If so I can't find it.
Forum: Geeks' Lounge Mar 13th, 2008
Replies: 15
Views: 1,997
Posted By 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!
Showing results 1 to 40 of 1000

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC