当前注册人数423093人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

Using MSFlexgrid with combo box in C#

在MSFlexgrid中添加ComboBox(GridView中添加可编辑下拉框)示例源代码

2007年12月27日
C# (C# 1.0), C#, Windows, Windows (Win95, Win98, WinME, NT4, Win2K, WinXP, Win2003, Vista), WinForms
本文是对MSFlexgrid控件的一个应用,它可以用C#语言在这个ActiveX网格中添加一个下拉框,它的功能包括:在这个GridView中编辑任何一个单元,删除任何一行数据,删除所有行并添加一个新行,为任何一列或多列添加下拉框,向任何单元写数据,从Grid中读出所有的数据。
相关知识
//
// Set combo box at any column:
// 

mkGrid1.CellType(3, true); // combo box at column #3
mkGrid1.ComboClear(3); // clear this combo
mkGrid1.ComboAddItem(3, „Visual Studio“); // add item to this combo
源代码原文下载:
Using MSFlexgrid with combo box in C# How to edit MSFlexgrid with combo box in C#? Now I create new AciveX to edit cells of MSFlexGrid and include combo box to more than one column for using it with C#. With my ActiveX control you can: * Edit any cell in flex grid. * Delete any row. * Delete all rows and begin with one row. * Add combo box to any column and use more than one. * Write data to any cell. * Read data from any cell. * Read all data from the grid.

源码图片

点击链接查看大图
从本站下载附件及源代码(1个附件,已经成功下载708次)

最值得关注的外文源代码

Clog - Client Logging, WPF Edition
CheckBox ComboBox Extending the ComboBox Class and Its Items
Checkbox Supported Combobox Control
Extending the GridView CommandField To Add Delete Confirmation
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论60次,此处显示最近20次评论! 查看所有评论

浩鑫1989  2023年05月22日
下了先,用了再做评论!
freetd  2015年05月11日
下了先,用了再做评论!
ha1234  2014年08月08日
不错,谢谢楼主分享。
xiaoshi  2013年08月14日
不错,学习下
皮呀皮  2012年05月21日
sll116  2012年03月02日
很好
kjnb  2012年01月30日
很好
鸭鸭  2012年01月11日
下了先,用了再做评论!
chenjijie  2011年12月08日
依波路GS5310-4522BR 质量
葡萄紫  2011年11月01日
很好,我发现添加的下拉列被掩盖,看看你怎么解决的
huwz613  2011年02月13日
好像是我需要的
xsgod  2011年01月24日
版本有些老VS2003的
ljj13252125  2010年05月18日
VS转换不能用
fonghuo  2009年05月12日
好,学习学习
xtzyb  2009年03月23日
在MSFlexgrid中添加ComboBox(GridView中添加可编辑下拉框)示例源代码
csfgfh  2009年03月04日
谢谢!!真的需要这个东东
victor688  2009年01月03日
谢谢 分享
小改  2008年11月10日
在MSFlexgrid中添加ComboBox(GridView中添加可编辑下拉框)示例源代码
jsab  2008年10月27日
下了再看
  2008年10月22日
怎么不能下载了啊
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明