Search Results

Showing results 1 to 40 of 176
Search took 0.02 seconds.
Search: Posts Made By: SheSaidImaPregy ; Forum: ASP.NET and child forums
Forum: ASP.NET Jan 22nd, 2009
Replies: 4
Views: 4,105
Posted By SheSaidImaPregy
You should also stear away from inserting code just like that. Look into adding parameters:

SqlCommand comm = new SqlCommand("INSERT INTO desg VALUES (@txtsno, @txtdesg, @txtbasic)", connection);...
Forum: ASP.NET Mar 28th, 2008
Replies: 2
Solved: Blinking Text
Views: 3,317
Posted By SheSaidImaPregy
Use javascript, and put it into a span element:
<script type="text/javascript">
<!--//
function blinkme()
{
var elm = document.getElementById("blinker");

if (elm.value.length > 0)
{
...
Forum: ASP.NET Mar 28th, 2008
Replies: 2
Views: 4,727
Posted By SheSaidImaPregy
Line 78, your query:

Dim SQLCheckForUser As String = "SELECT * FROM Users WHERE UserAlias = " & UserAlias.Text

THe problem with this is that you are not putting it within quotes. ANd because...
Forum: ASP.NET Mar 10th, 2008
Replies: 2
Views: 2,966
Posted By SheSaidImaPregy
Are you sure the page isn't cached? If the page is cached, then it isn't finding the cookies, just using the settings on when they found them in the past.
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 918
Posted By SheSaidImaPregy
No problem.

I'm a performance geek I guess. I sit here at work almost all day long just finding what is faster than what, and tweaking a 1500 line file I use whenever I build an application, just...
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 918
Posted By SheSaidImaPregy
Without Commenting lines, it's a lot smaller than it was:
Lines Before Edit: 143
Lines After Edit: 98

A nice 45 line savings ^^

It should be a lot quicker in performance as well.
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 918
Posted By SheSaidImaPregy
Unfortunately I don't think you can skip any steps here. It seems all quite logical. If you do skip steps, that would require a different route to take and can be a waste of time, as performance...
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 918
Posted By SheSaidImaPregy
Thanks. I'll look at it and give you back the results.

One quick question as well, this function works properly, you just wish to make it more efficient and condensed, correct?

I will make it...
Forum: ASP.NET Mar 7th, 2008
Replies: 9
Views: 918
Posted By SheSaidImaPregy
Question real quick.. then I can help you (it will be in RED).

An no, it was meant for this thread, however I didn't read your thread, just the header. My apologies.
'Get the questions from the...
Forum: ASP.NET Mar 7th, 2008
Replies: 5
Views: 7,106
Posted By SheSaidImaPregy
It's very simple. Follow the article, it's dead on and works perfectly.

http://www.codeproject.com/KB/aspnet/httpImageHandler.aspx
Forum: ASP.NET Mar 6th, 2008
Replies: 9
Views: 918
Posted By SheSaidImaPregy
The problem with this is that a querystring can only hold so many characters. Want to see how many? Type as many as you can inside the address bar and response.write your querystring. You'll see how...
Forum: ASP.NET Mar 6th, 2008
Replies: 10
Views: 1,269
Posted By SheSaidImaPregy
check out w3schools.com to learn the basics of asp.net. After that, jump into tutorials and look at code. To be quite honest, 15 hours isn't anything. Most people don't understand how to search for a...
Forum: ASP.NET Mar 6th, 2008
Replies: 2
Solved: CSS Fields
Views: 493
Posted By SheSaidImaPregy
http://www.1keydata.com/css-tutorial/codes.php
Forum: ASP.NET Mar 6th, 2008
Replies: 1
Views: 722
Posted By SheSaidImaPregy
It's done by database. When the user logs in, or clocks in, you create a record in a database that you specify (lets name it timesheets). When a user logs out, you create a new record as well....
Forum: ASP.NET Mar 6th, 2008
Replies: 6
Solved: 20 Second Timer
Views: 1,413
Posted By SheSaidImaPregy
The thing is with "update panel" is that you have to download AJAXToolKit, and then you must enable your server to accept it, otherwise it will be problem after problem.

There is also a class...
Forum: ASP.NET Mar 5th, 2008
Replies: 6
Views: 1,654
Posted By SheSaidImaPregy
Well a way you can do it resides in just resetting the expiration the file

Set the expiration on the file to now or now + 1 second.
Forum: ASP.NET Mar 5th, 2008
Replies: 6
Views: 1,654
Posted By SheSaidImaPregy
Can't, I am at work and at work I work on a linux machine and have no access to FTP connections. Therefore I cannot test anything ^^
Forum: ASP.NET Mar 5th, 2008
Replies: 6
Views: 1,654
Posted By SheSaidImaPregy
Well you will need something like:
HttpResponse.RemoveOutputCacheItem(Server.MapPath("/directory") & "file.aspx");

or just

HttpResponse.RemoveOutputCacheItem("/directory/file.aspx");
Not...
Forum: ASP.NET Mar 5th, 2008
Replies: 15
Views: 3,044
Posted By SheSaidImaPregy
Also check this out:

http://blog.gilluminate.com/2006/4/25/prevent-copy-paste-and-print-screen-online
Forum: ASP.NET Mar 5th, 2008
Replies: 3
Views: 4,492
Posted By SheSaidImaPregy
Your easiest and best bet would be to create a transfer page that will read the contents of the current session variable. Then, create a loop that puts down a hidden input field with the id as the...
Forum: ASP.NET Mar 5th, 2008
Replies: 6
Views: 1,654
Posted By SheSaidImaPregy
HttpResponse.RemoveOutputCacheItem("pathtoyourfile");
Forum: ASP.NET Mar 4th, 2008
Replies: 15
Views: 3,044
Posted By SheSaidImaPregy
he can make the opacity of the entire screen down to 30% so the camera can't pick it up!!
Forum: ASP.NET Mar 4th, 2008
Replies: 4
Views: 6,027
Posted By SheSaidImaPregy
You cannot detect when it has a file, however you can detect length. If you wish to detect length, you need to make sure the box is READONLY. Cause, like me and probably a few others, I type most of...
Forum: ASP.NET Mar 4th, 2008
Replies: 3
Views: 1,004
Posted By SheSaidImaPregy
You would need to put your current treeviewstate in a session variable to call along every page on the site. Otherwise, it is page to page or every page has a different coding to show the correct...
Forum: ASP.NET Mar 4th, 2008
Replies: 15
Views: 3,044
Posted By SheSaidImaPregy
Yes you can disable those keys, but it won't stop them from using the clipboard.

However, what you can do is set up a javascript function that gets called constantly. Then inside the function you...
Forum: ASP.NET Mar 4th, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
Yup, here's the problem with UPDATE:
SqlCommand cmd = new SqlCommand("UPDATE blahUserDetails SET UserDetailsRow WHERE username=@username", conn);
You're not setting a value, it should be something...
Forum: ASP.NET Mar 3rd, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
then the control hasn't been created yet, but is in process.
Forum: ASP.NET Mar 3rd, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
is tb declared, and a control?
Forum: ASP.NET Mar 3rd, 2008
Replies: 6
Solved: 20 Second Timer
Views: 1,413
Posted By SheSaidImaPregy
You can have it change, but you need to use javascript and ajax. Use the javascript to keep track of the timer. Once it hits 30 seconds, javascript can call a command against the server, or if you're...
Forum: ASP.NET Feb 29th, 2008
Replies: 4
Views: 2,314
Posted By SheSaidImaPregy
I use that function with a "btnDelete_Click" and it works perfectly. but okay, glad to hear you got it
Forum: ASP.NET Feb 29th, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
you need to keep track of the ID of the record you are updating. Put it there, or create a "hidden html field" and set the value of it on page_load. Then, grab the value when you update/delete.
Forum: ASP.NET Feb 29th, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
Well I don't do c#, but I can "try" for you. I also don't do code-behind ^^
protected void CancelBtn_Click(object sender, EventArgs e)
{
Response.Redirect("UserAdmin.aspx");
}...
Forum: ASP.NET Feb 28th, 2008
Replies: 4
Views: 2,314
Posted By SheSaidImaPregy
It's not good practice to check them through HTML, not to mention if anything changes, your entire page is broken.

You should check your repeater for its controls, and then check to see which one...
Forum: ASP.NET Feb 28th, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
It doesn't look like there is something wrong. Where are you actually putting the string on the page? It usually doesn't throw this error unless you are putting server content outside the tag.
Forum: ASP.NET Feb 28th, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
make sure you are spitting out the textboxes within the form. If not, you will get this error. You are most likely spitting out the info above the form tag.
Forum: ASP.NET Feb 28th, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
you don't have a runat server form?

<form runat="server">
<asp:Table....>
</form>
Forum: ASP.NET Feb 28th, 2008
Replies: 27
Views: 6,230
Posted By SheSaidImaPregy
Make the edits, then create a sub to handle a submit onclick. Within that onclick, update the database with an update command. But make sure you have the record ID, you wouldn't want to update every...
Forum: ASP.NET Feb 28th, 2008
Replies: 10
Views: 1,763
Posted By SheSaidImaPregy
and that error is...?

also try this:
<script language="vb" runat="server">
Function ChkDate(ByVal dt As String) As String
If dt = "01/01/1900" Or dt = "1/1/1900" Then
ChkDate = ""...
Forum: ASP.NET Feb 27th, 2008
Replies: 24
Views: 3,652
Posted By SheSaidImaPregy
yes it is doable. You will need to do an on Itemcreated event and search through for those buttons. Then reset the onclick function to trigger a new sub, which then will redirect based upon the...
Forum: ASP.NET Feb 27th, 2008
Replies: 24
Views: 3,652
Posted By SheSaidImaPregy
Those buttons use commands, then based on those commands they use the datasources to update.

You would have to insert your own button with a new command argument. Then create a sub that it...
Showing results 1 to 40 of 176

 


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

©2003 - 2009 DaniWeb® LLC