J
Jl_G_0
Hey all, got one question about creation of functions. I have a
function that receives a sql string and a datagrid to populate.
void populate(DataGrid grid, string sql){
......
}
Lets say I want to upgrade this function, so it can receive a
DataGrid OR a GridView, just like several C# functions can receive a
lot of different types (Convert.ToString() receives 36 I guess) how
could I do it ?? or maybe what should I search for ??
Thanks.
function that receives a sql string and a datagrid to populate.
void populate(DataGrid grid, string sql){
......
}
Lets say I want to upgrade this function, so it can receive a
DataGrid OR a GridView, just like several C# functions can receive a
lot of different types (Convert.ToString() receives 36 I guess) how
could I do it ?? or maybe what should I search for ??
Thanks.