string id = Guid.NewGuid().ToString();
string[] list = context.Request["maininfo"].Split('#');
TicketRequestionDT ds = new TicketRequestionDT();
TicketRequestionDT.TicketRequestionRow rowFlow = null;
bool bIsExist = false;
if (string.IsNullOrEmpty(context.Request["typeinfo"]))
{
rowFlow.InstanceID = "00000000-0000-0000-0000-00000000";
ds.TicketRequestion.Rows.Add(rowFlow);
}到最后一行的时候说是 无法设置列“TicketRequestionID”。此值违反了此列的 MaxLength 限制。 TicketRequestionID是对应数据库表的主键
string[] list = context.Request["maininfo"].Split('#');
TicketRequestionDT ds = new TicketRequestionDT();
TicketRequestionDT.TicketRequestionRow rowFlow = null;
bool bIsExist = false;
if (string.IsNullOrEmpty(context.Request["typeinfo"]))
{
rowFlow.InstanceID = "00000000-0000-0000-0000-00000000";
ds.TicketRequestion.Rows.Add(rowFlow);
}到最后一行的时候说是 无法设置列“TicketRequestionID”。此值违反了此列的 MaxLength 限制。 TicketRequestionID是对应数据库表的主键
问题是我不晓得通过InstanceID给主键赋值赋的多少?