594 Posted Topics

Member Avatar for shikeb

I would argue C# is better from an ease of reading/typing the syntax point of view. But that's it, otherwise it doesn't matter. It's personal taste.

Member Avatar for Dhaneshnm
0
283
Member Avatar for ProgrammersTalk
Member Avatar for james_eblin

Well it declares some variables R=0; x1= blah y1=blah... Then where it starts 'DI' that's an array of images on the page (DI probably for DocumentImages) document.getElementsByTagName("img") returns an array of references to every img object in the DOM (Document Object Model). DIL is the length of DI so that's …

Member Avatar for James1997123
0
119
Member Avatar for Breez
Member Avatar for mayo_tech11

Books I have read and recommend (in no particular order of preference or genre): [code] Steven Hawkins: A Breif History of Time Issac Asimov: Extraterrestrial Civilisations Jung Chang: Wild Swans: Three Daughters of China Bill Bryson: A Short History Of Nearly Everything Notes From a Small Island Orson Scott Card: …

Member Avatar for techbound
0
2K
Member Avatar for pizzafiend
Member Avatar for justapimp

You need to compare the column value with System.DBNull.Value So assuming a DataTable for example: [code] if( myDataTable.Rows[0]["someColumn"].Equals(System.DBNull.Value) ) { //Handle situation for null value. } [/code]

Member Avatar for Kusno
0
347
Member Avatar for ZZucker

[QUOTE]Nope. It's going to the left, because you can't see the door where you get in. (not true for England, New Zealand etc) [/QUOTE] What bus? it looks more like a UFO to me :) Why do we call it 'cracking' a window when it doesn't break?

Member Avatar for Lardmeister
0
1K
Member Avatar for zandiago
Re: Ufo

a UFO cannot exist, as it is always identifiable by the person who threw/is flying/is flying in it. It's all relative you see. But, then again I suppose if the extra terestrial pilot is of a certain gender it is well known they often can't identify their vehicle beyond it's …

Member Avatar for R0bb0b
0
487
Member Avatar for forumdude123

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 now and then one slips a little too far and we end up in …

Member Avatar for abetageek
0
267
Member Avatar for SIDE

Prior to Sql Server 2005 it would have been text or nText (the n prefix is for unicode data as opposed to ASCII data) as varchar is limited to approx 8000 chars (the max length of a row allowed and if you use it all for one varchar column you …

Member Avatar for hollystyles
0
205
Member Avatar for Dani

[QUOTE=jbennet;591996]Wait, you Yanks have people to pump your petrol FOR YOU???? WTF.[/QUOTE] 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 …

Member Avatar for William Hemsworth
0
997
Member Avatar for crunchie

I'm a sucker for shells and skins me. This is me now, next week ? who knows.

Member Avatar for shaneram
0
2K
Member Avatar for brightline

Dont have the radio button in the control. Use a repeater to render radio button, user control pairs.

Member Avatar for pfdsilva
0
175
Member Avatar for ganeshk

Please search forums before you post questions, 99.9% of questions have been asked before: [URL="http://www.daniweb.com/techtalkforums/showthread.php?t=51116&highlight=generator"]http://www.daniweb.com/techtalkforums/showthread.php?t=51116&highlight=generator[/URL] There are sites like these: [URL="http://www.rentacoder.com"]http://www.rentacoder.com[/URL] Full of people who need software, have a look throuogh to get ideas .

Member Avatar for hollystyles
0
219
Member Avatar for OmniX

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 ways all who claim compliance (Bunches up in another fit of giggles) javascript running in a browser is …

Member Avatar for ~s.o.s~
0
158
Member Avatar for Maksap

Put your terms into Google, read the links and try it out. I put 'c# myql' into google and first hit was [URL="http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/"]this[/URL] That's how I learned to connect to MySql from .NET (Not from that particular link but by searching the net and reading whats there and trying it …

Member Avatar for hollystyles
0
93
Member Avatar for lese

Google for programming blogs there's acres of material. [URL="http://steve-yegge.blogspot.com"]Steve Yegge[/URL] / [URL="http://joelonsoftware.com"]Joel spolskey[/URL] and [URL="http://codinghorror.com"]Jeff Atwood[/URL] are some of my favourites. They link prolifically to loads of good stuff. Also reddit and slashdot are hot IT sites.

Member Avatar for hollystyles
0
181
Member Avatar for vijaymmathews

You could wrap the C++ app as a plug-in. Other than that... no not really. Are you talking server-side ?

Member Avatar for hollystyles
0
77
Member Avatar for mattyd

[QUOTE]huh? It is not possible to make something from nothing..[/QUOTE] In the beginning ? I'm not sure there is a beginning or a time when there was nothing, merely a barrier at which point the rules of nature that we have created thus far to explain our current universe were... …

Member Avatar for ~s.o.s~
3
10K
Member Avatar for recursiveNugget

It's late and I'm a little blurry. But from what I can see in your query I think this: [inlinecode]tDocumentsA.user_id = tUsers.contact_id [/inlinecode] should be: [inlinecode]tDocumentsA.user_id = tUsers.id [/inlinecode] (the same for all document table joins) And all your JOINS should be INNER JOIN not LEFT OUTER JOIN.

Member Avatar for recursiveNugget
0
892
Member Avatar for uniquestar

Can you show a bit of your code behind your form? I presume your building this in VB6 studio? I can help you, just hang in there, give me a little more info. while i re-install vs 6. I did something similar but I havn't touched data controls for about …

Member Avatar for hell_tej
0
1K
Member Avatar for maui_mallard
Member Avatar for jbennet
2
312
Member Avatar for knowledgelover

Look into [URL="http://www.sqlite.org/"]SqlLite[/URL] its free and simple and can be packaged with your app more easily.

Member Avatar for JerryShaw
0
109
Member Avatar for plusplus

The problem is you haven't researched ASP.NET properly. Use Google (or your favourite search engine) to search tutorials like this: [URL="http://www.sitepoint.com/article/getting-started-asp-net"]http://www.sitepoint.com/article/getting-started-asp-net[/URL]

Member Avatar for plusplus
0
106
Member Avatar for Sulley's Boo

Er hi.. I have no idea how I got to this page, but here I am and although it's a little late perhaps, erm.. thanx peeps!

Member Avatar for jbennet
0
148
Member Avatar for mattyd

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 switch rendering engine. I prefer IE's dev toolbar add-in though and thats …

Member Avatar for GrimJack
0
374
Member Avatar for Tara423

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 aggragate function MIN on the quote column to reduce the result set to just the lowest …

Member Avatar for Tara423
0
153
Member Avatar for techbrain55
Member Avatar for majestic0110

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 client browser on first request and quoted by the browser on each subsequent request …

Member Avatar for majestic0110
0
132
Member Avatar for serkan sendur

That works. Also there is TSQL's ISNULL function. [code] SELECT ISNULL(FirstColumn, '') + ' ' + ISNULL(SecondColumn, '') AS ResultColumn FROM mytable [/code]

Member Avatar for serkan sendur
0
63
Member Avatar for serkan sendur

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 humble solution: [code] DELETE FROM names WHERE EXISTS ( …

Member Avatar for serkan sendur
0
123
Member Avatar for someoneelse

I think there's a way to attach the mdf file to Sql Server on the remote host during deployment or in the application config or something. I've never done it cos we run our own web-servers and db-servers. But I'll see what I can find out.

Member Avatar for jayakumarjesus
0
267
Member Avatar for sam1

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.. or SQLblah...

Member Avatar for hollystyles
0
53
Member Avatar for techno t

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 customary. Our brolly lasted about three seconds! he he. It wouldn't surprise me if parts …

Member Avatar for jbennet
0
102
Member Avatar for sneekula
Member Avatar for reddawg
0
1K
Member Avatar for ndeniche

I think something else you have installed is listening on port 80, browse [inlinecode]http://localhost[/inlinecode] what do you see ?

Member Avatar for ndeniche
0
185
Member Avatar for fcaserio

You can do it with a sub query: [code=tsql] SELECT C, F, I, C * F AS total1, F * I AS total2, C * I AS total3, C * F * I AS total FROM ( SELECT (A + B) AS C, (D + E) AS F, (G + …

Member Avatar for hollystyles
0
64
Member Avatar for aasahi

Start -> Run type 'cmd' (without quotes) press enter at the command prompt type: >net start "Sql Server (SQLEXPRESS)" Press enter This ensures the service is running, if it's already started no problem, if it isn't it should start. At the next prompt type: >osql -SCOMPUTERNAME\SQLEXPRESS -E Press enter - …

Member Avatar for hollystyles
0
142
Member Avatar for kingflux

Inherit from BoundColumn and DataGrid classes. Add a public string accessor for the tool tip text in the BoundColumn derived class. Override the OnItemCreated event in your derived DataGrid class. My company is Weblogik so we prefix all our derived classes wl, so you might want to change that. [code=csharp] …

Member Avatar for kingflux
0
163
Member Avatar for majestic0110

You don't need IIS if you have Visual Studio 2005 Express Edition (any edition 2005+) It includes a web server. When you run the app from VS (F5 to debug, or Ctrl+F5 to run without debugger) it starts up automatically on http://localhost:<some random port number> (you get an icon in …

Member Avatar for majestic0110
0
701
Member Avatar for Gowrishankar

You would typically do that in the webform1.aspx page with javascript not in the WebForm1.asp.cs C# code-behind. [CODE] <script type="text/javascript"> document.forms[0]["TextBox1"].focus(); </script> [/CODE] You need to put the javascript at the bottom of the aspx, or make as the onload event of the body tag e.g. [CODE] <body onload="javacript:document.forms[0]["TextBox1"].focus();"> [/CODE] …

Member Avatar for nukewarm
0
2K
Member Avatar for Jihad

?? Usually in ASP.NET you don't cross post to different pages like in the classic ASP days. With ASP.NET the form POSTS to itself by default. So you don't need a re-direct unless you need to go to a different aspx page or resource. In fact re-directing to the same …

Member Avatar for johnny.g
0
143
Member Avatar for majestic0110

Why would you not use the web controls? Look at the System.Web.UI.HtmlControls namespace there's HtmlTable objects and HtmlTabkleRow and HtmlTableCell, just foreach your DataTable into HtmlTable controls and add to the Page.Controls collectio or a PlaceHolder.Controls collection. Do you know about the repeater control? Are you using framework 3.5? it …

Member Avatar for majestic0110
0
172
Member Avatar for nav33n
Member Avatar for jasimp
0
144
Member Avatar for iamthwee

[QUOTE]Just in time for Valentine's day: John said to Mary, "I'll bet you a Dollar that I can kiss you on the lips without touching them." "You're crazy," said Mary. "That's impossible. Here's a Dollar that says you can't." The two Dollars were placed on the table and John then …

Member Avatar for joshSCH
0
395
Member Avatar for shAq

[QUOTE]I'd probably give each instance you create a unique id, as the current method looks like its overwriting them[/QUOTE] No ASP.NET will automatically give them unique ID's, you just need a loop [CODE] for(int i = 0; i < 2; i++) { WebUserControl webug = (WebUserControl)Page.LoadControl("WebUserControl.ascx"); cntrlHolder.Controls.Add(webug); } [/CODE] What's …

Member Avatar for boisellea
0
165
Member Avatar for asafoatse

[code] try { Console.WriteLine("Insert a date:"); string strDate = Console.ReadLine(); DateTime myDate = Convert.ToDateTime(strDate ); Console.WriteLine(string.Format("The day in letters is :{0}",myDate.DayOfWeek.ToString())); Console.Read(); } catch(Exception) { Console.WriteLine("Sorry that's not a valid date."); } [/code]

Member Avatar for hollystyles
0
100
Member Avatar for raghu.8

You haven't given us enough information to give you specific codeing. How do you know what itinery to show in the itinery page? Are you using the query string or session variable? Codeing will be different depending. The only coding that would always be the same is the snippet Jx_Man …

Member Avatar for raghu.8
0
2K
Member Avatar for Cyberpro60

You need to add the parameter to the parameters collection of the selectcommand object of the adapter. [code] GroupTableTableAdapter.SelectCommand.Parameters.AddWithValue("@selectedGroup", selected group) [/code] To make this SQl work: [code] SELECT RecNo, Group, SubGroup FROM GroupTable WHERE Group = @SelectedGroup [/code] The @selectedGroup will be substituted by the actual value when executed. …

Member Avatar for hollystyles
0
224

The End.