
## refresh() {#}

Executes the query string associated with the connected (non-XML-based) DataRecordset and updates linked shapes with new data from the data source returned by the query.



```python
def refresh(self):
    ...
```




## refresh(connection_type) {#aspose.diagram.manipulation.DataConnectionType}

Executes the query string associated with the connected (non-XML-based) DataRecordset and updates linked shapes with new data from the data source returned by the query.



```python
def refresh(self, connection_type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| connection_type | aspose.diagram.manipulation.DataConnectionType | The type of provider which will be used for connection[DataConnectionType](/diagram/python-net/aspose.diagram.manipulation/dataconnectiontype). |



### See Also
* module [aspose.diagram](../../)
* class [DataRecordSet](/diagram/python-net/aspose.diagram/datarecordset)
