Your marrying a permanent resident won’t allow you to stay in the US, extend your status, or apply for a work permit. It actually could make it more difficult for you to spend time in the US.
Although after your marriage your wife can begin the process to sponsor you for a green card, it will take many, many years for you to actually get a green card. Once she becomes a US citizen, however, the process will be much quicker.
In the interim, you’ll have to find another way to remain legally in the US. Travelling back and forth across the border isn’t a long-term solution.
If you would like to fully discuss your options with me, please contact my office to arrange for a consultation (either in person or by telephone).
Attorney Edward Weiner
http://www.immigration-aux-usa.com/