Hi,
Is it possible to create an alias for object.function
I have this code
DSMarketDisplay.Tables[sTableName].Rows[hti.Row][
"date1"] = oArgs.Date1;DSMarketDisplay.Tables[sTableName].Rows[hti.Row][
"CMonth"] = oArgs.CMonth;and the list goes on, what I dont want to do here is repeat this
DSMarketDisplay.Tables[sTableName]
in all lines. Can I just create an alias or something to remove the redundancy
Thanks,

creating alias for functionname
MuraliMD
I don't see why any of those cause a problem. "long name" You only have to type it once.
No, there's no alias functionality.
joeycalisay
renzo_xp
How about
DataTable t = DSMarketDisplay.Tables[sTableName];
t.Rows[hti.Row]["date1"] = oArgs.Date1;
t.Rows[hti.Row]["CMonth"] = oArgs.CMonth;