View Single Post
  #2 (permalink)  
Old May 17th, 2007, 03:33 AM
kangarolf kangarolf is offline
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

RESOLVED*********

Hi all, My problem was that I had a few joins in my initial table and was using table aliases (tablealias.columnname, tablealias2.column2 etc) and this threw off the connection between DataNameIds declared in the datagrid and the columns in the sql data source, so that no parameter was created with the names defined in the DataNameIds. No error was raised either!?!

Once the keyword AS was used for the relevant columns (tablesalias.column AS column) everything was hunky dorey again. This is not a problem once if the column is databound and visible or editable, in those instances it ignores the table alias.

Thanks
Rolf