alright, so i am having a lot of trouble getting this function to work...program always dies on me. i want to auto size the column headers, but cant get my datatable set up correctly, so here it goes. the first method is where i declare and fill the datatable, set it was the source for the datagrid and then call the autosize method. THE AUTOSIZE METHOD WORKS. i found it online and i know its something with how i have named/not named my table.
it always throws ex3 (Dim ex3 As New Exception("Invalid tablename in the DataSet")) when run so i need to figure out how to set up the mapping name corectly.
thanks ahead of time!
-Dan
it always throws ex3 (Dim ex3 As New Exception("Invalid tablename in the DataSet")) when run so i need to figure out how to set up the mapping name corectly.
thanks ahead of time!
-Dan
