用SQL快速写代码(源自某老师给我的启发。。)

select   'model.'+name+'=txt'+name+'.Text.Trim();'   from   syscolumns   where   id=object_id('TableName')


你可能感兴趣的:(日常)