Payal,
This is a simple case of control flow.
You have the below IF condition running in the loop "for(i=0 ;i<DDT.CurrentDriver.ColumnCount; i++)" - (looks like you have forgot to write the braces )
if(i<=DDT.CurrentDriver.ColumnCount)
table.cellRegistrationfieldtxt.table.cell1.panelButtonBlueDisplay.submitbuttonSubmit.Click();
else
table.cellRegistrationfieldtxt.table.cell.panel.resetbuttonInput.Click();
Obviously DDT.CurrentDriver.ColumnCount will never be greater than i. So the else condition will never execute.
If you have not forgot the braces and thats how the code is in that case you would have your i as the max column count all the time in the function User_Registration_Form_ProcessData()
And I have no clue why you want to run that loop at all to accomplish what you want!
Thankyou