惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

I
Intezer
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
G
GRAHAM CLULEY
P
Privacy & Cybersecurity Law Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
N
News | PayPal Newsroom
T
Tenable Blog
Spread Privacy
Spread Privacy
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
P
Privacy International News Feed
IT之家
IT之家
Project Zero
Project Zero
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
博客园_首页
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
NISL@THU
NISL@THU
I
InfoQ
D
DataBreaches.Net
有赞技术团队
有赞技术团队
K
Kaspersky official blog
Security Latest
Security Latest
The Register - Security
The Register - Security
Hugging Face - Blog
Hugging Face - Blog
S
Security @ Cisco Blogs
P
Proofpoint News Feed
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
AI
AI
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic

博客园 - 周克

te 关于博客园是否可以开展培训业务的几点思考 - 周克 - 博客园 【收集】Web开发工具 感情 程序 祭 Linq本质论(1) WinForm自动菜单合并 .Net开源控件 Client Settings FAQ .Net学习课件 ClickOnce 部署多语言程序需要注意的地方 WinFX更名为 .NET Framework 3.0. BindingSource.AddingNew事件可以给新增数据设置需要的值 可恶的AutoSizeColumnMode和DataError 介绍一个可以读取保存在程序集里面的图片资源的小工具 MSDN中文资料库WWF链接(updating...) 在WinForm中使用Membership WWF动态加载xoml文件 固定Asp.net2.0 Web项目的动态端口号 深圳.Net俱乐部2.26活动资源下载之——从SmartClient到ClickOnce
vs2005强类型主从表加上级联约束后无法添加从表数据
周克 · 2006-05-27 · via 博客园 - 周克

因为主表使用的是autoid,所以必须加上级联约束,以保证新增主表记录返回id后能更新到从表里面的关联主表id。现在的情况是datagridview控件在添加完一行从表记录后提示无法找到主表id,原因是主表还没有提交到数据源,如果我把主表的bindingsource.endedit后从表记录又没有了,如何解决这种一次性保存主从表的问题?

一蓑烟雨任平生

posted on 2006-05-27 03:40  周克  阅读(1684)  评论(8)    收藏  举报