difference b/w MIB Table & management database

hello,i happened to go through the NAMIB example that was given in the CD… I have a few doubts about how to write to a table please check the attachment and the comments(doubts ) i had marked in it i had wasted a couple of days for this particular function & is now presently running under a bottleneck to complete my projectttttt So please be kind enough to solve my problems… thanks in advance