username
Posts: 24
|
Posted: 09/04/2007, 12:09 AM |
|
i type in BeforeBuildInsert
item.task_user_id_assign_by.SetValue(System.Web.HttpContext.Current.Session.Remove("UserID"),"");
but i have error
Error:
taskDataProvider.cs(345,3): error CS1502: The best overloaded method match for 'task.Data.FieldBase.SetValue(object, string)' has some invalid arguments
Error:
taskDataProvider.cs(345,40): error CS1503: Argument '1': cannot convert from 'void' to 'object'
|
|
|
username
Posts: 24
|
Posted: 09/04/2007, 12:20 AM |
|
I am using CodeCharge 3.2 ASP.NET C#. Code .
|
|
|
username
Posts: 24
|
Posted: 09/04/2007, 12:35 AM |
|
.net codecharge is very poor but php codecharge is very strong.
|
|
|
username
Posts: 24
|
Posted: 09/04/2007, 4:52 AM |
|
bingo
√
int userid = (int)System.Web.HttpContext.Current.Session["UserID"];
item.task_user_id_assign_by.SetValue(userid,"0");
|
|
|
|