Click here to Skip to main content
15,891,184 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionImage Control Question Pin
Aptiva Dave24-Feb-09 5:47
Aptiva Dave24-Feb-09 5:47 
AnswerRe: Image Control Question Pin
Christian Graus24-Feb-09 8:30
protectorChristian Graus24-Feb-09 8:30 
AnswerRe: Image Control Question Pin
ToddHileHoffer24-Feb-09 8:33
ToddHileHoffer24-Feb-09 8:33 
QuestionDeveloping a discussion forum for my website Pin
nainakarri24-Feb-09 5:07
nainakarri24-Feb-09 5:07 
AnswerRe: Developing a discussion forum for my website Pin
Ennis Ray Lynch, Jr.24-Feb-09 5:11
Ennis Ray Lynch, Jr.24-Feb-09 5:11 
GeneralRe: Developing a discussion forum for my website Pin
nainakarri25-Feb-09 5:47
nainakarri25-Feb-09 5:47 
QuestionCreating child controls dynamically at runtime on clicking linkbutton in repeater control Pin
nainakarri24-Feb-09 4:57
nainakarri24-Feb-09 4:57 
QuestionGeneric Data Access Object Pin
snouto24-Feb-09 3:07
snouto24-Feb-09 3:07 
In MVC , we create a business object that represents a table fields may be with the same column names or with other names then create public properties to get and set those values .

that is totally fine until now .

then i want to display that Object in a grid , i will assign the datasource property to a ILIST,Ienumerable,IDataSource object like for example List< of One business objects > then the grid will iterate through the collection of objects getting every object and accessing the properties names that will reflect the column names in the grid , and the values of those properties will be assigned to the column values in the grid

like for example


// we have this business object
public class Customer
{
string FName;
string LName;

public string FirstName
{
get { return this.FName;}
set { this.FName = value;}
}
public string LastName
{
get { return this.LName;}
set { this.LName = value;}
}

}


now to display that class to the grid i will put it into a list for example then
the grid will iterate through the list , reading each object public properties to draw the column names
the grid will have the same column names like the public properties


then accessing these properties values to display it to the grid .

i need to make a business object to be displayed in the grid but the problem is that the business object in my task doesn't have public properties , the public properties are replaced with a data structure that reads the table schema , "Generic Business Object" that is modifiable according to the table schema inside the data base

but finally i need to display each Generic Object to the data source controls like grid

Human knowledge belongs to the world.

AnswerRe: Generic Data Access Object Pin
Jon Rista24-Feb-09 6:17
Jon Rista24-Feb-09 6:17 
QuestionNeed Help Pin
learningman24-Feb-09 3:00
learningman24-Feb-09 3:00 
AnswerPlease read the forum guidelines Pin
leckey24-Feb-09 4:53
leckey24-Feb-09 4:53 
Questionproblem with usercontrol Pin
Deepak Nigam24-Feb-09 2:00
Deepak Nigam24-Feb-09 2:00 
AnswerRe: problem with usercontrol Pin
Greg Chelstowski24-Feb-09 2:49
Greg Chelstowski24-Feb-09 2:49 
GeneralRe: problem with usercontrol Pin
Deepak Nigam24-Feb-09 3:29
Deepak Nigam24-Feb-09 3:29 
GeneralRe: problem with usercontrol Pin
Greg Chelstowski24-Feb-09 3:55
Greg Chelstowski24-Feb-09 3:55 
QuestionProblem in Upadate panel,Details view, Dropdownlist Pin
Mr.Himansu24-Feb-09 1:57
Mr.Himansu24-Feb-09 1:57 
QuestionHandling Multiple Forms in ASP.NET Pin
_Sun24-Feb-09 1:51
_Sun24-Feb-09 1:51 
AnswerRe: Handling Multiple Forms in ASP.NET Pin
ToddHileHoffer24-Feb-09 8:47
ToddHileHoffer24-Feb-09 8:47 
GeneralRe: Handling Multiple Forms in ASP.NET Pin
_Sun24-Feb-09 18:05
_Sun24-Feb-09 18:05 
Questionwhich control is more faster repeater , data grid view, response.write etc Pin
Naveed72724-Feb-09 1:45
Naveed72724-Feb-09 1:45 
AnswerRe: which control is more faster repeater , data grid view, response.write etc Pin
Ennis Ray Lynch, Jr.24-Feb-09 4:57
Ennis Ray Lynch, Jr.24-Feb-09 4:57 
AnswerRe: which control is more faster repeater , data grid view, response.write etc Pin
ToddHileHoffer24-Feb-09 8:45
ToddHileHoffer24-Feb-09 8:45 
QuestionK means clustering in vb Pin
venkatadri reddy23-Feb-09 23:36
venkatadri reddy23-Feb-09 23:36 
QuestionClassic Asp Session not getting expire As per IIS setting timeout Pin
googlejumbo23-Feb-09 23:28
googlejumbo23-Feb-09 23:28 
QuestionPassing parameters to Javascript popup window Pin
pavanip23-Feb-09 22:53
pavanip23-Feb-09 22:53 

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.