August 29, 2012 at 4:19 pm
Hi everyone,
I am right now using microsoft visual studio light switch to develop an application with c#. I have created a table which has three columns. Now my requirement is to make only one column in that table as readonly. So i have gone through the write code on the top of the light switch window when we click on to that particular column. And it has given generated the below code.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.LightSwitch;
namespace LightSwitchApplication
{
public partial class classname
{
partial void column2_IsReadOnly(ref bool result)
{
}
}
}
Can anyone please tell me what i need to fill in the
partial void column2_IsReadOnly(ref bool result)
{
}
to make the column readonly.
Thanks,
November 15, 2012 at 11:59 pm
partial void column2_IsReadOnly(ref bool result)
{
result = true;
}
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply