|
You would obviously want to call the javascript on the checkbox click events. You of course need logic to validate each checkbox's status and show/hide the button appropriately. I would recommand looking at JQuery[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Experts,
I have a excel sheet which has 7 lakhs records in which password has been encrypted. I have to decrypt the password column and find the passord whose length is greater than 7.
I have created encrypt and decrypt methods and the way to find the length of the password
----
----
----
OleDbCommand cmd = new OleDbCommand("SELECT * FROM [Sheet1$] where len(password) < 7", oledbConn);
----
----
----
My requirement is, is there any way to decrypt the whole passoword column or i have to loop through all the cells one by one.
|
|
|
|
|
One by one. Each piece of data is encrypted separately so it needs to be decrypted separately. If you have a piece of data that when encrypted turns into 12345 and another piece of data that turns into 67890 trying to decrypt 1234567890 would not give you the two original pieces of data (unless you are using a really horrible encryption method like ROT13). It's like if you took a zip file and chopped it in half, you aren't going to be able to unzip either piece by itself.
|
|
|
|
|
Hi,
I have a TabContainer that contains 5 TabPanels,
and all of them are visible = false.
At runtime i want to show only part of them,
my problem if i'm not setting the first tab to visible i can't show any other tabs.
I mean, i the fist tab prop. visible is set to false,
all other will not show even if their prop. is set to true.
is it posible???
|
|
|
|
|
Sounds like an odd UI design. The first tab should be the most important / most commonly used tab. If you are making it disappear then maybe you need to rethink your tab order.
|
|
|
|
|
Hy,
I have a web site which has two different web projects in it.the problem is when ever i am not using any page of one of the Project(P1) and using a page of the other project(p2), it give me session time out soon as session of P1 gets expired.
I have to write the code in such a way that,the session values of 2 different project can interact with each other so that even if i am not working on any of the pages to which a particular project belong ,it wont give me session time out.
modified on Monday, November 22, 2010 7:41 AM
|
|
|
|
|
|
Hello ,
I am a asp .net coder . I am doing my project using c# and at the back end there is my-sql . I have created dataset from solution explorer . I have configured table adapter correctly for Customer creation . here the method get works correctly . than i have add query regarding insert , update , delete . At the asp .net web form first i have added a objectdatasource from the toolbox . configured it with datasettableadapters.customerstableAdapter . select the get method as select method and provide insert , update , delete method what i have created at the dataset table adpater . Than i have drag a details view and select the datasource as objectDataSource1 . enable insert , update ,
delete . Every thing works fine now on word . When I run the webpage the detailsView show the information of the customers . But when i go for edit , update , delete than it shows an error that object datasource could not find query delete and it's parameter . What may be the solution
|
|
|
|
|
Since you are new here you should familiarize yourself with these guidelines, located at the top of this forum
How to get an answer to your question[^]
"Hi" is not acceptable subject. Also, it may be more helpful to show the code you are using rather trying to describe it. Only show the relevant code, we do not need a dump of your entire application
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hi all
i am anew user for using crystal report and i want to bind adynamic datatable to acrystal report
can any body help me in this?
thanks
|
|
|
|
|
|
first, thanks for your effort
but actually i have searched before , but all demos i found was in windows form and i need it in webform
thanks
|
|
|
|
|
monamoona wrote: but actually i have searched before , but all demos i found was in windows form and i need it in webform
Ok, but mention that in your question too. Then use perfect keywords while searching the web.
monamoona wrote: thanks
You Welcome
thatraja |Chennai|India|
Brainbench certifications Down-votes are like kid's kisses don't reject it Do what you want quickly because the Doomsday on 2012
|
|
|
|
|
ok,i made it before and i will make it again
thanks again
|
|
|
|
|
|
my question...
have you tried a payment gateway to process credit cards on your website?
I want to do that but most of gateways i have seen force me to use their form but i want to use my own form so use will just see my form and page not anything else.
|
|
|
|
|
Well Jrahma,
you can't use your form. Payment systems are there for a reason.
The customers (yes also your customers) trust certain payment providers
and are willing to pay for some service using those providers.
The payment details are withheld from the provider of said service
(in this case you), because the customer does not nescessarily have any
trust in them.
You'll get nobody to reveal any sensitive information on your site.
Stick with what the payment providers offer you, otherwise no one
will be willing to pay for the services you offer.
Cheers
Manfred
|
|
|
|
|
is there anyway to limit the width of the <body> to something like 970px so everything inside will be 970 if i set it to 100%?
|
|
|
|
|
You can set width value for the style property of BODY or you can set in CSS.
Fixed-width body[^]
Look at the View source for the code.
thatraja |Chennai|India|
Brainbench certifications Down-votes are like kid's kisses don't reject it Do what you want quickly because the Doomsday on 2012
|
|
|
|
|
What's the datatype in MySQL for the GUID field and how an I set it?
|
|
|
|
|
Post your questions in appropriate forums. This is it UUID[^]
thatraja |Chennai|India|
Brainbench certifications Down-votes are like kid's kisses don't reject it Do what you want quickly because the Doomsday on 2012
|
|
|
|
|
Anyone knows about an ASP.NET host with MySQL not MS SQL? which one you tried? what's your feedback?
Thanks
|
|
|
|
|
Hi All,
I have a requirement to call some exteral Web Service by using Http Post method from my WCF Service. I didnt use the Http Post method to call a Web Service. Can anybody help me by suggesting some ideas or code or links also fine. I have some xml string in this web service which I need to pass to the Web Service.
Pease help me in this. Thanks in advance.
When I use the following code it is giving me the exception "the remote server returned an error 500 internal server error." It is giving this exception at
" WebResponse response = request.GetResponse();", so please help me in this issue.
private string SubmitCreateNewHireWorkflowStatus(string strStatusXml, string servicePath)
{
WebRequest request = HttpWebRequest.Create("https://staging.xxxx.com/pa/vendorCheckXXXXXXXXXXXXX.do");
request.Method = "POST";
request.ContentLength = strStatusXml.Length;
request.ContentType = "application/x-www-form-urlencoded";
Stream str = request.GetRequestStream();
System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding();
byte[] byteStatusXml = encoding.GetBytes(strStatusXml);
string result = "";
str.Write(byteStatusXml, 0, strStatusXml.Length);
str.Flush();
try
{
WebResponse response = request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
result = reader.ReadToEnd();
}
catch (Exception exception)
{
string strException = exception.Message;
}
return (result == null) ? "" : result;
}
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
modified on Friday, November 19, 2010 6:47 PM
|
|
|
|
|
Just so you know, "500 Internal Server Error" is about as vague as "something happened, and it was bad". A 500 is not going to help you much in the way of debugging.
You could try using:
request.ContentType = "application/x-www-form-urlencoded; charset=utf-8";
No idea if that will work or not, that's a stab in the dark.
Have you monitored the receiving WebService to see what exception it's throwing? You could be sending malformed data.
If you have something that talks over HTTP to this WebService already that WORKS, you could try watching its requests with Fiddler/WireShark/something similar and compare it to what you're sending.
I dunno man, sorry it's just a bit vague.
|
|
|
|
|
Don't worry, just a bit of weekend humour... my problem not yours, but if any of you have any thoughts I would be grateful.
I have an asp.net application (MVC) running in IIS 7. One of the tasks is to allow the user to download a file. This file is created on the fly, compressed to zip file and then provided for download.
In VS development environment this is working without any issues. But on the live server (in IIS) I am getting the error "Access to the path 'blah blah' is denied".
This is happening during the compression process. The initial file is create fine (so the process clearly has write permissions) but when the compression starts, then it cannot access the file to read it
After the error, if I try to manually delete the file, it wont let me (file is in use by another application) so as a test I used the following code to create a file in the same path and still get the problem when trying to manually delete...
System.IO.File.Create("file.txt");
...something is clearly using the file, but what could it be? and why? Any thoughts?
Thanks
EDIT: The locked file eventually becomes unlocked (over 20 minutes)
EDIT: I have used ProcessExplorer to determine that the file is being handled by w3wp.exe - now I need to find out why
EDIT: Just on IIS7 on local development machine and it is working fine. Got to be a settings in live IIS! .. just gotta be (brain pain)
Life goes very fast. Tomorrow, today is already yesterday.
modified on Friday, November 19, 2010 7:39 AM
|
|
|
|