当我们从gridview导出excel中的数据时,如何在Excel中添加Dropdown [英] How to add Dropdown in Excel when we export data in excel from gridview

查看:114
本文介绍了当我们从gridview导出excel中的数据时,如何在Excel中添加Dropdown的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在excel文件中添加dropdownlist,当我们使用每列中的oracle数据库从c#.net中的gridview导出excel中的数据时。 />


假设我有10名员工,他们在一周内以5个不同班次工作。

在班次时间栏中,当我们在excel中导出数据时那个时候所有10个班次名称都需要使用c#.net和oracle显示在下拉列表中。

Hi,

I want to add dropdownlist in excel file when we export data in excel from gridview in c#.net using oracle database in each column.

Suppose, I have 10 employees and they work in 5 different shift in a week.
In shift time column, when we export data in excel that time all 10 shift name need to display in dropdown using c#.net and oracle.

推荐答案

这是一个社区网站所以开始编码,如果你卡在某处,那么问这里所以有人可以帮助你。



你可以参考以下链接,这可能有助于开始。



如何在c#中填充Excel中的下拉列表 [ ^ ]



希望,它有帮助:)
It's a community site so start coding and if you stuck somewhere then ask here so that somebody will be able to help you.

You may refer following link which may help to get started.

How to populate a dropdown in excel from c#[^]

Hope, it helps :)


这篇关于当我们从gridview导出excel中的数据时,如何在Excel中添加Dropdown的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆