Search Results

Showing results 1 to 40 of 88
Search took 0.01 seconds.
Search: Posts Made By: IdanS
Forum: ASP.NET Sep 11th, 2009
Replies: 3
Views: 441
Posted By IdanS
Hi,

On your DropDownList control you have a property that called "OnSelectedIndexChanged", What you need to do is assign the name of the method you want to call when a value is changed like that:...
Forum: ASP.NET Sep 11th, 2009
Replies: 4
Views: 294
Posted By IdanS
Next time say exactly the range that you need:
[0-9]{1}+\.+[0-9]{3}
Forum: ASP.NET Sep 11th, 2009
Replies: 5
Views: 1,165
Posted By IdanS
Yes ok,

But maybe there is a better way to do it, because I can't figure out for what do you need it, I really tring to help you.
Maybe your boss don't understand in web application and want's...
Forum: ASP.NET Sep 11th, 2009
Replies: 5
Views: 1,165
Posted By IdanS
What are you tring to accomplish with that?
Forum: ASP.NET Sep 11th, 2009
Replies: 3
Views: 441
Posted By IdanS
From javascript or from server side and in what language?(C#,c++,VB)
Forum: ASP.NET Sep 11th, 2009
Replies: 4
Views: 631
Posted By IdanS
It's a security problem to write the id in the params string but you can do it like this:

Response.Redirect("Orderform.aspx?id=TheIdTextBox.text");
Forum: ASP.NET Sep 11th, 2009
Replies: 2
Views: 370
Posted By IdanS
What?
I didn't understand what you want,
Please try to explain again and give example of your code\gridview
Forum: ASP.NET Sep 11th, 2009
Replies: 5
Views: 1,165
Posted By IdanS
Its a problem to guide you step by step because we dont know what you want in your xml,
But you can learn:
http://www.w3schools.com/xml/default.asp
This is a very easy to learn tutorial so learn...
Forum: ASP.NET Sep 11th, 2009
Replies: 0
Views: 246
Posted By IdanS
Hi,

I have a sliderextender on my page.
The problem is that it always on top of all controls.

I mean I have a popupcontrol when it opens I can see the sliderextender under it.

What is the...
Forum: ASP.NET Sep 11th, 2009
Replies: 4
Views: 294
Posted By IdanS
Like this:

[0-9]+\.+[0-9]{3}
the numer in the {} is the number that you want after the dot.
Forum: C# Jul 7th, 2009
Replies: 14
Views: 717
Posted By IdanS
Forum: C# Jul 6th, 2009
Replies: 14
Views: 717
Posted By IdanS
Of course there is use:

String.Format("{0:T}", DateTime.Now);

Hopes that what you want
Forum: C# Jul 2nd, 2009
Replies: 5
Views: 649
Posted By IdanS
Yea i understood that, but you cant change this property as it read only, so you need to move or copy the file and then use it with the new name..!
Forum: C# Jul 2nd, 2009
Replies: 5
Views: 649
Posted By IdanS
If you want to change file name you need to use the
System.IO.File
class, like this:
System.IO.File.Move(@"c:\1.lnk", @"c:\1.exe");
That is if you want to change and delete the old one, and if...
Forum: C# Jul 2nd, 2009
Replies: 4
Views: 725
Posted By IdanS
Hi,

What you need is to use the following code:
this.dataGridView1[columnIndex,rowIndex];

Enjoy!
Forum: ASP.NET Jul 1st, 2009
Replies: 5
Views: 340
Posted By IdanS
Post your code please.
Forum: C# Jun 30th, 2009
Replies: 13
Views: 728
Posted By IdanS
Hi sknake,
thank you for you answer as i learned somthing new here, i really had no idea that you can call GC.Collect();
At first i thought that even if you call it its only a suggestion for the GC...
Forum: ASP.NET Jun 30th, 2009
Replies: 6
Views: 731
Posted By IdanS
Upload you entire source code here please.
Forum: C# Jun 30th, 2009
Replies: 13
Views: 728
Posted By IdanS
Hi,

When you do:
cmd.Dispose();
you are not really dispose the object the minute that you do it,
its only tells to the Garbage Collection that you dont need this object any more, and sugesting...
Forum: ASP.NET Jun 30th, 2009
Replies: 6
Views: 731
Posted By IdanS
Do you get en exception message in run time like permission is not allowed or somthing like this?
Forum: ASP.NET Jun 30th, 2009
Replies: 3
Views: 548
Posted By IdanS
Send the value in the query string like this:
Name of web page.aspx?parm=value

In the web app when the page loads read the parm like this:
this.Request.Params["parm"]
and use it how you want...!
Forum: ASP.NET Jun 30th, 2009
Replies: 5
Views: 464
Posted By IdanS
Hi,

Read this to how to create the DB on runtime:
http://www.codeproject.com/KB/database/CreateDB.aspx
Forum: C# Jun 30th, 2009
Replies: 3
Views: 475
Posted By IdanS
Why did you opened a new thread for that question?
You asked this question already in another thread.
Forum: C# Jun 30th, 2009
Replies: 3
Views: 754
Posted By IdanS
Hi serkan sendur,

To get only the folder part of the path, use static method GetDirectoryName of Path class.
using System.IO;
using System.Windows.Forms;

string appPath =...
Forum: ASP.NET Jun 30th, 2009
Replies: 5
Views: 340
Posted By IdanS
Of course you will get different control when you view the source code of the page because the Explorers(IE,FireFox...) does not know what is <asp:Button...> so the compiler (VS,Dreamwaver) change...
Forum: C# Jun 29th, 2009
Replies: 2
Views: 341
Posted By IdanS
Hi,
Timers its not what you are looking for becuase timers is to count time and you dont need it by what i understood.
What you need is:
System.Threading.Thread.Sleep(milliseconds);
To get time...
Forum: ASP.NET Jun 29th, 2009
Replies: 4
Views: 550
Posted By IdanS
Have you solved your problem? if you have so flag this thread as solved!
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
Hi dummy C#,

Of course when you enter in both of the text boxs values and press this button it will give the result like you have entered only in the first button, because look how you build your...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
Try:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
serkan sendur I'm really happy that you like it :-);
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
Serkan Sendur I'm done argueing with you, stay in your mind.
To the issue that this thread opended from the begining:
dummy C# have you successfully implanted the code and its working or you need...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
Well obviously you are not a perent and not a teacher either.
If you still think that you are right so stay in your mind, I cant force you to change the way you think, but I'm sure that people here...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
Becuase when you teach a baby to talk you are not teaching him how to say "encyclopedia" from the begining you teaching him how to say "dad", "mom" and so on, when he learned that so you going and...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
WOW you are so centered in your self that you quote me and tell me sonthing else, I KNOW HOW TO DO IT IN A SECURE WAY, BUT ITS NOT THE ISSUE...!!!
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
dummy c# you are now using two different methods of polling the data from the DB, either you want to use DataBind or you want to use SqlDataReader, choose one and we will continue from there.

and...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
serkan sendur offcourse it vulnerable to sql injection,
but i dont know if you noticed above is a beginner to c#,
and as it seems he is a beginner in programing as well, so we are not dealing with...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
You are more or less the right way.
A problem i can see in your code is in the line:

It needs to be only ", and not '";

And after you have done:

You need to read the data so use dr.Read();...
Forum: C# Jun 29th, 2009
Replies: 30
Views: 1,529
Posted By IdanS
Hi,

What you need to do is to build your database, after its ready start working on your program.

When you start working on your program, put on your form two textbox and two buttons (when you...
Forum: ASP.NET Jun 28th, 2009
Replies: 10
Views: 765
Posted By IdanS
Yea not a problem, if you need any help on the control you have decided to work with, do not be shy to ask.

Dont forget to close this therad, by flag it as solved.
Forum: ASP.NET Jun 28th, 2009
Replies: 10
Views: 765
Posted By IdanS
Yea a sitemap or build a usercontrol that has subitems, or use others control that has item --> subitems...,
Its up to you to decide which control \ method to use.
Showing results 1 to 40 of 88

 


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

©2003 - 2009 DaniWeb® LLC