The issue is in a WEB page that one field take up the entire page and it makes the grid look ridculus and is unwieldy to work with.
I have a grid view which shows all the records in a SQL table.
It is using a SQLSDatasource So I have tried to put the Select statement to show Left(NominationSummary,100)
this works but if we want to edit it we only see the left 100 not the entire thing. and then when pressing the update button it save the left 100 and drops the rest.
How can I have it only display 100 but yet edit the entire thing and then update the entire thing?
Or can I resize the field and have scroll bars some how?
I have a grid view which shows all the records in a SQL table.
It is using a SQLSDatasource So I have tried to put the Select statement to show Left(NominationSummary,100)
this works but if we want to edit it we only see the left 100 not the entire thing. and then when pressing the update button it save the left 100 and drops the rest.
How can I have it only display 100 but yet edit the entire thing and then update the entire thing?
Or can I resize the field and have scroll bars some how?
Code:
SelectCommand="SELECT UniqueID, CommonName, EmployeeEpriseID, Location, VPName, Nominator,
ReportToManager, Report1, Report2, Report3, AwardType, DateAwarded, Event, Awarded, left (NominationSummary,100) as NominationSummary , ePrizeID FROM Recognition
Where ePrizeID= @ePrizeID
Order by UniqueID DESC"
UpdateCommand="UPDATE Recognition SET CommonName = @CommonName, EmployeeEpriseID = @EmployeeEpriseID,
Location = @Location, VPName = @VPName, Nominator = @Nominator, ReportToManager = @ReportToManager,
Report1 = @Report1, Report2 = @Report2, Report3 = @Report3, AwardType = @AwardType,
DateAwarded = @DateAwarded, Event = @Event, Awarded = @Awarded, NominationSummary = @NominationSummary,
ePrizeID = @ePrizeID WHERE (UniqueID = @UniqueID)">