|
Can you send some Sample Code for Server.URLEncode. Because it gives error to me
Regards,
A Jabeer Ali
|
|
|
|
|
Example:
Response.Redirect("Page.aspx?something=" + Server.UrlEncode(someValue) + "&other=" + Server.UrlEncode(otherValue));
---
single minded; short sighted; long gone;
|
|
|
|
|
|
diddy34 wrote: I need help men
I'm wondering if a female read your question and knew the answer, but because of that exclusionary comment decided not to help you.
|
|
|
|
|
Thanks for your comment. And if I've offended any woman by what I said earlier, I'm sorry cos I didn't mean it in any way. So this goes for the women.
We all need each other to survive.
tony-yeyo
|
|
|
|
|
Does any one know how to get a remote web server to transfer its Certificate (X509Certifcate) to the local machine using Sockets? I need the public key from a given web server.
Forever Developing
|
|
|
|
|
|
I know.
I have given up hope. I think I am going to the route of setting up an SSLSocket just to get the certificate information from the web server. This seems like a waste of resources to me.
~Nick
Forever Developing
|
|
|
|
|
Nicholas Cardi wrote: I think I am going to the route of setting up an SSLSocket just to get the certificate information from the web server. This seems like a waste of resources to me.
What are you talking about? How else do you expect to get it, magic? Maybe you need a career change, you could call youself "The Great Cardi".
led mike
|
|
|
|
|
led mike,
The public key exchange for SSL is done before the SSL connection is established. I belive this is how the protocal works (Maybe I'm wrong). That is the only portion of the SSL protocal that I am looking to implement. I not really interested in secure communication or ecrypted sockets. I just need the server to transfer me its SSL cert.
~Nick
Forever Developing
|
|
|
|
|
|
Mike,
I am aware of how the SSL protocal works. What I am looking for is if someone on has implemented just the Handsake or X509 Certificate exhange portion of the SSL protocal. As the title of this topic suggets.
~Nick
Forever Developing
|
|
|
|
|
dear you,please help me,I am findind the class of C# about http 1.0,I want decrible this protocol
if you have source or know about the class of library,please help me
help me
|
|
|
|
|
|
Im trying to be able to click a button and have qtys added and deducted from my db. I have a update query that works fine when I execute it. The problem Im having is using the query in my click event. Heres the code:
<< private void btn500pballs_Click(object sender, EventArgs e)
{
this.inventoryTableAdapter.UpdateQuery500(this.paintballDataSet.Inventory);
ListViewItem item1 = new ListViewItem("Paintballs 500ct");
item1.SubItems.Add("$12.00");
listViewmain.Items.AddRange(new ListViewItem[] { item1 });
}
>>
I keep getting an error
No overload for method 'UpdateQuery500' takes '1' arguments.
Any help, please?
Jon Henry
|
|
|
|
|
UpdateQuery500 is some function that you defined? The error No overload for method 'UpdateQuery500' takes '1' arguments sounds like the function call
this.inventoryTableAdapter.UpdateQuery500(this.paintballDataSet.Inventory);
isn't calling UpdateQuery500 with the correct number of parameters.
|
|
|
|
|
Yeah the Updatequery500 is an update statement that increments qty sold by 1 and decrements qty on hand by 1 in a specific row. What would dictate the number of parameters?
Jon Henry
|
|
|
|
|
The number of parameters is dictated by the functions' definition. You need to find where the function is defined and check there to see what else you need to pass into it besides whatever this.paintballDataSet.Inventory is.
Ex.
private void btn500pballs_Click(object sender, EventArgs e)
{
}
requires you pass in an object and EventArgs as parameters when calling it (although it looks like an event handler, so you shouldn't be calling it directly).
As others have said this is pretty basic. If you're really that new to C#/programming in general then you might want to check out some primer articles here[^] before you dive into databases and other more advanced stuff.
|
|
|
|
|
Jon Henry wrote: No overload for method 'UpdateQuery500' takes '1' arguments.
What's the problem? Do you understand what that error message means?
led mike
|
|
|
|
|
Actually I dont, Im a novice.
Could you explain the 'arguments' thing?
Jon Henry
|
|
|
|
|
Jon Henry wrote: Could you explain the 'arguments' thing?
I think you should learn basics of programming first and then try to update database. IMHO
|
|
|
|
|
Exactly
led mike
|
|
|
|
|
Hai to All...
I want to write a chat application,where a user can chat with any other users in the network..and i want to write an application where more than one user can draw a picture via online chat...
for some example "X" user chatting with a user called "Y",user X is drawing a house picture at the same time user y can edit that picture...
Can any one tell me how to do this,plz help me on this project...
|
|
|
|
|
Try this[^].
topcoderjax - Remember, Google is your friend.
|
|
|
|
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Home work
{
class WordPair
{
string [] rightpair = new string[] {"below\tunter", "blue\tgel", "cat\tgelb", "cat\tdie Katze",
"red\trot", "the dog\tder Hund", "to read\tlesen"};
}
}
At this stage, seeking help on creating a word pair object and calling a method for matching two different stringgs- one that produces a match and one that doesn't & be able to show the results of these matches.
Many thanks.
Ntoki
|
|
|
|