deloused
asked on
Failed to create component, The column name is not valid error in visual studio
I'm getting the error:
Failed to create compnonent 'Test'. The error mesage follows:
'The column name is not valid. [ Node name (if any) = , Column name = Paid ]'
What I'm trying to do is load a user control into a tabbed form. It's not creating the component in the design view and gives me this error. I've rebuilt the database and the typed data sets and everything is fine with the column in question. I can even run my program and it works fine. I need to get into design view for some formatting issues and am concerned that this could be causing other problems if I don't fix it.
I'm using Visual Studio 2008 and SQL Server 2005. Any help with this error would be greatly appreciated.
Failed to create compnonent 'Test'. The error mesage follows:
'The column name is not valid. [ Node name (if any) = , Column name = Paid ]'
What I'm trying to do is load a user control into a tabbed form. It's not creating the component in the design view and gives me this error. I've rebuilt the database and the typed data sets and everything is fine with the column in question. I can even run my program and it works fine. I need to get into design view for some formatting issues and am concerned that this could be causing other problems if I don't fix it.
I'm using Visual Studio 2008 and SQL Server 2005. Any help with this error would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Could you try by adding this condition ?
protected override void OnLoad(EventArgs e)
{
if (this.DesingMode == false) BindData();
}
ASKER
Open in new window