490 Posted Topics

Member Avatar for AngelicOne

For return values use return... ie: if @count=0 insert into Author values (@authorname) return 1 else return 0 if 1 is returned then it succeeded, if 0 is returned then it failed. At that point you simply check the returned value as it is received from the SQL server on …

Member Avatar for AngelicOne
0
190
Member Avatar for Buizenamp

Welcome to DaniWeb and hope you find any answers you need for C# here :)

Member Avatar for AndreRet
0
46
Member Avatar for T4gal

Without going through all of the code you provided (it's getting late here, I'm sorry) I can say you have the right general idea on the z-index portion. The higher the number, the further 'forward' it's position in relation to what's lower in number. That being said, some content types …

Member Avatar for Blaise.M
0
163
Member Avatar for reemhatim

reemhatim; While I'm not about to go ahead and do your code for you I will do what I can to put you in the right direction. Using the following method you should be able to determine the letters that are not repeated between the two.[LIST=1] [*]Input user selected words …

Member Avatar for reemhatim
0
148
Member Avatar for mohammed yaghi

1) it might help to share the specifics of the warning/error you are receiving as most people aren't going to be able to magically read your mind and determine the error you're receiving in order to help you solve it. 2) it might also help to share some of the …

Member Avatar for Lusiphur
0
89
Member Avatar for AngelicOne

AngelicOne; For shame... I thought I'd trained you better in the art of posting questions :twisted: No code examples, no real details of any sort. You're breakin' my heart here man!

Member Avatar for AngelicOne
0
125
Member Avatar for nammae

I find myself curious what language(s) if any you used prior to learning C#. The reason I ask this is because I notice that you don't use any braces with your if/else statements. While they 'technically' can be omitted (as is evident from the fact that your code works without …

Member Avatar for nammae
0
108
Member Avatar for Pari13

My question is, what input are you providing? Is it at all possible that the original input has an extra character following the one you are replacing which is being shown in your result?

Member Avatar for Lusiphur
0
185
Member Avatar for bbman

[QUOTE=Momerath;1336024][code]FileStream f = File.Open(@"D:\TestData.txt", FileMode.Create); f.Close();[/code][/QUOTE]Momerath's method will do what you require if all you need is the file to be emptied. Essentially what it accomplishes is that it will open the file in create mode which makes any existing file with the same name be deleted and replaced with …

Member Avatar for Lusiphur
0
129
Member Avatar for NH1

Your issue seems to be related to the DataColumn and not the Global from what I'm reading of the error. Your error is contained within the following segment ... [COLOR="Red"]dc[1].ToString();[/COLOR] ... It reads to me that you are saying the following:[code=c]// Create DataSet ds from db.GetDataSet(Co) ds = db.GetDataSet(Co); // …

Member Avatar for Lusiphur
0
153
Member Avatar for visweswaran28

What would probably help here is to see the full content of your web.config file as it is likely that there is a duplicate definition present there. Alternately, a definition may exist within the web.config that is previously defined within a superceding definition in the server configuration of your web-host.

Member Avatar for Lusiphur
0
136
Member Avatar for jackparsana

Just a brief note here in relation to answering threads. Person A asks question Person B gives general answer with conceptual method Person C gives spoon-fed answer complete with code Person D gives spoon-fed answer complete with code Person A takes spoon-fed answers, doesn't bother to look into conceptual method …

Member Avatar for ddanbe
0
194
Member Avatar for Jazerix

ddanbe has the nail on the head there. You are parsing text into integers. Any value other than a whole number (no commas) will be unable to be parsed in such a way and will terminate the process. As a note, comma notation for numerals is not a computational or …

Member Avatar for Lusiphur
0
357
Member Avatar for Ancient Dragon

I'm sure it's entirely related to the same issue that you're already debugging but news stories seem to be amongst the only types of threads that when I click on the name of the person who posted last in the threads list of whichever forum they're in brings me consistently …

Member Avatar for Nick Evan
0
154
Member Avatar for Rhuntsman21

My one question relates to the following segment:[CODE]if (ctrControl.Controls.Count > 0) { ClearForm(ctrControl); }[/CODE]I'm confused as to what you're attempting to achieve here. Essentially, if I'm reading it correctly... You're creating a foreach statement at the top of your code that will cycle through (presumeably) all the controls within your …

Member Avatar for Rhuntsman21
0
145
Member Avatar for Gnine

I might recommend that you try [url]http://housecall.trendmicro.com/[/url] It does have a small install component and if that doesn't install then you're pretty much not going to be able to use it. Alternately, what you might need to do is find an anti-virus that runs off it's own bootable CD so …

Member Avatar for jholland1964
0
199
Member Avatar for daniel955
Member Avatar for nick.crane

Nick, Generally the installer for VS2010 will detect and upgrade all components as required in the conversion from 2005. However... If your local development machine is also running MS SQL Server 2005 and the install includes an upgrade to MS SQL Server 2008 you may run into some issues there. …

Member Avatar for nick.crane
1
278
Member Avatar for ckundan

Realistically you can accomplish the same results with either language. In the end it's a matter of your personal preference and comfort level with either language. Personally I prefer C# but that's because that's what I know.

Member Avatar for Lusiphur
0
84
Member Avatar for JuranHuman

Using the page_load process to re-check cookie validity should allow it to check whether the 'item' is current or expired each time the page reloads (ie: postback). By alternating between !IsPostBack and IsPostBack respectively you can customize your page_load to act differently for new page loads vs postback loads as …

Member Avatar for Lusiphur
0
460
Member Avatar for Ancient Dragon

Just speaking from my own experience/point of view... I find that seeing this (pic attached) does very much clutter the list for a forum that I'm reading. Generally, in forums I'm reading, if they've been moved it's because they didn't belong there... and therefor I don't need/want to see them. …

Member Avatar for ~s.o.s~
0
110
Member Avatar for Dani

Just tossing this out there... My personal areas of interest are predominantly focused within the games industry. Info about new game releases, company expansions/mergers/splits/closures, new tech being used by the game industry... these are things that *I* would be interested in reading about. As an example I recently read a …

Member Avatar for Ancient Dragon
0
662
Member Avatar for DeadSoul

Well you know how many lines the input should be (3 if I read it properly):[LIST=1] [*]Date [*]Name [*]Time [/LIST]Soo.... If I were you I would take the line with the found date and the following 2 lines and input them into 3 corresponding variables. i.e.:[LIST=1] [*]Found Date on Line …

Member Avatar for hanvyj
0
291
Member Avatar for Lusiphur

I'm the kind of person who almost always likes to use the 'advanced' editor when posting threads/replies. That being said, I've tried changing the setting from Basic to Standard in my CP but I see no option for 'Advanced' in there. The only reason I bring this up is because …

Member Avatar for Lusiphur
0
206
Member Avatar for MichaelWClark

Ok... I may be missing something here but... Nowhere in the code you provided does the term 'nvarchar' exist. So either the issue is not with the portion you provided (ie: in code-behind or in a stored procedure on the DB end) or the error is being relayed incorrectly by …

Member Avatar for MichaelWClark
0
1K
Member Avatar for ddanbe

Closest you're going to find in C# is Int64 as far as I know. From what I'm gathering in .Net 3.x BigInt was removed but may be making a comeback in .Net 4.x.

Member Avatar for ddanbe
0
98
Member Avatar for rahulvom

Just above the box where you post replies you should see the link to 'solve' the thread.

Member Avatar for rahulvom
0
342
Member Avatar for jayxx1234

I'll be honest I've never seen this type of 'animation' on a button before... that being said, does the physical BUTTON need to rotate? or just the 'visible' button component? If the latter, perhaps a simple graphical overlay on the button which has an animated alternate graphic for when the …

Member Avatar for jayxx1234
0
149
Member Avatar for Ancient Dragon

>> Do not ask anyone (member or moderator) for help by email or PM THANK YOU!!!! (Sorry for the all-caps :twisted: )

Member Avatar for Geekitygeek
0
157
Member Avatar for Geekitygeek

Do you really want me to answer this question? Really? Are you [B]sure[/B]? :twisted: I could go into a page long tirade about my feelings on this issue but I'll hold off on that for now. Yes, I will say right now that I've made a couple of mistakes (either …

Member Avatar for Geekitygeek
0
269
Member Avatar for jimdj

[QUOTE=jimdj;1317585]Where do you secure a website?[/QUOTE]Are you referring to securing directories/content against outside viewing? Or are you talking about a secure (read: SSL) connection? If you're talking about content protection there's a number of approaches that can be taken from physically password protecting directories to masking directory locations and setting …

Member Avatar for Lusiphur
0
86
Member Avatar for Suzie999

[QUOTE=Suzie999;1323685]My ip has been entered into the mysql remote host list in cpanel[/QUOTE]The SQL server is set up where? On your machine? Remotely at some hosting provider? At the corner store down the street? If it's set up on your machine then I hope to god you've got a non-dynamic …

Member Avatar for Suzie999
0
151
Member Avatar for FOOLY

One thing to note about Rajarajan's solution that may not have been completely obvious... As it needs to be a 'timeline' item (streaming or otherwise) it will only play for the duration of the timeline segment it is contained within.

Member Avatar for Lusiphur
0
132
Member Avatar for srky

As a side note... Should you still find yourself unable to solve the issue... Please set debug mode to ON so that future error messages actually state the following:[LIST=1] [*]What the error specifically involves [*]What line of code contains the error [*]The actual code from that line and the surrounding …

Member Avatar for Lusiphur
0
149
Member Avatar for Baby.D

[QUOTE=ApocDen;1298301]microsoft front page[/QUOTE] [QUOTE=Baby.D;1298083]Microsoft Publisher[/QUOTE] Honestly to use MS Front Page would cause much the same issue as using MS Publisher in the way that they both generate an a$$load of unnecessary code and script for the simplest things. Also, as indicated by DrJohn, Front Page is not the most …

Member Avatar for packetpirate
0
142
Member Avatar for srvstv.prnc

Sure thing... [URL="http://www.google.com/#hl=en&q=asp.net+c%23+sql+tutorial"]Here you go[/URL]! Hope this helps :) Please mark as solved once your issue is resolved.

Member Avatar for SNK111
-1
1K
Member Avatar for ultrakiwishells

Great to meet you Carl, nice to see someone putting more than a one-liner in their intro for a change :) I may have missed it but what part of NZ are you from? I spent a short time in Wellington myself and loved it there.

Member Avatar for MooGeek
0
230
Member Avatar for Ezzaral
Member Avatar for osirus

The livejournal "icon" that you're referring to is commonly known as a '[URL="http://www.w3.org/2005/10/howto-favicon"]favicon[/URL]' and is generated from an icon file in your web directory (or an image directory which is referenced by the metatag(s) for the favicon in your webpage(s)). If you click the link I provided above you will …

Member Avatar for Rickfoster
0
121
Member Avatar for peter_budo

Not that I'm adding much to this but I don't seem to have access to that post either with the same error as jonsca.

Member Avatar for Lusiphur
0
146
Member Avatar for Bordeaux0113

Besides, it's relatively meaningless anyway since some people with relatively 'high' post counts have filled most of those with questions where others with lower post counts might prove to be more useful with answers. All the post count means is that they type a lot :twisted: Well... except in my …

Member Avatar for NicAx64
0
188
Member Avatar for shaqtus

There are pros and cons to using a cookie to store login variables for a website. Pro:[LIST] [*]Cookies can be set to terminate either at end of session or after a specified time period [*]Cookies are relatively easy to write/read [*]Cookies are client side and don't require much server overhead …

Member Avatar for dnanetwork
0
130
Member Avatar for valter

To be honest, there are so many possible incompatibility issues between XP and Vista that it would be difficult to pinpoint a specific problem without looking at the code or knowing specifically what is being done and how within the program. You've indicated that the .Net framework is installed on …

Member Avatar for Lusiphur
0
106
Member Avatar for adobe71

Accessing a database remotely is the exact same method as accessing it locally with only one major variation... the connection string. Your connection string will need to point to one of the following:[LIST] [*]The network address of the database [*]the URL of the database [/LIST]Also, if you've been working with …

Member Avatar for Lusiphur
0
124
Member Avatar for diafol

I know this thread is marked "solved" but I have to say that ardav's original concept does have some appeal to me some days :twisted: That being said... after reading some of the posts I've read today I'm thinking a "Mark Post as Waste of Time" button would be more …

Member Avatar for Lusiphur
0
354
Member Avatar for Lusiphur

I'm just curious if there is any easy way for the folks behind the scenes of DaniWeb to possibly implement some sort of big flashing sign that takes up an entire screen and plays a siren while activating the (on compatible hardware) sense feedback (vibrate) on the user's mouse. This …

Member Avatar for Lusiphur
0
235
Member Avatar for emclondon

General concept here being that a post placed in the forums is not deleted unless it contravenes the rules of the site. The reason being that the posts are left in-tact in order to benefit others who may encounter similar/same issues as yourself in future visits to the site. Having …

Member Avatar for Dani
-1
282
Member Avatar for crunchie

From what I've been seeing in my own notifications, they've been somewhat... sketchy... since [URL="http://www.daniweb.com/forums/post1270210.html#post1270210"]this point[/URL]. For a while during that event they stopped altogether. After that was resolved they started coming through normally. About a week later it was kind of hit or miss whether a notification would come …

Member Avatar for Dani
0
176
Member Avatar for infivivek

My first question for you would be this... how are you passing the variable? Are you passing the variable in a session? Cookie? as part of the calling URL? If a variable is declared in one page of the site and then an attempt is made to call it from …

Member Avatar for Lusiphur
0
112
Member Avatar for mymattu

I am getting an error code: Thread started in incorrect forum section; code 101 Looks like you were looking for the VB.Net or ASP.Net forums. :twisted:

Member Avatar for Taywin
0
93

The End.