|
Hi!
No, its not mandatory to declare output parameter as int.
Plz provide the code which is generating the error. Its very difficult to help you without seeing the code.
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
Hi coders,
here i am stucked with a problem in asp.net.
My project have a page which redirects the user to payment gateway, after sucessfull payment, payment gateway redirects the user to specified page on website.
Now problem is that after redirecting to page by payment gateway when user click back button on browser, it again send the user to payment gateway which is creating chaos.
i have user history.go(1), it works fine in IE but not in Fire fox.
please suggest me the sloution.
Thanks in advance
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Hi,
Generally Commandobject.ExecuteNonQuery() returns 1 when the command is executed successfully. But it in one of my form it returns 1 and in another it returns -1 why is this happening.. Can anyone of u please give a suggesstion.......!
Thanks in Advance
Regards
Sivan.G
|
|
|
|
|
Sivan.G wrote: Generally Commandobject.ExecuteNonQuery() returns 1 when the command is executed successfully
It return's total number of row's affected by the sql statement.
Sivan.G wrote: one of my form it returns 1 and in another it returns -1 why is this happening..
A Negetive value indicates a Failure or Error to carry out the operation on the database...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
J O N wrote: A Negetive value indicates a Failure or Error to carry out the operation on the database...
No, it doesn't. It indicates that the query is not an update, an insert or a delete. Any errors are returned as exceptions.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: It indicates that the query is not an update, an insert or a delete. Any errors are returned as exceptions.
Yes, You're Correct....
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
The return value is the number of records affected, when the query is an update , an insert or a delete . For any other query the return value is -1.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hai all,
i just want to know about what is Sql webEvent Provider in asp.net2.0?
and can any one help me with some sample code.
Thanks in advance
Thanks
Subbu.
|
|
|
|
|
Is there away you can expose .net methods to javascript without using atlas?
|
|
|
|
|
ATLAS is just a Microsoft library that wraps AJAX. you can write your own AJAX code, and you can point it to an ASPX, which will then run .NET code and return JSON or XML, or whatever you like.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Can you give me an example please?
|
|
|
|
|
Hello There,
I want to read a Pdf files and then i have to count the characters,Words, pages of that files.... i have to do it in Asp.net with C#...
please Help. Its Urgent....
Sunil Tehalani
Sunil Tehalani
|
|
|
|
|
What is your problem ? Everyone can see that you already asked this, and you asked it again well after I answered you. The original question is visible still, if someone else knows of a free component ( which is the only possible way my answer could be improved on ), then they will respond to the prior post. Although the odds of them doing so are probably reduced by how rude it makes you look to just post the same question again.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello There,
I want to read a Pdf files and then i have to count the characters,Words, pages of that files.... i have to do it in Asp.net...
please Help. Its Urgent....
Sunil Tehalani
|
|
|
|
|
sunil.tehalani wrote: Its Urgent....
Of course it is.
1 - ASP.NET is not a language, it's a framework for generating html. You mean you want to do this in VB.NET or C#.
2 - you can't, not without writing a class to do it, or buying a commercial component that does it. Or perhaps looking for a free one.
Please don't ask me where to find a free one, the fact that I said perhaps, means I don't know of one.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am trying to inherits membership class and implementing IXmlSerializable but it doesn't work.
public class SSOMembershipUser : System.Web.Security.MembershipUser ,IXmlSerializable
'SSO.Security.SSOMembershipUser' does not implement interface member 'System.Xml.Serialization.IXmlSerializable.GetSchema()'
seema
|
|
|
|
|
And have you implimented GetSchema, or is the problem obvious ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
No I didn't implement GetSchema(). I don't know how to implement it. If I say return null; It is not showing any thing
seema
|
|
|
|
|
First[^] google hit.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello,
Thank you for reading this post. Here is my question. I have a datagrid and have 5 columns in it.The first one being should be a button column(either a button column or a template column with button is fine). The second column is lets say Email Subject, 3rd column is email date, 4th column hidden is customer_id and 5th column is email_sequence_id which is also hidden. My problem is this. When I click on the button in the datagrid i need to open a new window and go to a aspx page lets say showemail.aspx?id=custid&email_sequence_id=sequenceid where custid=column 4 of the datagrid and sequenceid=column 5 of the datagrid for that row. And this needs to open up in a new browser window. How do i do it ?? I tried using javascript and didnt work. Any suggestion will help. Please also be kind enough to give me a code sample because iam a little new to ASP.NET
Thank you for reading
RH
|
|
|
|
|
<a href=" showemail.aspx?id=<%#custid%>&email_sequence_id=<%#sequenceid%>" target="_blank">click me<a>
You can always make a button generate the popup, instead of an anchor tag, the thing is, the 'hidden' columns are not necessary, you use your databinding statements to build the URL in the column that it appears.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
Do IE have any javascript Event with when its activated.
Example:
i have two IE running. Window A (google) and Window B(yahoo).
lets assume the current window is B (yahoo),
Question :
when i do alt + Tab or shift to window A (google). i need to fire an Javascript .
i looked in to window Object , onfocus, onfocusin etc etc, but its no use.
i need the script to fire every time when i swicth the windows.
Please suggest.
Sri
|
|
|
|
|
My application is a master page/with content page. Content page has an update panel with a menuitem/multiview/view items. View item 0 has a dropdown box. When selecting view item 0, dropdown box is displayed. When selecting an item from the dropdown box, the program goes through PageLoad and never executes the SelectedItemChanged event. How do I access the selectedIndexChanged event on the view control?
|
|
|
|
|
The ReturnUrl is: /Client/Admin.aspx
Now I want to go to admin.aspx page. My following code doesn't work
Response.Redirect(Request.QueryString["ReturnUrl"]);
seema
|
|
|
|
|
You need to include the Request.Url.host+"/" before the Request.QueryString("ReturnUrl"),
Mess around some other properties like Host and you will find the proper way to redirect
|
|
|
|