|
Hi,
Do you have access to store the files on the remote machine? Aslo could you please let us know how you are saving the files on the local disk?
Regards
Mahe
|
|
|
|
|
I am using Webservices to generate and save the Xml. basically made an object of XmlDocument which exposes funtion save. Function has passing parameter as path . So i can give local path as "C:\..." . It even works for localhost as "http:\\localhost\..." but when i change that to "http:\\iP of the comp on network " it thows an error.
I also tried mapping of network drive and then give pathe as any local drive but in vain
Meeta
|
|
|
|
|
Hi,
I posted a question a while ago and nobody seemed to be able to help me, I got this huge error when trying to create a new user when I set the enablePasswordRetrieval="true". Then I read on the Internet that I had to create and set machineKey settings. I had a look at a couple of samples, and decided to keep it to enablePasswordRetrieval="false".
Do I still need machineKey values if enablePasswordRetrieval="false"? How do I create these keys? Can someone please explain??
Regards,
ma se
|
|
|
|
|
Hi,
I was just wondering about SQL injection attacks when creating new accounts, or changing passwords, etc.
Are malicious attacks being checked in these textbox controls, for example, when typing in the security question (or answer), or adding a username, or does this have to be done manually?
If you set the following to:
passwordStrengthRegularExpression=""
..then what is the regular expression used?
When using the minRequiredNonalphanumericCharacters, what characters are are these?
I was working through the Paypal starter kit, and they have the following property set:
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
When I created my membership provider, I only got
type="System.Web.Security.SqlMembershipProvider"
Where does the .Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a come from? Do I need it?
Hope someone can help.
Regards,
ma se
|
|
|
|
|
How to do simultaneous sorting and paging in datagrid?
Thanks in advance
|
|
|
|
|
how can i convert a dataview to a dataset
|
|
|
|
|
Try the following code:-
Dim ds As New DataSet("Account")
Dim dt As New DataTable("Account")
dt.Columns.Add("FName", GetType(System.String))
dt.Columns.Add("LName", GetType(System.String))
dt.Columns.Add("Salary", GetType(System.String))
Dim dr As DataRow = dt.NewRow()
dr("FName") = "Suresh"
dr("LName") = "Dayma"
dr("Salary") = "30300"
dt.Rows.Add(dr)
Dim dv As DataView = New DataView(dt)
ds = dv.Container
Thanks & regards,
Suresh Dayma
Thanks & regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
Invalid postback or callback argument. Event validation is enabled using <pages enableeventvalidation="true"> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableeventvalidation="true"> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
this is the error iam getting when i press the post button in the index.aspx page. check ou this link www.40dol.com(it is working fine in mozilla, but in ie it giving above error)
plzzzz help me
Pradeep Reddy
|
|
|
|
|
hi
need to execute more than one statements of query in mysql , is it possible ? in short is there anything like stored procedure in mysql ?
plz explain in details if its there .
thanks.
max
|
|
|
|
|
This is probably not the right forum to ask such a question.
|
|
|
|
|
Hello,
I have a question / problem with a web application (.NET 2.0). I want to force the culture to be en-US. Adding the
globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US"
in web.config did not solve the problem.
I have a date time validation and if my culure is German it does not correctly validate the dates.
Any ideas or links are appreciated.
Thank you,
|
|
|
|
|
I need a book marque concept in .net
ie., in search engine, when i give one word in textbox according to that word it should move to that word place of DataGrid.
So please try to tell me if any body knows.
Thanking u
Naren
please help me
|
|
|
|
|
HI all
I have given a problem set in which i need to parse an xml document of size near about 1GB. In which the it should able to Parse/Load/Search the xml document in efficiently .
Now please anyone help me how to go for this means which are possible way and which is better PLease help me
|
|
|
|
|
Hi All,
I am working on PowerPoint Automation. I have an image stored in the database which I have to insert in ppt slide. Can anybody give me some pointer or sample code how to do this?
I am using the following piece of code
objSlide.Shapes.AddPicture(fn,Microsoft.Office.Core.MsoTriState.msoFalse,Microsoft.Office.Core.MsoTriState.msoTrue,380,200,0,0);
where fn is the name of the file.
But i can not see the image in the slide.
Thanks,
Avanika
|
|
|
|
|
hi ,
I need to change only one column datatype of a datatable and remaining records and datatypes as it is.
I have one datatable filled up with data records , i need same records in another datatable with only one column of price with changed datatype of int from string .
datatable.copy() and clone () doesnt work caz they also copy structure of the original datatable.
plz help.
regards,
max
|
|
|
|
|
i think v cant able to change the datatype of an datatable(if there is any data rows in it), so u just create a new datatable and write a code to create the table and move the records to that new DataTable
Raja
|
|
|
|
|
When I add a Crystal Report in a Visual Basic 2005 Project it is loaded together with its .vb source file but when I add it to an ASP.NET Project there is no source file. Could somebody explain to me why this is so?
|
|
|
|
|
hi
is there any function to convert mysql string datatype to int datatype.
I need to search data records from a table between certain price values.now this price values are stored in mysql as varchar type. And I need to compare it with certain price range which obviously is double or int type,
but how can i compare int and string . it gives error.
any help is appreciated,
thx,
max
|
|
|
|
|
How can i access starting index of selected text in label control using javascript.
kamalnath
|
|
|
|
|
Hope this is useful for you
var txt = '';
function getSelText()
{
var txt = '';
if (window.getSelection)
{
txt = window.getSelection();
}
else if (document.getSelection)
{
txt = document.getSelection();
}
else if (document.selection)
{
txt = document.selection.createRange().text;
}
else return;
}
alert(txt[0])//This line is to get starting index of selected text
|
|
|
|
|
Hi All
Can anyone guide me is the below approach is correct or not....
I am writing my max html code in my class file (Business layer) and return simple string to presentation layer. Normally i am doing this type of coding where i need my html to be build on the basis of return values from database.
E.g. I want to show hyperlink on a page if count(*) from table is greater than zero otherwise display “Not Available”. So my coding apprach is as below
strheader = "<br><br><font class=content> <STRONG>" + "More Images" + "</font> <br>"
sProdDescString3 = sProdDescString3 + strheader
If PrdMoreImageDataTable.Rows.Count = 0 Then
sProdDescString3 = sProdDescString3 + "Not Available"
Else
sProdDescString3 = sProdDescString3 + "<a href=# onclick=OpenWindow(a.htm);>Show Me</a>"
And in UI layer do simply as <%= sProdDescString3%> on appropriate location
Please guide me, is this approach is correct or some ……(
Amit
|
|
|
|
|
All HTML code should be in the presentation layer, not in the business layer.
---
b { font-weight: normal; }
|
|
|
|
|
Yes it makes sense.
One way to achieve is using span element in the presentation layer and then setting the InnerHtml property in class file according to the condition. e.g.
this.objSpan.InnerHtml = "";
Thanks,
Avanika
|
|
|
|
|
I'm just curious when I grab a connection string from my Web.config file using, say, WebConfigurationManager...
string connectionString = WebConfigurationManager.ConnectionStrings["myDatabase"];
...is the xml from the web.config file being read and parsed each and everytime this method is called? Or does is load the web.config and all it's settings into memory?
If it is reading the file each time, would it be faster to place the connection string into the Application Cache and read it from there?
Cheers!
Sunday Ironfoot
www.dominicpettifer.co.uk (work in progress)
|
|
|
|
|
Yes you are right,web.config is parsed each and everytime and your method will be called.This will show impact on performance so you can use cache memory to hold the connecton string.
Dont forget to set the expiry policy for that cache item,
i prefer file based expiry policy so that when web.config is changed then cache item get refreshed.
|
|
|
|