# How to save/retrieve/edit/ delete mixed da using SQL2008 FeatureLayer

**URL:** <https://community.thinkgeo.com/t/how-to-save-retrieve-edit-delete-mixed-da-using-sql2008-featurelayer/1461>\
**Category:** WinForms\
**Created:** [October 12, 2010, 5:01am UTC](https://community.thinkgeo.com/t/how-to-save-retrieve-edit-delete-mixed-da-using-sql2008-featurelayer/1461 "2010-10-12T05:01:07Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [October 20, 2010, 10:11pm UTC](https://community.thinkgeo.com/t/how-to-save-retrieve-edit-delete-mixed-da-using-sql2008-featurelayer/1461/21 "2010-10-20T22:11:00Z")

</div>

Hi&nbsp;Yale,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;think&nbsp;the&nbsp;test&nbsp;engineer&nbsp;for&nbsp;the&nbsp;API&nbsp;should&nbsp;have&nbsp;the&nbsp;code&nbsp;for&nbsp;saving&nbsp;the&nbsp;tracked&nbsp;polygon&nbsp;shape&nbsp;together&nbsp;with&nbsp;its&nbsp;associated&nbsp;text&nbsp;data&nbsp;into&nbsp;SQL&nbsp;table,&nbsp;if&nbsp;the&nbsp;scenario&nbsp;I&nbsp;mentioned&nbsp;is&nbsp;the&nbsp;desired&nbsp;test&nbsp;case&nbsp;for&nbsp;verifying&nbsp;the&nbsp;SQL&nbsp;API&nbsp;functionality.&nbsp;I&nbsp;am&nbsp;afraid&nbsp;that&nbsp;the&nbsp;test&nbsp;code&nbsp;used&nbsp;in&nbsp;the&nbsp;URL&nbsp;is&nbsp;for&nbsp;another&nbsp;scenario&nbsp;irrelevant&nbsp;to&nbsp;the&nbsp;one&nbsp;I&nbsp;raised.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Franklin

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [October 25, 2010, 10:01am UTC](https://community.thinkgeo.com/t/how-to-save-retrieve-edit-delete-mixed-da-using-sql2008-featurelayer/1461/22 "2010-10-25T10:01:33Z")

</div>

Franklin,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;sorry&nbsp;for&nbsp;the&nbsp;delay.  
Take&nbsp;a&nbsp;try&nbsp;on&nbsp;the&nbsp;attached&nbsp;sample&nbsp;showing&nbsp;how&nbsp;to&nbsp;save&nbsp;the&nbsp;tracked&nbsp;shapes&nbsp;into&nbsp;feature&nbsp;source.&nbsp;While,&nbsp;in&nbsp;this&nbsp;sample,&nbsp;I&nbsp;saved&nbsp;the&nbsp;tracked&nbsp;shapes&nbsp;into&nbsp;shape&nbsp;file&nbsp;instead&nbsp;of&nbsp;the&nbsp;SQL&nbsp;server&nbsp;Table&nbsp;for&nbsp;my&nbsp;SQL&nbsp;environment&nbsp;is&nbsp;still&nbsp;not&nbsp;prepared&nbsp;yet.&nbsp;I&nbsp;think&nbsp;according&nbsp;to&nbsp;the&nbsp;APIs&nbsp;we&nbsp;have&nbsp;discussed&nbsp;previously,&nbsp;just&nbsp;replaced&nbsp;the&nbsp;saved&nbsp;API&nbsp;from&nbsp;ShapeFileFetureLayer&nbsp;into&nbsp;MsSqlFeatureLayer&nbsp;should&nbsp;work&nbsp;for&nbsp;your&nbsp;case.&nbsp;Hope&nbsp;this&nbsp;sample&nbsp;can&nbsp;give&nbsp;you&nbsp;some&nbsp;idea.  
Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
Thanks.  
Yale

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [October 25, 2010, 10:25am UTC](https://community.thinkgeo.com/t/how-to-save-retrieve-edit-delete-mixed-da-using-sql2008-featurelayer/1461/23 "2010-10-25T10:25:47Z")

</div>

Franklin,

I&nbsp;am&nbsp;sorry&nbsp;I&nbsp;missed&nbsp;the&nbsp;sample&nbsp;code,&nbsp;here&nbsp;it&nbsp;go.

Thanks.

Yale

[Post8259.zip](https://community.thinkgeo.com/uploads/default/original/2X/e/e7b19fff85522ba53924477d062234aca852787c.zip) (10.8 KB)

[Previous page](https://community.thinkgeo.com/t/how-to-save-retrieve-edit-delete-mixed-da-using-sql2008-featurelayer/1461.md?page=1)
