M
Mike Edgewood
I know this is easier to do with a datareader and a listview, but can
it be done with a tableadapter and a dataset?
I want to manipulate the data prior to it reaching the dataset, For
instance, data is stored as Firstname and Lastname and sometimes there
will be no firstname, so appending a comma in this instance looks
stupid. So I need to check if firstname exists then return lastname &
", " & firstname or if not exist, just return lastname.
I was trying to do this with an IIF statement in the SQL code but it
wouldn't run saying it was an unrecognized command although it is
described in the BOL documentation for SQL Server 2000.
I also tried to do it with partial class of the dataset. First on
RowChanging, e.row = "processed data", error = cannot change proposed
value. Next on RowChanged, also met with error.
Any ideas, or is this not meant to be?
it be done with a tableadapter and a dataset?
I want to manipulate the data prior to it reaching the dataset, For
instance, data is stored as Firstname and Lastname and sometimes there
will be no firstname, so appending a comma in this instance looks
stupid. So I need to check if firstname exists then return lastname &
", " & firstname or if not exist, just return lastname.
I was trying to do this with an IIF statement in the SQL code but it
wouldn't run saying it was an unrecognized command although it is
described in the BOL documentation for SQL Server 2000.
I also tried to do it with partial class of the dataset. First on
RowChanging, e.row = "processed data", error = cannot change proposed
value. Next on RowChanged, also met with error.
Any ideas, or is this not meant to be?