.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Server Side Coding

Posted By: Sasi Prabhu     Posted Date: June 23, 2011    Points:5   Category :ASP.Net
i want to perform the server side operation to store the datetime into the database based on timing.

Responses
Author: Dhiraj Ranka             
Posted Date: June 23, 2011     Points: 20   

Hi,

It is not clear what actually you want to achieve, please put the scenario and try and explain in detail.

Hope this helps.

Thanks & Regards,
Dhiraj Ranka
http://www.twitter.com/dhirajranka | http://www.dhirajranka.com
Author: Sasi Prabhu             
Posted Date: June 23, 2011     Points: 20   

With out any user interactions i just want to read mails in aspx page based on the time and reply to their mails..

Thanks & Regards,
Sasi Prabhu.
Author: Dhiraj Ranka             
Posted Date: June 23, 2011     Points: 20   

Ok,

You basically want to parse an email and reply to that email.

For this you can use Chilkat Mail Compnonent

http://www.chilkatsoft.com/email-dotnet.asp

To do it automatically you auto refresh the page after every five minutes use <meta> tag.

Or other ways are writing Windows Service / Windows Application.

In any case you have to keep that page/service/application running continuously.

Hope this helps.

Hope this helps.

Thanks & Regards,
Dhiraj Ranka
http://www.twitter.com/dhirajranka | http://www.dhirajranka.com
Author: Sasi Prabhu             
Posted Date: June 23, 2011     Points: 20   

i want to run in server side without any user interaction.

Thanks & Regards,
Sasi Prabhu.
Author: Palani Kumar A             
Posted Date: June 28, 2011     Points: 20   

hi,


Dim con As SqlConnection = New SqlConnection( _
"Data Source=TestDb;Initial Catalog=testDBB;Trusted_Connection=True")
con.Open()
Dim constr As String = "insert into testtable values(@datetime,@desc)"
Dim cmd As SqlCommand = New SqlCommand(constr, con)
cmd.Parameters.AddWithValue("@datetime", DateTimePicker1.Value.ToString)
cmd.Parameters.AddWithValue("@desc", Me.TextBox1.Text.Trim)
cmd.ExecuteNonQuery()
con.Close()


Refer this Link:
http://social.msdn.microsoft.com/Forums/hu-HU/vbgeneral/thread/f746ef2c-7d3c-4674-8cc8-821e2b8f6496

With Regards
Palani Kumar A


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend