Showing posts with label grid view pagination. Show all posts
Showing posts with label grid view pagination. Show all posts

Monday, 10 February 2014

grid view pagination,task manger during a remote desktop session,Label text new line, Remove time from date field

Basic Problems

1.Entire page refresh issue in grid view pagination inside the update panel then

Enable Sorting And Paging Callbacks="false"

2.Date / Time Field value out of range  different date style in PostgreSQL then

Edit your postgresql.conf file and change the 'datestyle' value to datestyle='iso;dmy'(default)
Location postgresql.conf
c:\ProgramFiles(x86)\PostgreSQL\8.4\postgresql.conf

3.How do open the windows task manger during a remote desktop session.

Right click the taskbar and click task manger.

4.How  Label text new line

Use Replace(Environment.NewLine,"<br>");
OR Replace(controlChars.Lf,"<br>")

 5. Remove time from date field

lbldate.Text=Convert.ToDateTime(ds1.Tables[0].Rows[0].ItemArray[0].ToString( )).ToShortDateString();