Thursday, 7 November 2019

Datetime add 1 month to current day

Datetime add 1 month to current day


If you want next month date write DateTime.Now.AddMonths(1) simlary it's depend on you how much month or year you want to add.

If you want to add Mont From a Fix Date then First Convert it to dateteTime like See below

 Convert.ToDateTime(txtInstDate.Text).AddMonths(addmd)


addmd is my month number like 1,2,3,4 and So on try this



Tuesday, 5 November 2019

PDF Export only exporting one page??

PDF Export only exporting one page??


use this 
     crystalReport.ExportToHttpResponse
                             (CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, true, "Barcode");
           

Monday, 4 November 2019

Calendar control not working...

Calendar control not working...


I am using crystal report viewer and the ajax calendar for a range it is working on local. But when it on the web server calendar is not working .Need of help

Thanks in advanced

ReportViewer Calendar button Click does not show calendar

ReportViewer Calendar button Click does not show calendar






I have a reportviewer on a page which is grabbing a report from a report server. the page is basically just a dropdownlist and a reportviewer control. The problem I have is that in the report the user have to provide the dates for teh report. The reportviewer automatically adds the textbox for the date entry and a calendar icon in front of it so the user can select the date. if I look at this page  in FireFox, when you click on the calendar button created by the reportviewer, the calendar control show up momentrily and dispappears. If you look at the same page in IE 7.0 nothing happens other than the page appears to be submitted. Does any body have any ideas on how to go about troubleshooting this bug?

Thanks

synchronize data only between local database and remote database

synchronize data only between local database and remote database



Hi all,
I have a web application published to remote server. user use it in case of internet existance.
there is another published version on local pc "sql server express 2008" . in case of there is no Internet connection ,user will use it from local pc.
how can i update remote database with new data of local database when there is no internet connection?
thanks

How to synchronize two SQL Server Databases automatically using C# .Net

Take Data Offline Using Microsoft Synchronization Services for ADO.NET

Take Data Offline Using Microsoft Synchronization Services for ADO.NET


To view click on below link