Normally, we can create hidden field and post the entire page to another server to transfer data.
Is there anyway to perform similar task, without using a webpage?
For example:
I want to write a function, to self trigger after a specific time.
The self triggered function will form a hidden field message, and send to another server to query some information.
This function will not able to perform...
User Profile
Collapse
-
Post Hidden Field without Brownser Redirection
-
Hi jk,
Ya I am using XmlDocument to read an XML.
I already found answer for this issues.
Below is my solution. Just to share out with someone out there with similar problem.
...Code:private void AddNewNode() { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml("C://XML.xml"); // declare a fragment to contain the to-be added new childnode XmlDocumentFragment -
How to Append Node in C#?
Hello all, I currently working on a program that allow to append new xml node into a existing xml doc.
The following is my senario:
I need to generate few report based on 2 different client, Client1 and Client2.
Each client have 1 report title and config tag.
How can I add 1 more report title and config tag under Client1?
Currently I have a XML contain the following info:
...Code:<?xml version="1.0"?>
-
Im working on a integration between gateway.
The 2nd party used MD5 with RSA. But they provide Java source code.
My part is .NET, therefore problems come.Leave a comment:
-
Thanks, I also notice the different between these two.
But anyway, can I first use MD5 hash my string, then use RSA to encrypt the hash result? Or the other way round?Leave a comment:
-
MD5 with RSA
Hi all, I currently working on a project that need to perform a security hashing that involve both MD5 and RSA.
MD5 hashing is easy to implement. But I have no idea on how RSA works. I perform some research online and I notice most RSA involve Public and Private Keys to perform signing.
Do any1 have experience on this kind of hash method?
Any sample code can provided in order for me to get a better understanding? -
How to generate a sum of a particular column in DataGridView with C#?
Hi guys, currently Im working on a program where generate a datagridview from database.
After generating the datagridview, i would like to add another row below the column to sum the value.
Example:
Original DataGridView
----------------------
|ID | Name | Value |
----------------------
| 1| User1| 2000|
| 2| User2| 1500|
| 3| User3| 500|
----------------------... -
How to do verification in XML with C#?
Hello, I currently working on a project where I need to insert a record into XML. I able to insert without problem. But I wonder how to varify do the same client name already exist? If yes, i want to ignore the insertion.
...Code:private void button3_Click(object sender, EventArgs e) { string FileName = ".\\MasterXml.xml"; XmlTextReader reader = new XmlTextReader(FileName); -
Thanks gary. You way works without the problem i facing!
In my code there, when i insert one record no problem.
But when i want to add another record, it just replace the previous one.
After all i found an alternative which use append.
Just try out ur solution and it work just perfect!
Thanks alot ya!Leave a comment:
-
Hello guys, I research in XML and able to perform write to XML. But same problem occur. Here is my code, can any please tell me why new record will only replace the previous record?
private void btnStore_Click( object sender, EventArgs e)
{
XmlTextWriter textWriter = new XmlTextWriter(" C:\\test.xml", null);
textWriter.Writ eStartDocument( );
...Leave a comment:
-
-
C# Read/Write multiple line from .ini
I currently working on a C# application where need to store information into .ini files.
I perform some search online and able to read and write info to .ini by importing kernel32 to my application.
But now i come across problem where i want to insert and read multiple record using loop, because when I add another record, it just replace the previous record.
My first question is how to make it insert 3... -
Erm, I will need to store the date in a XML. Eg. Every 1st of month 12.00am.
Then let the program to check is today = 1st of month.Leave a comment:
No activity results to display
Show More
Leave a comment: