如何在文本框中输入值以在c#中绑定devexpress数据网格视图 [英] how to user enter value in text box to bind devexpress datagrid view in c#

查看:112
本文介绍了如何在文本框中输入值以在c#中绑定devexpress数据网格视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

public partial class Form1 : XtraForm
  {
      public static Form1 Instance = null;

      QueueCLib.QueueGrid qc = new QueueGrid();


      public Form1()
      {
          InitializeComponent();
          InitGrid();

      }

      BindingList<QueueCol> GridQueue = new BindingList<QueueCol>();

      int id;
      private void btnPush_Click(object sender, EventArgs e)
      {

          int RowIndex = 0;

          string s1;
          s1 = qc.PushAdd(txtRollno.Text, txtName.Text, txtContact.Text);
          MessageBox.Show(s1);
      }

推荐答案

这篇关于如何在文本框中输入值以在c#中绑定devexpress数据网格视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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