Skip to main content
Home Forums Silverlight Programming Programming with JavaScript update changes in database
4 replies. Latest Post by sreeka on July 22, 2009.
(0)
sreeka
Member
20 points
23 Posts
07-20-2009 8:30 AM |
hi there, i am working in gantt chart. i cant able to update my changes to database...help plz
varshavmane
Contributor
6719 points
1,578 Posts
07-20-2009 9:11 AM |
Hi,
How you are updating your database ? Can you post your code ?
07-21-2009 5:16 AM |
hi, here is my code...i am using linq+dbml+wcf... not having any control for datagrid in design..instead generating it using a class file...plz help using System;
hi,
here is my code...i am using linq+dbml+wcf...
not having any control for datagrid in design..instead generating it using a class file...plz help
using
{
#endregion
InitializeComponent();
gantt.ColumnGeneratingType =
gantt.Loaded += gantt_Loaded;
Loaded +=
}
#region
ShowPopupTN.Click +=
TaskName = tTaskName.Text,
EndDate =
Resources = tResource.Text,
Expanded =
};
});
node.Add(result);
client.RowAddAsync(inserted);
ShowPopupSTN1.Click +=
e.Column.BorderBrush =
e.Column.Background =
client.FetchProjectTaskGanttChartCompleted += ((s, e2) =>
unsortedList.Add(t);
node.Add(ConvertTaskToNode(t));
gantt.Node = node;
client.FetchProjectTaskGanttChartAsync();
TaskName = t.TaskName,
Resources = t.ResourceName,
PercentComplete =
result.ChildNode.Add(ConvertTaskToNode(child));
client.RowChangeCompleted +=
client.RowChangeAsync(updated);
ProjectTaskID = t.ProjectTaskID,
StartDate = t.StartDate,
EndDate = t.EndDate,
ResourceName = t.Resources,
07-21-2009 5:36 AM |
I am not able to understand your code as its very hude. You can check this links:
http://www.aspfree.com/c/a/Windows-Scripting/Database-operations-using-Silverlight-20-WCF-and-LINQ-to-SQL/
http://silverlight.net/forums/p/50997/133892.aspx
http://www.asp.net/learn/videos/video-235.aspx
HTH
07-22-2009 6:46 AM |
Hi varsha,
sorry.. and thanks for ur response...
i have seen all these links...i am using the gantt chart user control..i need update the changes to the database...i coundnt find solution anywhere....
Thanks & Regards,
Sreeka