|
Hi,
I have one application. I want to call method in that page again and again while Records are deleted. There are near about 10000 records in that table.
OR should I use multiple threading if yes then how can I write.
Thanks
sjs
|
|
|
|
|
sjs4u wrote: How to call page using webservice
Maite, page calls a webservice and not the vice versa.
sjs4u wrote: I want to call method in that page again and again while Records are deleted
Use some kind of loop.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
but if I write code in that webservice should it will run background till the condition complete.
I have 10000 records and I want to distribute in 300 and call that function again and again till it reach to 10000.
bucause my page is expired though I write and configure all the setting for page expired. I want to increase the access to that records.
|
|
|
|
|
sjs4u wrote: but if I write code in that webservice should it will run background till the condition complete
No.
For that you can simply use AJAX Implementation.
Cheek Some sample from W3School
sjs4u wrote: I have 10000 records and I want to distribute in 300 and call that function again and again till it reach to 10000.
I don't think there is any use of loading 10,000 records in a page. Use Filter to minimize the records that would also helps you to improve performance.
sjs4u wrote: bucause my page is expired though I write and configure all the setting for page expired. I want to increase the access to that records.
My suggestion try to minimize the records in a single time.
Good Luck
|
|
|
|
|
Abhijit Jana wrote: For that you can simply use AJAX Implementation.
Gosh - do you have any idea at all ? You want him to use AJAX to delete records using a webservice call ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
This is dumb. Your business layer should exist outside of the page, unless your whole design is an utter disaster. Call your business layer to delete records, don't force a page to load to complete the task.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Can any one tell how to pass arguments for this code in the place of "path=?".
|
|
|
|
|
|
In anchor tag for the place of ? symbol. The whole code is not copy.
|
|
|
|
|
use Response.Redirect("Yourpage.aspx?path=sss");
now get the value of path within yourpage.aspx using Request.QueryString["path"]
Abhishek Sur
|
|
|
|
|
S. But my question is how to supply the value for the "path" dynamically using "?" mark
|
|
|
|
|
Hmm. A URL is a string. I'd probably use that as a starting point and consider maybe, just possibly, concatenating some kind of string that looks like a URL together. Including a ? at some point.
|
|
|
|
|
Karthick_gc wrote: S. But my question is how to supply the value for the "path" dynamically using "?" mark
Just use String or StringBuilder. Append Text. Add with path.
|
|
|
|
|
String.Format("myurl?path={0}", thePath)
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I am using Mysql as backend to the asp.net 2.0 project. I have deployed the project in online. I want to take the database backup.
Can anybody give me an idea which concept i have to use.
Thanks
|
|
|
|
|
|
I wrote a code for sending mail in C#.net .
One of the input control is asking for the Smtp server?. How to find the value for Smtp server and what to fill in that control?
|
|
|
|
|
In webConfig file .
<system.net>
<mailsettings>
<smtp from="www.domainname.com">
<network host="domainname" password="pwd" username="uname">
|
|
|
|
|
|
use your own smtp server name in there.
ex : smtp.google.com
replace with your server name
Abhishek Sur
|
|
|
|
|
Karthick_gc wrote: One of the input control is asking for the Smtp server?.
Did you ever heard that there is a difference between a control and property?
Karthick_gc wrote: How to find the value for Smtp server and what to fill in that control?
Do you have any any idea what a SMTP Server is?
If you have a machine with SMTP Server configured, specify the nsame of that machine or its IP address.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
S. i specified the IP address. But an error message is coming?
|
|
|
|
|
Karthick_gc wrote: But an error message is coming?
What kinda error message are you getting?
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
First Configure The SMTP Server in IIS. Read this article Configure SMTP in IIS[^]
After successfully installation, it use the smtp server name in you code. If you want to use some other SMTP Server, user there SMTP IP Address or SMTP Server Name.
Good Luck.
|
|
|
|
|
hi..
Write Your IP address..or System name
To Know IP Address
1) click START button
2)click on RUN
3)type cmd
4) type ipconfig
hope this will help you
|
|
|
|