Click here to Skip to main content
15,917,568 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: object caching in webservice Pin
ToddHileHoffer18-Mar-09 10:23
ToddHileHoffer18-Mar-09 10:23 
GeneralRe: object caching in webservice Pin
dd31415918-Mar-09 11:05
dd31415918-Mar-09 11:05 
QuestionFireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. [modified] Pin
Bill Lawton18-Mar-09 7:30
Bill Lawton18-Mar-09 7:30 
QuestionRe: Able to stop FireFox loading pages twice. Any thoughts as to why? Pin
Bill Lawton18-Mar-09 9:55
Bill Lawton18-Mar-09 9:55 
AnswerRe: FireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. Pin
rajmca.g18-Mar-09 19:50
rajmca.g18-Mar-09 19:50 
AnswerRe: FireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. Pin
JacquesDP18-Mar-09 22:22
JacquesDP18-Mar-09 22:22 
GeneralRe: FireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. Pin
Bill Lawton19-Mar-09 5:50
Bill Lawton19-Mar-09 5:50 
Questionon the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance18-Mar-09 6:54
Herman<T>.Instance18-Mar-09 6:54 
I have a strange problem (imho).

I have a gridview and in this gridview it is possible to have DateTime and Decimal objects.
In the database we have stored the format in which these fields should be showed like 'dd MMM yyyy HH:mm' for a DateTime.
But our customer wants to be able to change that formatstring in the database and in the gridview the new choosen formatstring should be applied after a refresh of the grid.

The issue is this.
In the OnRowDataBound event of the grid I call a Method to determine the original datatype of the cellvalue.
I can find that datatype in the DataRowView GetType. And if it is System.DateTime, I can put the value in a datetime object. But then...
How do I know which Cell in the GridView holds this DataRowView value so I could change the TableCell Text property with the value formatted to the formatstring which is found in the database ?

Extra problem:
the dataRowView[0] holds the DataKeyValue for the gridviewrow (needed when selcting or editing).
But tableCell[0] is not always dataRowView[1] because we do not always use all the fields in the dataRowView.

Or is there a better way to solve this?
AnswerRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
tech60318-Mar-09 13:59
tech60318-Mar-09 13:59 
GeneralRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance19-Mar-09 2:46
Herman<T>.Instance19-Mar-09 2:46 
GeneralRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance19-Mar-09 5:29
Herman<T>.Instance19-Mar-09 5:29 
QuestionProblem with my windows service [modified] Pin
gottimukkala18-Mar-09 6:30
gottimukkala18-Mar-09 6:30 
AnswerRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 6:48
Herman<T>.Instance18-Mar-09 6:48 
GeneralRe: Problem with my windows service Pin
gottimukkala18-Mar-09 6:50
gottimukkala18-Mar-09 6:50 
GeneralRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 6:57
Herman<T>.Instance18-Mar-09 6:57 
GeneralRe: Problem with my windows service Pin
gottimukkala18-Mar-09 7:05
gottimukkala18-Mar-09 7:05 
GeneralRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 7:57
Herman<T>.Instance18-Mar-09 7:57 
QuestionListening for database updates in asp .net Pin
hardboy11118-Mar-09 5:00
hardboy11118-Mar-09 5:00 
AnswerRe: Listening for database updates in asp .net Pin
Abhijit Jana18-Mar-09 5:16
professionalAbhijit Jana18-Mar-09 5:16 
AnswerRe: Listening for database updates in asp .net Pin
Yusuf18-Mar-09 6:15
Yusuf18-Mar-09 6:15 
GeneralRe: Listening for database updates in asp .net Pin
hardboy11118-Mar-09 7:06
hardboy11118-Mar-09 7:06 
QuestionGeneral Webparts Related Question. Pin
mr_muskurahat18-Mar-09 4:21
mr_muskurahat18-Mar-09 4:21 
AnswerRe: General Webparts Related Question. Pin
Abhishek Sur18-Mar-09 5:20
professionalAbhishek Sur18-Mar-09 5:20 
QuestionDropdownlist problem Pin
khuzwayom18-Mar-09 4:19
khuzwayom18-Mar-09 4:19 
AnswerRe: Dropdownlist problem Pin
Abhijit Jana18-Mar-09 4:35
professionalAbhijit Jana18-Mar-09 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.