# TXTextControl.DocumentServer.DataShaping namespace

> TXTextControl.DocumentServer.DataShaping.FilterInstruction Class TXTextControl.DocumentServer.DataShaping.SortingInstruction Class

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Namespace
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer.DataShaping namespace
- **71 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/llms-full.txt

---

### Description

- [TXTextControl.DocumentServer.DataShaping.FilterInstruction Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/filterinstruction/llms-full.txt)
- [TXTextControl.DocumentServer.DataShaping.SortingInstruction Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/sortinginstruction/llms-full.txt)

---

## In This Section

- [FilterInstruction Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/filterinstruction/llms-full.txt): The FilterInstruction class is used to filter merge block data by certain conditions before merging. A filter instruction represents a condition which must be fulfilled by the content of a data row in a data table to execute a certain merge action. It uses a relational operator such as "is equal to" or "is greater than" to compare a given value to the contents of a specified data row column. This class is used in class MergeBlockInfo to determine if a merge block should be merged at all, for example. Multiple filter instructions can be logically concatenated using "and" and "or" operators.
- [SortingInstruction Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/sortinginstruction/llms-full.txt): The SortingInstruction class contains merge block data sorting information such as the sort order and the column name to sort the data rows after. It is used by the MergeBlockInfo class.

---

## Nearby

- **Previous:** [DocumentServer Enumerations](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/documentserver/llms-full.txt)
- **Next:** [FilterInstruction Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datashaping/filterinstruction/llms-full.txt)
