2,071 Posted Topics

Member Avatar for benyam_dessu

So for starters, make sure the spelling of your filenames are all correct. I mean, you're going back and forth between "lgoin" and "login". That's bound to lead to confusion. I just made a brand new ASPX page and the first line looked like this: [code]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" …

Member Avatar for alc6379
0
122
Member Avatar for Omar Allam

Dude that's kind of insulting. That is straight up a homework assignment. I hate to sound rude, but please. You could Google the answers for this stuff. :(

Member Avatar for Omar Allam
0
125
Member Avatar for mhmac

[QUOTE=spycee]I have done the same but I'm having problems with Access not working as its saying I'm out of Memory. All the other office programs run under XP Pro, but not Access and I don't no why?[/QUOTE] More than likely because of some security configuration. Database programs are usually pretty …

Member Avatar for jku00d
0
532
Member Avatar for fishsqzr

Would it perhaps be possible to modify your SQL query to do the work for you? You could do the initial query, then do a UNION ALL using the query that does the calculations. That way, you would have one single result set, and the last row should be the …

Member Avatar for fishsqzr
0
239
Member Avatar for tnthomas

Unfortunately, you can't do that. IE 7 was set up so it HAS to prompt the user to confirm file downloads. ..

Member Avatar for tnthomas
0
81
Member Avatar for Killer_Typo

[QUOTE=_r0ckbaer]Or just put that code into a try/catch block and output the error message or a custom message[/QUOTE] That's what I would do. If you're converting a [b]string[/b] to a number type, the Convert.ToInt32() method (or any of the other methods in the Convert class) will throw an exception if …

Member Avatar for Jugortha
0
322
Member Avatar for desi_developer

Are you sure that the Cells directly contain the values in them, and they're not contained in a label within the Cell?

Member Avatar for Jugortha
0
96
Member Avatar for Ravenous Wolf

Also, Visual Studio has Deployment project, too. MSDN has some excellent documentation that will allow you to build a pretty decent Setup.exe program.

Member Avatar for Jugortha
1
171
Member Avatar for ljf118

Well... you're still within the .NET framework if you take this approach-- you're just customizing the HTML you're putting on the page. That's a pretty standard thing to do...

Member Avatar for alc6379
0
93
Member Avatar for latitude7ds

did you check out this article? [url]http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.getnextcontrol.aspx[/url] It looks like it should return a control, but I don't see what is supposed to happen when you've iterated through all the controls... This Method isn't very well documented...

Member Avatar for latitude7ds
0
90
Member Avatar for Deaton52

[QUOTE=tayspen]Or try system restore in recovery console. [url]http://toughadmin.com/article.php?article=System[/url] -T[/QUOTE] This [i]might[/i] work, but I'd advise against it. It's more trouble than it's worth, really. Having been in a position to see System Restores do nothing for you on a nearly daily basis, I'm of the same mind as Christian (kc0arf). …

Member Avatar for Christiaan
0
217
Member Avatar for sunny_b

For one thing, your link appears to be bogged down, or just plain down. Secondly, we give homework help for those who show effort. Why not post the assignment here, post what you've done, and what you're stuck on. That's the only way you'll get help from us here.

Member Avatar for jwenting
0
271
Member Avatar for dandimmitt

[QUOTE=Catweazle] XP Home will NOT speed things up. It's the same OS as XP Home, but with some extra features added.[/QUOTE] This statement brought to you by the Department of Redundancy Department. ;) Mean to say XP [b]Pro[/b] won't be any faster than Home, perhaps?

Member Avatar for badjedi
0
183
Member Avatar for Ravenous Wolf

[QUOTE=kurraphani;488787]how to create a calender control by using a imahe button in the html control by using java script[/QUOTE] How to create a new thread for a question that is unrelated to the question the original poster is asking.

Member Avatar for latitude7ds
0
100
Member Avatar for pritia

if you run a debugger on your code, what does the actual sqlcmd's CommandText look like when you run the code? That might give us a clue on what's happening.

Member Avatar for SheSaidImaPregy
0
77
Member Avatar for Nareshp_123

You can put the controls you need in the footer row of your table: [url]http://aspnet.4guysfromrolla.com/articles/021203-1.aspx[/url]

Member Avatar for Nareshp_123
0
170
Member Avatar for AnzJ

I haven't dug into it much, but I would think the page might be a binary executable. Have you dug through the directories where the SharePoint is deployed, to see if you can find the code for that webpart?

Member Avatar for AnzJ
0
92
Member Avatar for saturdayskids

I haven't had a problem with them, personally. Are you running any firewall software?

Member Avatar for webbo
0
112
Member Avatar for Junior89

[QUOTE=zach_boyce]Even if AMD is hot Intel is too have you ever heard of a heatsink or a fan? :cheesy: :twisted:[/QUOTE] W0W DOOD! OMG U R S000000zero RITE! Come on, man, let's be reasonable here. We've at least gotten past saying that current AMD/Intel systems suck because their 7-8 year old …

Member Avatar for webbo
0
679
Member Avatar for thanigaimani83

I'm not really sure if I understand your question... If you write a Sub to add/modify an ArrayList to the SessionState, it should save it. You [b]must[/b] postback to get the correct values saved to session state. If you just use a hyperlink, for instance, to go to another page, …

Member Avatar for shaulf
0
77
Member Avatar for erichn

if those are the only codes that you'll be using, couldn't you just use string concatenation on it? Ie, if you had one that was "alt LaF" would could just input that in as a string. From that standpoint, when you updated it, you would have to make sure that …

Member Avatar for erichn
0
98
Member Avatar for dotNetDummi

Alternatively, you could create a templateField for the fields you want to validate, and use an ASP.NET validator control in that templateField. I've had that work without issue... It does require knowledge of templateFields. Fortunately MSDN has good documentation on them: [url]http://www.asp.net/learn/data-access/tutorial-12-cs.aspx[/url]

Member Avatar for dotNetDummi
0
106
Member Avatar for ConfusedMuchMor

What if it converted floats over to ints automatically? What would it do with the fractions? scru makes an excellent point. When you're working with a type-safe language, one of the key points is that the compiler is going to be VERY picky about making sure types match up. Personally, …

Member Avatar for alc6379
0
129
Member Avatar for aj_anil

what cards are doing who for which server now? Why didn't you purchase the hardware with the server, whatever it is? I'm confuserated...

Member Avatar for alc6379
0
72
Member Avatar for sam1
Re: siss

That's kind of a broad question... what exactly are you looking to do? I find that using the Import Export Wizard in Business Intelligence Development Studio is a great way to create a sample package, and look over what it did... That's how I learned, at least.

Member Avatar for alc6379
0
56
Member Avatar for toddalan111

I agree with both bits of advice. I would just like to add that you can download Visual Web Developer from Microsoft for free. If you're just looking to make simple changes in a WYSIWYG type fashion, it should fit the bill.

Member Avatar for alc6379
0
113
Member Avatar for greeny_1984

Personally I can't stand any Step By Step book that MS puts out. However, I do like the "Programming ASP.NET 2.0" book from Microsoft Press, and I agree with waterfall-- WROX books ROCK. Professional ASP.NET 2.0 is OUTSTANDING, in my opinion. Both books contain information in VB and C#, and …

Member Avatar for alc6379
0
113
Member Avatar for rajesh79

Have you checked the tutorials on this very site? This subject has been covered before in depth, and one need only browse the tutorials to find the information.

Member Avatar for alc6379
0
43
Member Avatar for kingflux

Yeah... the Visual Studio designer is nice... sometimes. I've had it do all kinds of crazy things, like make new EventHandlers when there's nothing at all wrong with the one you already built. It's just one of the quirks I've come to live with...

Member Avatar for alc6379
0
135
Member Avatar for satees

He just pasted it right here! Can you not simply copy it and paste from this forum?

Member Avatar for alc6379
0
1K
Member Avatar for bidemi

Did they not teach you how to do this in class? I find it odd that an instructor would give you such an assignment, but not provide some initial instruction on how to do so.

Member Avatar for alc6379
0
94
Member Avatar for mattyfed

This is a little more involved than you might think. Basically, what you have to do is write all the HTML markup yourself through your code. There are a bunch of free "RichTextBox" editor controls out there you can use that employ JavaScript or even just plain Java to return …

Member Avatar for alc6379
0
95
Member Avatar for UnionJack

Why do this in ASP.NET at all? You could do this in JavaScript entirely. Are you eventually going to take the value generated from the calculator and use it in some kind of business logic? That's the only time you'd need to employ the server-side stuff like ASP.NET What code …

Member Avatar for alc6379
0
69
Member Avatar for ConfusedMuchMor

This looks kind of like a homework assignment. Did you even check to see what errors were thrown when you attempted to build? These errors are so easy that they should have jumped right out at you.

Member Avatar for alc6379
0
99
Member Avatar for earlofroberts

What do you have so far? How much do you know about the underlying DataRowView model to a GridView? [url]http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowdeleting.aspx[/url] The trick is when the event triggers, it will return a DataRowView that you can pull data from. You just have to figure out the column you want. This page …

Member Avatar for viswa_007
0
91
Member Avatar for thanigaimani83

Can you please modify your post to include code tags? Additionally, I am not entirely sure if I understand what the code is *supposed* to be doing, versus what it *is* doing. Also, there is a WHOLE lot of whitespace in your code. I don't know if the forum did …

Member Avatar for alc6379
0
101
Member Avatar for dev1910

Does that say what line of code that's happening on? I can see that you probably just need to instantiate the HyperLink just once: [code] Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then Dim hLink As String = DataBinder.Eval(e.Row.DataItem, "STATUS").ToString() Dim …

Member Avatar for alc6379
0
418
Member Avatar for satimis

on question number one, you could just pipe the output of the command to the [b]lpd[/b] daemon, or whatever program you use: [b]perl AAA.pl | lpd[/b] on question two, you could use the system() function, I do believe. I'm not a Perl programmer (I only play one on TV!), but …

Member Avatar for KevinADC
0
197
Member Avatar for blindkilla

Why not store all the usernames in an array to begin with, then bind that Listbox to the array as a datasource? Then you already have a data structure there to work with. Or alternatively, the ListBox should have an Items property that you can iterate through, pretty much just …

Member Avatar for blindkilla
0
98
Member Avatar for fishsqzr

yep. I think that you're right there. I'm pretty sure the data tools in the IDE are removed from the Express Edition... But hey on the bright side-- at least you're getting really familiar with those controls, right? ;)

Member Avatar for fishsqzr
0
83
Member Avatar for alc6379

Hey all, Some of you may remember me from a few years ago. I just wanted to re-debut myself, what with how much the site has changed since I left. Anyways, I'm Alex, formerly known as The Cookie Moderator. I'll probably be around quite a bit in the ASP.NET and …

Member Avatar for Dani
0
72
Member Avatar for fishsqzr

you might want to check out these two links: [url]http://msdn2.microsoft.com/en-us/library/ykdxa0bc(VS.80).aspx[/url] [url]http://msdn2.microsoft.com/en-us/library/t4a23xx4(VS.80).aspx[/url] I think a combination of adding logic in your program to do the same constraint validation, as well as handling the exception when the underlying DB raises it will produce the result you require.

Member Avatar for fishsqzr
0
557
Member Avatar for njwnews

Novell is the bomb. Everytime I hear someone say, "Novell sucks", I cringe. Most likely, they've never touched it-- they probably only know it's some relic from the past. From a directory services standpoint, you can't beat it. For stability, it runs like a champ. Even with the Release of …

Member Avatar for DimaYasny
0
2K
Member Avatar for xibnoe

I don't think you can actually write it back using a DTD-- I think you can only use an XSD file. Once you load the file into a DataSet, it loses the DTD information and stores it in an XSD schema, I think. The WriteXML() method on a dataset does …

Member Avatar for alc6379
0
141
Member Avatar for edek

Why not use a switch statement? Make a variable that can contain the value of your Enum, pass that as a parameter of the method, and then use a switch statement to evaluate the value of that variable in the method... Why would that not work?

Member Avatar for alc6379
0
388
Member Avatar for LMR

Unfortunately, no matter what you can do you can't get just a time value from the database. Shaulf's suggestion will work, but that's for a string. Here's a suggestion, though. If you're working with Time, there may end up being a time where you deal with something that happens at …

Member Avatar for alc6379
0
176
Member Avatar for CodeMonkey775

You can't really return more than one value from a single method type, even if you do overloading. But, what you could do is break up your logic some, or use an object that contains a String, a Double, and a Result Code. Have the code return this Result object, …

Member Avatar for alc6379
0
94
Member Avatar for firen

I have to agree here. I think you probably want to set those other threads to execute asynchronously after the form has been instantiated. I'm not [i]that[/i] up on threading, but I know that in order to make a form still responsive, you have to look at running the method …

Member Avatar for alc6379
0
105
Member Avatar for Monte

I love dual monitors. I don't program much, and I don't do much graphics editing. But, I do multitask, a LOT. I can have a web page maximized in one screen, and then I can have serveral terminals and other programs in the other screen. If you angle your monitors …

Member Avatar for ashikkalam123
0
531
Member Avatar for The Dude

Man, this stuff is a load. I used to work in a cemetary, and folks came out at night all the time to take pictures of this junk. Little did most of them know, we polished headstones, or that dust can linger in the air for quite some time. I …

Member Avatar for sneekula
0
271

The End.