i create an application in .net platform in which i connect sql sever and i retrieve data from dataset through datagridview and i have to make a task that if i edit in gridview it will save the changes in datasource

Welcome niraj.thehycker,
Absolutely Yes. You have to write a code that update database. If you have a code and got a problem then post that code with code tags.
Homework policy
How to post source code?
Show your code. Do not forget to use code tags. Source code must be surrounded with code tags.
For example,

[CODE=C#] ... statements..


... statements..