Geeks With Blogs
BizTalk Blog by Chris Han System Design for Enterprise Agility,
August 2005 Entries
GridView defult seleted row
I have this requirement for the Master-Detail page with GridView/DetailView: By default, the GridView should have the first row seleted, and DetailView showing information for that row. So I have a GridView control gdvScheduleList and a DetailView control dtvScheduleDetail. The data source for ScheduleDetail is called SqlDataSourceScheduleDetail. The parameter of SqlDataSourceScheduleDetail is “ScheduleId“. Here is the even handler for the GridView gdvScheduleList's DataBound event, which ......

Posted On Sunday, August 14, 2005 4:16 PM

Message validation error - element has an invalid value according to its data type

I got this piple line validator error.

The reason causes this problem is the application sends in an empty tag for the field which type is expected as 'Long' by BizTalk schema. By sending an empty tag, BizTalk piple line validator intepreted it as a string type with empty value, therefore failed in type validation.

The point is clear, if you want to validate the message, make sure you don't send in empty tag for any un-string type fields.

Posted On Thursday, August 4, 2005 2:13 PM

Copyright © Chris Han | Powered by: GeeksWithBlogs.net