|
i tried with this code also but am getting the same error
|
|
|
|
|
I wanted to make a asp.net application with C# which would dial a telephone
number using the modem. When the person on the other end lifts up the
telephone (answers the phone
|
|
|
|
|
swami samarth wrote: When the person on the other end lifts up the
telephone (answers the phone
yes ?
One issue - will you have lots of phone lines, or will you not have many people using your site ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi all,
I am sending bulk sms using http gateway , my problum is when i am sending 1000 msg. at a time ,then its taking around 10 minute to send this msg. ,so i want to reduce this time to 1 minute.
dwivedi
|
|
|
|
|
OK - and what would you like us to do ? If it's a http gateway, perhaps a faster internet connection would help ? Either way, your application is obviously evil.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Sir ,
Thanks for ur response
Sir , In my application wht i m doing is ,there is page in which user is pasting there mobile numbers and message n then pressing send button ,in back end i m running loop to catch no. and sending msg. one by one,in this process ,if there is 1000 no. then its taking long time in loop. i want to know tht is there any way to increase the performance of my application , my applcaiton is not on dedicated server , n my hosting provider is having good band width also. so i think there is no issue with band with n data tranfer here , so how is increase the performace of my application ,plz help me .
dwivedi
|
|
|
|
|
i have page in which i have master page
on tht master page i have differnt links..
when user click on any link ..i want to change the colour of tht link
means he will gwt o knw ehich link has been click
it works upto clicking...but onces page get relaoded its back to its normal colour
bcz master page get load again
wht i have to do??
can anyone help me plz??
|
|
|
|
|
Hi,
Does any body know how to add a button to Internet explorer and Mozilla firefox. I am new to this topic.If anybody know the solution please reply me fast. Its urgent.
Thank you.
|
|
|
|
|
I am doing a project. It consists of Photo gallery. I want to display all the recent photos stored 2 days before. I have a field called stored_date. How to achive this using SQL. Can anyone tell the code?
|
|
|
|
|
Try This
declare @nowdate datetime
declare @prevoius datetime
set @nowdate = getdate();
print @nowdate
set @prevoius = ( select DATEADD(day,-2,@nowdate))
print @prevoius
Query:
|
|
|
|
|
Query is : select * from table where stored_date between @nowdate and @previous
|
|
|
|
|
Is this a stored procedure?
|
|
|
|
|
yes u have to write this in stored procedure .
|
|
|
|
|
K. Can u tell how to call procedures from Dotnet? Because i know only to call queries. It will be very helpfull.
|
|
|
|
|
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "store procedure name";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = con
|
|
|
|
|
You can also try this if you want to use the query
select * from table_name where convert(datetime,convert(varchar(30),stored_date,103),103)
between convert(datetime,convert(varchar(30),getdate()-2,103),103)
and convert(datetime,convert(varchar(30),getdate(),103),103)
You can take whatever number of days you want.
Regards,
Kaushal Arora
modified on Thursday, February 26, 2009 6:06 AM
|
|
|
|
|
I want to have a refresh that recalls the database to pick up changes. I have timers set up on different pages that call the database. (using System.Timers.Timer() ) But if a user moves to different page that has another timer I get more than one timer calling the database and this is bad for performance. What is the standard way to handle an automatic refresh?
Thanks in advanced
|
|
|
|
|
Hi,
How to create Custom Validator in Validation Application block? Does anyone provide links or some information?
|
|
|
|
|
Shivajiwow wrote:
How to create Custom Validator in Validation Application block? Does anyone provide links or some information?
Have a look[^]
|
|
|
|
|
Hi Abhijeet,
I installed Validation library 4.0 but i didnt get any Application Block Software Factory.
So how to get that?
|
|
|
|
|
Hello Everybody
I have already posted a similar topic but that one was bit confusing. This is why I am writting again.
1. Customer can choose date and time from textbox or dropdown.
When customer click submit button then I want to check whether their selected date and time 8 hours more than system date and time or not.
For Example:
System.Today.DateTime = 10/02/09 05:06:50 , I want to compare System.Today.DateTime with customer selected data and time.
Please help me
Thanks in Advance
Sarfaraj
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: I have already posted a similar topic but that one was bit confusing. This is why I am writting again.
There is no need of repost. If that was not clear, please modify that one rather than Cross Post.
|
|
|
|
|
thank you very much
Sarfarj Ahmed
|
|
|
|
|
i have not read you last post. from this one if I understood you correct,
DateTime current = DateTime.Now;
Timespan t = current.Subtract(inputDate );
The timespan object will have the difference. i.e. re.TotalHours will have the hour difference.
|
|
|
|
|
Thank You very much
your code does make sense.
Could you please tell me a bit detail
1. You are right, input is coming from customer
2. If I substract the input then do I need to specifie any format ex. 10/02/09 5:47
Sarfarj Ahmed
|
|
|
|