|
Hey Guys
Any idea how to maintain session for multiple domains ???? This technology is used in .Net Passport. Furthermore if you are signed in to Google Account then you can use all the services by Google although these services reside on different server as well as different domain...
So please tell me from where to start.....!
|
|
|
|
|
May i know one thing , My question is based on passport authentication in vb.net.Ur question is related to my poblem , that;a y i am asking this question in u thread.hope u will not mind.
i was accessing the msn messenger.there i saw that while subscribing for the account , we can suscibe there if we have an account in yahoo or we have an account in rediff to access our mails.
now question is msn messenger uses the yahoo or rediff, gmail database ?
otherwise how do it check whether that mail address is genuine or not?
and one moe thing if i have to implement the passwport authentication , then can u suggest me any link , which is having the code .
Thanks in Advance.
Soniagupta1@yahoo.co.in
|
|
|
|
|
If I wud know then Y I need to post the Question
|
|
|
|
|
I am working with web application in .net ....
I have to provide functionality for PrintScreen(capturing image).
How can i achieve this?
If anyone knows, can you please help me...
Thank you,
|
|
|
|
|
|
lbl.text &="<a href="1.aspx">Port 1xSldm1</a><Br/>"<br />
lbl.text &="<a href="2.aspx">Port 1sVsTr0</a><Br/>"<br />
lbl.text &="<a href="3.aspx">Port 9wRef</a><Br/>"<br />
lbl.text &="<a href="4.aspx">Port dsFDc8</a><Br/>"<br />
lbl.text &="<a href="5.aspx">Port 7swew45</a><Br/>"<br />
lbl.text &="<a href="6.aspx">Port 32dDed6</a><Br/>"
i want to show this text but i need to disable all links. how can transform this text to
lbl.text &="Port 1xSldm1<Br/>"<br />
lbl.text &="Port 1sVsTr0<Br/>"<br />
lbl.text &="Port 9wRef<Br/>"<br />
lbl.text &="Port dsFDc8<Br/>"<br />
lbl.text &="Port 7swew45<Br/>"<br />
lbl.text &="Port 32dDed6<Br/>"
this for Printer.
|
|
|
|
|
I want to use java script function in asp page"aspx" I have the code in html page but i want to run it in aspx page
and i don't know about jscript file i didn't use it before can any body help me thx.
let's work together
|
|
|
|
|
Hi Ahmed,
aspx has really something to do with html. If you take a closer look at an aspx file, you will see the regular <head> <body> etc... tag.
So, to include a javascript file and use functions therein, follow the example below:
(1) Say we have a file called scripts.js containing a function "test()" that we want to use.
(2) Place the tag "script language="javascript" src="scripts.js"></script>" tag between the "<head>" and "</head>" tag
(3) Next say i have a texbox and i want to execute function "test()" on leaving the textbox
Code :
<asp:TextBox ID="txt" runat="server" onBlur="javascript:test();"></asp:TextBox"
Hope this helps.
Carpe diem
Krg
-- modified at 7:38 Wednesday 19th September, 2007
|
|
|
|
|
i don't understand your question carefully.
but u can use from this code:
We Can Do Anything, If We Want It
|
|
|
|
|
if you want your code to run at the time of page load... use the following code...
Page.RegisterStartupScript("MyDemo", "alert('hi there');");
/*use the function name on the place of alert()*/
and if you want ur JS code to fire on the occurance of a button onClick....
Button1.Attributes.Add("onclick", "sampleJSfunction()");
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
How can i change folder icon in asp.net??
|
|
|
|
|
I am uploading and reading an excel file and it contains numbers. Problem is, numbers are not read/recognized. What seems to be the problem and how am I be able to get the numbers from the excel file?
|
|
|
|
|
Hi,
i have given form authentication for my Member page, i kept my Member page in Secure folder.
now i added one more page in Secure folder and i want to assaign form authentication for that page too, but the thing is when i try to click the button instead of redirect to the corresponding page its redirecting to the login page,
Can any body help me how to solve this probs.
Her i am patig my web.config file tooo,
<system.web>
<authentication mode="Forms">
<forms name="frmLogin"
="" loginurl="Login.aspx" defaulturl=".\Secure\Member.aspx">
<authorization>
<allow users="?">
<location path="Secure">
<system.web>
<authorization>
<deny users="?">
|
|
|
|
|
Error 16 Unable to copy file "obj\Debug\rescue15.exe" to "bin\Debug\rescue15.exe". The process cannot access the file 'bin\Debug\rescue15.exe' because it is being used by another process. rescue15
|
|
|
|
|
This error message generally comes up when Applications’ exe is already running and then user try to rebuild the project. Please check if there is already an exe running from following location:
bin\Debug\rescue15.exe
If yes, then please stop this exe and then try rebuilding again.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
Hi
I am trying to use the java webservice developed by Mercury(a tool called ITG)
I am able add the web reference, but when I build my ASP.NET application I get the below error:
Unable to import binding 'RequestSoapBinding' from namespace 'http://mercury.com/itg/dm/1.0'. App_WebReferences/getDropDownListValues/
Please find my WSDL content below, my URL is:http://10.195.152.34:8080/itg/services/Request?wsdl
Content is:
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://mercury.com/itg/dm/1.0" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://mercury.com/itg/dm/1.0" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:types="http://mercury.com/itg/dm/1.0/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema targetNamespace="http://mercury.com/itg/dm/1.0/types" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <complexType abstract="true" name="Value">
<sequence />
</complexType>
- <complexType name="RequestHeader">
- <sequence>
<element name="auditNote" nillable="false" type="xsd:string" />
<element name="origin" nillable="false" type="xsd:string" />
<element name="transactionName" nillable="false" type="xsd:string" />
<element name="credentials" nillable="false" type="types:Credentials" />
</sequence>
</complexType>
- <complexType abstract="true" name="Credentials">
<sequence />
</complexType>
- <complexType name="LoginAccount">
- <complexContent>
- <extension base="types:Credentials">
- <sequence>
<element name="username" nillable="false" type="xsd:string" />
<element name="password" nillable="false" type="xsd:string" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="ProcessingError">
- <sequence>
<element name="errors" nillable="false" type="types:ArrayOf_types_ErrorMessage" />
<element name="message" nillable="false" type="xsd:string" />
</sequence>
</complexType>
- <complexType name="Field">
- <sequence>
<element name="token" nillable="false" type="xsd:string" />
<element name="value" nillable="false" type="types:Value" />
</sequence>
</complexType>
- <complexType abstract="true" name="Reference">
- <sequence>
<element name="creationDate" nillable="true" type="xsd:dateTime" />
<element name="name" nillable="true" type="xsd:string" />
<element name="description" nillable="true" type="xsd:string" />
<element name="addedBy" nillable="true" type="xsd:string" />
</sequence>
</complexType>
- <complexType abstract="true" name="Note">
- <sequence>
<element name="creationDate" nillable="true" type="xsd:dateTime" />
<element name="content" nillable="false" type="xsd:string" />
<element name="addedBy" nillable="true" type="xsd:string" />
</sequence>
</complexType>
- <complexType name="Request">
- <sequence>
<element name="fields" nillable="false" type="types:ArrayOf_types_Field" />
<element name="references" nillable="true" type="types:ArrayOf_types_Reference" />
<element name="notes" nillable="true" type="types:ArrayOf_types_Note" />
</sequence>
</complexType>
- <complexType name="ErrorMessage">
- <sequence>
<element name="code" nillable="true" type="xsd:int" />
<element name="message" nillable="true" type="xsd:string" />
</sequence>
</complexType>
- <complexType name="Response">
- <sequence>
<element name="references" nillable="true" type="types:ArrayOf_types_Reference" />
</sequence>
</complexType>
- <complexType name="Identifier">
- <sequence>
<element name="serverURL" nillable="false" type="xsd:anyURI" />
<element name="id" nillable="false" type="xsd:string" />
</sequence>
</complexType>
- <complexType name="FieldMetaData">
- <sequence>
<element name="prompt" nillable="false" type="xsd:string" />
<element name="token" nillable="false" type="xsd:string" />
<element name="required" nillable="false" type="xsd:boolean" />
<element name="description" nillable="false" type="xsd:string" />
<element name="fieldType" nillable="false" type="xsd:string" />
<element name="listName" nillable="true" type="xsd:string" />
</sequence>
</complexType>
- <complexType name="SingleValue">
- <complexContent>
- <extension base="types:Value">
- <sequence>
<element name="tokenValue" nillable="true" type="xsd:string" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="MultipleValues">
- <complexContent>
- <extension base="types:Value">
- <sequence>
<element name="values" nillable="true" type="types:ArrayOf_xsd_string" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="DateValue">
- <complexContent>
- <extension base="types:Value">
- <sequence>
<element name="date" nillable="true" type="xsd:dateTime" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="Table">
- <complexContent>
- <extension base="types:Value">
- <sequence>
<element name="tokens" nillable="false" type="types:ArrayOf_xsd_string" />
<element name="rows" nillable="false" type="types:ArrayOf_types_TableRow" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="URLReference">
- <complexContent>
- <extension base="types:Reference">
- <sequence>
<element name="URL" nillable="false" type="xsd:anyURI" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="RemoteReference">
- <complexContent>
- <extension base="types:Reference">
- <sequence>
<element name="status" nillable="false" type="xsd:string" />
<element name="displayURL" nillable="true" type="xsd:anyURI" />
<element name="identifier" nillable="false" type="types:Identifier" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="UserNote">
- <complexContent>
- <extension base="types:Note">
<sequence />
</extension>
</complexContent>
</complexType>
- <complexType name="FieldChangeNote">
- <complexContent>
- <extension base="types:Note">
- <sequence>
<element name="fieldPrompt" nillable="false" type="xsd:string" />
<element name="oldValue" nillable="false" type="xsd:string" />
<element name="newValue" nillable="false" type="xsd:string" />
</sequence>
</extension>
</complexContent>
</complexType>
- <complexType name="ArrayOf_types_Field">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="types:Field[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="TableRow">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="types:Value[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ArrayOf_types_TableRow">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="types:TableRow[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ArrayOf_xsd_string">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ArrayOf_types_Reference">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="types:Reference[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ArrayOf_types_Note">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="types:Note[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ArrayOf_types_FieldMetaData">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="types:FieldMetaData[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ArrayOf_types_ErrorMessage">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="types:ErrorMessage[]" />
</restriction>
</complexContent>
</complexType>
- <!-- to make QC VB app. happy
-->
- <complexType name="mapItem">
- <sequence>
<element name="key" nillable="true" type="xsd:anyType" />
<element name="value" nillable="true" type="xsd:anyType" />
</sequence>
</complexType>
- <complexType name="Map">
- <sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="types:mapItem" />
</sequence>
</complexType>
</schema>
</wsdl:types>
- <wsdl:message name="importRequestRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="request" type="types:Request" />
</wsdl:message>
- <wsdl:message name="importRequestResponse">
<wsdl:part name="importRequestReturn" type="types:Response" />
</wsdl:message>
- <wsdl:message name="updateRemoteReferenceResponse">
<wsdl:part name="updateRemoteReferenceReturn" type="xsd:int" />
</wsdl:message>
- <wsdl:message name="ProcessingErrorFault">
<wsdl:part name="fault" type="types:ProcessingError" />
</wsdl:message>
- <wsdl:message name="updateRemoteReferenceRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="receiver" type="types:Identifier" />
<wsdl:part name="source" type="types:Identifier" />
<wsdl:part name="newStatus" type="xsd:string" />
<wsdl:part name="fields" type="types:ArrayOf_types_Field" />
</wsdl:message>
- <wsdl:message name="getRequestTypesByFieldGroupRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="fieldGroup" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="getRequestTypesByFieldGroupResponse">
<wsdl:part name="getRequestTypesByFieldGroupReturn" type="types:ArrayOf_xsd_string" />
</wsdl:message>
- <wsdl:message name="getRequestTypeFieldsRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="requestType" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="getRequestTypeFieldsResponse">
<wsdl:part name="getRequestTypeFieldsReturn" type="types:ArrayOf_types_FieldMetaData" />
</wsdl:message>
- <wsdl:message name="deleteRequestsRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="requestIDs" type="types:ArrayOf_xsd_string" />
</wsdl:message>
- <wsdl:message name="deleteRequestsResponse">
<wsdl:part name="deleteRequestsReturn" type="xsd:int" />
</wsdl:message>
- <wsdl:message name="getDropDownListValuesRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="listNames" type="types:ArrayOf_xsd_string" />
</wsdl:message>
- <wsdl:message name="getDropDownListValuesResponse">
<wsdl:part name="getDropDownListValuesReturn" type="apachesoap:Map" />
</wsdl:message>
- <wsdl:portType name="RequestServices">
- <wsdl:operation name="importRequest" parameterOrder="header request">
<wsdl:input message="intf:importRequestRequest" name="importRequestRequest" />
<wsdl:output message="intf:importRequestResponse" name="importRequestResponse" />
<wsdl:fault message="intf:ProcessingErrorFault" name="ProcessingErrorFault" />
</wsdl:operation>
- <wsdl:operation name="updateRemoteReference" parameterOrder="header receiver source newStatus fields">
<wsdl:input message="intf:updateRemoteReferenceRequest" name="updateRemoteReferenceRequest" />
<wsdl:output message="intf:updateRemoteReferenceResponse" name="updateRemoteReferenceResponse" />
<wsdl:fault message="intf:ProcessingErrorFault" name="ProcessingErrorFault" />
</wsdl:operation>
- <wsdl:operation name="getRequestTypesByFieldGroup" parameterOrder="header fieldGroup">
<wsdl:input message="intf:getRequestTypesByFieldGroupRequest" name="getRequestTypesByFieldGroupRequest" />
<wsdl:output message="intf:getRequestTypesByFieldGroupResponse" name="getRequestTypesByFieldGroupResponse" />
<wsdl:fault message="intf:ProcessingErrorFault" name="ProcessingErrorFault" />
</wsdl:operation>
- <wsdl:operation name="getRequestTypeFields" parameterOrder="header requestType">
<wsdl:input message="intf:getRequestTypeFieldsRequest" name="getRequestTypeFieldsRequest" />
<wsdl:output message="intf:getRequestTypeFieldsResponse" name="getRequestTypeFieldsResponse" />
<wsdl:fault message="intf:ProcessingErrorFault" name="ProcessingErrorFault" />
</wsdl:operation>
- <wsdl:operation name="deleteRequests" parameterOrder="header requestIDs">
<wsdl:input message="intf:deleteRequestsRequest" name="deleteRequestsRequest" />
<wsdl:output message="intf:deleteRequestsResponse" name="deleteRequestsResponse" />
<wsdl:fault message="intf:ProcessingErrorFault" name="ProcessingErrorFault" />
</wsdl:operation>
- <wsdl:operation name="getDropDownListValues" parameterOrder="header listNames">
<wsdl:input message="intf:getDropDownListValuesRequest" name="getDropDownListValuesRequest" />
<wsdl:output message="intf:getDropDownListValuesResponse" name="getDropDownListValuesResponse" />
<wsdl:fault message="intf:ProcessingErrorFault" name="ProcessingErrorFault" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="RequestSoapBinding" type="intf:RequestServices">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="importRequest">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="importRequestRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:input>
- <wsdl:output name="importRequestResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:output>
- <wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault name="ProcessingErrorFault" use="encoded" />
</wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="updateRemoteReference">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="updateRemoteReferenceRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:input>
- <wsdl:output name="updateRemoteReferenceResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:output>
- <wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault name="ProcessingErrorFault" use="encoded" />
</wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="getRequestTypesByFieldGroup">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="getRequestTypesByFieldGroupRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:input>
- <wsdl:output name="getRequestTypesByFieldGroupResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:output>
- <wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault name="ProcessingErrorFault" use="encoded" />
</wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="getRequestTypeFields">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="getRequestTypeFieldsRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:input>
- <wsdl:output name="getRequestTypeFieldsResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:output>
- <wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault name="ProcessingErrorFault" use="encoded" />
</wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="deleteRequests">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="deleteRequestsRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:input>
- <wsdl:output name="deleteRequestsResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:output>
- <wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault name="ProcessingErrorFault" use="encoded" />
</wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="getDropDownListValues">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="getDropDownListValuesRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:input>
- <wsdl:output name="getDropDownListValuesResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mercury.com/itg/dm/1.0" use="encoded" />
</wsdl:output>
- <wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault name="ProcessingErrorFault" use="encoded" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="RequestServicesService">
- <wsdl:port binding="intf:RequestSoapBinding" name="Request">
<wsdlsoap:address location="http://localhost:8080/itg/services/Request" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
|
|
|
|
|
Hi,
I am trying to read a string from a specific resource file embedded in a satellite assembly using the resource manager. This works fine (see http://www.codeproject.com/script/comments/forums.asp?msg=2232299&forumid=12076#xx2232299xx ).
I managed to use the ResourManager to read a required string in the usual way : ResourceManager.GetString("key"). However, i am looking for a way of reading all keys and values within a particular resource file at one go (e.g I want to read all the 100 entries in a resource file into a list without having to pass the "key" each time).
Can you please help me on this.
Thanks
Krg
|
|
|
|
|
Hi,
Sorry i did find the answer myself. Its as simple as getting an Enumerator on the ResourceManager's ResourceSet. Please find the code below if this might help someday:
ResourceSet resourceSet = _resManager.GetResourceSet(new CultureInfo(userLanguage), true, true);
IDictionaryEnumerator eDict = resourceSet.GetEnumerator();
string x = string.Empty;
while(eDict.MoveNext()) //Loop in Resource Set
{
x += " [" + eDict.Entry.Key + "] --> [" + eDict.Entry.Value + "]";
}
|
|
|
|
|
long ContentLeghnth = 0;
SendingParameter.Url =
"http://localhost:8851/Mobily%20reminder/Default.aspx";
string sbData = strDataToPost(SendingParameter, ref ContentLeghnth);
System.IO.StreamWriter srWriter = null;
System.Net.HttpWebRequest Request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(SendingParameter.Url);
Request.Method = "POST";
Request.ContentLength = ContentLeghnth;
Request.ContentType = "application/x-www-form-urlencoded";
try
{
srWriter = new System.IO.StreamWriter (Request.GetRequestStream());
srWriter.Write(sbData);
srWriter.Flush();
}
catch (Exception ex)
{
string msg = ex.Message;
}
System.Net.HttpWebResponse Response =(System.Net.HttpWebResponse)Request.GetResponse();
using (System.IO.StreamReader sr = new System.IO.StreamReader(Response.GetResponseStream()))
{
string result = sr.ReadToEnd();
// Close and clean up the StreamReader
sr.Close();
}
return true;
}
the compiler stops at the bold statment
plz help
|
|
|
|
|
how to load any dll on run time. please help me.
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
HI All,
Iam calling a web services method using javascript ajax.
If I make the web method at my own system then it work fine .
But if I host the web services into another system,then iam not able to get web method name .
In this iam using Script Manager which take the Service path,I passed the Complete path of Web services but iam not able to get method name in JavaScript(Saying undefined method Name).
Has any body got any idea ???
How to resolve this problem.
Thanks
Rahul
|
|
|
|
|
Hello,
I am conversant with VC++,MFC .Now I want to develop website so what should I start reading .
I have started with HTML .
What is ASP.Net?
Is it related to Web development?
Prithaa
|
|
|
|
|
Start with www.asp.net or www.w3schools.com u will get all the information...
|
|
|
|
|
Shortly, HTML refers more or less to static sites (content is not easily updatable). ASP is a dynamic web page development technology whereby you can connect your web page to a database or whatever and have your content updated without having to go in the code. However, ASP.NET is the newer and easier to use version of ASP (to some extent) and it gives the possibility of building web pages using any of your favourite languages found in Visual Studio.NET framework (usually people use C#, VB.NET or J# to code their ASP.NET pages).
Hope this helps
Carpe diem
Krg
|
|
|
|
|
I have a datagrid in my page which has 5 columns.
While first column being a template column with item template a checkbox and followed by 3 bound column.
The last column is a EditCommand column.
The problem which i face is when the Edit is clicked in EditCommand column the bound column are getting changed to editable mode in a textbox. But i couldnt access the text entered by the user in these editable columns which has to bo updated.
i tried typecasting the controls[0] property of the item to textbox and access it but the text value is empty.
Similar is the case for checkbox.
Kindly help me out.
Thanks,
Srikanth
|
|
|
|