jjc9809
asked on
Move Multiple Rows Between Gridviews
Hi Everyone,
What is wrong with my coding I have attached for my Movement aspx page? Check the HTML Source Code and vb Code behind. Why am i not getting the grdviews to load? What is wrong?
Thanks
Movement.aspxHTMLSourceCode.docx
Movement.aspx.vb.docx
What is wrong with my coding I have attached for my Movement aspx page? Check the HTML Source Code and vb Code behind. Why am i not getting the grdviews to load? What is wrong?
Thanks
Movement.aspxHTMLSourceCode.docx
Movement.aspx.vb.docx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if u haven't debug it yet, that should be the first thing to do.
since no exception was thrown (i assume cause u didn't mention), the connection is fine and so it either the query or the binding to gridview.
so just breakpoints after connection and after you fill data adapter and see if you get any data.
since no exception was thrown (i assume cause u didn't mention), the connection is fine and so it either the query or the binding to gridview.
so just breakpoints after connection and after you fill data adapter and see if you get any data.
ASKER
Sedgwick,
I debugged and getting attached HTML error. I remove the onClick Button1 and 2 and run again and get only the Forward and backward arrows. Do you have Northwind on your local machine? If so, Can you place the file inside your VS and place a break point on the Return DT and see if you show any data? My VS 10 somehow is not working and the breakpoints are not working.
HTML-Error.png
Compiler-Detail.doc
ArrowsShown.png
I debugged and getting attached HTML error. I remove the onClick Button1 and 2 and run again and get only the Forward and backward arrows. Do you have Northwind on your local machine? If so, Can you place the file inside your VS and place a break point on the Return DT and see if you show any data? My VS 10 somehow is not working and the breakpoints are not working.
HTML-Error.png
Compiler-Detail.doc
ArrowsShown.png
the error says that u didn't implement Button1_click event handler in your server-side code.
u need to do it to Button2_click as well (Movement.aspx.vb).
u need to do it to Button2_click as well (Movement.aspx.vb).
ASKER
I have attached some new vb coding.
VBCoding.doc
VBCoding.doc
ASKER
I thought the connection might be a problem after I thought about it. Does the connection stuff look ok as I have written? I always like to have the connecton stuff inside the web config file. I have the database Northwind.mdf inside the App_Data folder here. Does the vb coding need to be written differently to access the Northwind.mdf?
If so please re-write for me and let me try iit this afternoon.
Thanks