在使用GIT进行源代码控制的.NET C#项目中,我在重新定位后不断收到格式错误的csproj文件以获取最近提交的代码.这是我的过程:
这是rebase的输出:
D:\GitHub\AwesomeProject>git rebase master
First, rewinding head to replay your work on top of it...
Applying: added getstatus call
Using index info to reconstruct a base tree...
M Host/Host.csproj
M Host/packages.config
M Trees/Trees.csproj
M Trees/packages.config
M UnitTests/UnitTests.csproj
<stdin>:1229: trailing whitespace.
<!-- To modify your build process, add your task inside one of the targets bel
ow and uncomment it.
warning: 1 line adds whitespace errors.
Falling back to patching base and 3-way merge...
Auto-merging …Run Code Online (Sandbox Code Playgroud) 我目前有一个转发器,其数据源是一个List,其中ModelObject是前端的自定义类,用于帮助呈现更复杂的LINQ to SQL对象.例如,它为链接,状态名称等呈现URL.状态名称不在数据库中,因为我们知道有一天我们必须本地化这个应用程序.
现在我需要对此列表进行分页和排序,以便我尝试切换到gridview以利用开箱即用的功能.我收到错误"数据源不支持服务器端数据分页".我可以使用哪种数据源仍然允许我的前端自定义输出?这似乎应该是一项常见任务,因为本地化的应用程序需要来自resx文件的排序值.
谢谢你的帮助.