in C# i am just trying to create a common function for creating a gridview. here the user just passes the gridview column type, caption and the field name. these parameters are of type string.
so can any one help me out, how to convert the column type which is passed as string to the respective grid data column data type??? (one simple solution could be by using if conditions - such that compare the input parameter and create the respective object. but i just want to avoid as it would be much costly.)
thanks and regards Malathy.L.