| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 440 人关注过本帖
标题:求教下这个问题。。很急
只看楼主 加入收藏
zmn影子
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-4-18
收藏
 问题点数:0 回复次数:0 
求教下这个问题。。很急
警告    1    “档案管理.grgl.Name”隐藏了继承的成员“System.Windows.Forms.Control.Name”。如果是有意隐藏,请使用关键字 new。  
错误    2    无法将类型“string”隐式转换为“System.Windows.Forms.DataGridViewTextBoxColumn”   
partial class grgl
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
             = new ();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.lendInfo28BindingSource1 = new System.Windows.Forms.BindingSource();
            this.dAGLDataSet14 = new 档案管理.DAGLDataSet14();
            this.lendInfo28BindingSource = new System.Windows.Forms.BindingSource();
            this.dAGLDataSet6 = new 档案管理.DAGLDataSet6();
            this.readerLendBookBindingSource = new System.Windows.Forms.BindingSource();
            this.dAGLDataSet = new 档案管理.DAGLDataSet();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.button4 = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label10 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label15 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
            this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
            this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
            this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
            this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
            this.readerLendBookTableAdapter = new 档案管理.DAGLDataSetTableAdapters.ReaderLendBookTableAdapter();
            this.lendInfo28TableAdapter = new 档案管理.DAGLDataSet6TableAdapters.LendInfo28TableAdapter();
            this.lendInfo28TableAdapter1 = new 档案管理.DAGLDataSet14TableAdapters.LendInfo28TableAdapter();
            this.returnDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.LendDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Name = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.bIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridView1 = new System.Windows.Forms.DataGridView();
            this.groupBox3.SuspendLayout();
            (()(this.lendInfo28BindingSource1)).BeginInit();
            (()(this.dAGLDataSet14)).BeginInit();
            (()(this.lendInfo28BindingSource)).BeginInit();
            (()(this.dAGLDataSet6)).BeginInit();
            (()(this.readerLendBookBindingSource)).BeginInit();
            (()(this.dAGLDataSet)).BeginInit();
            this.groupBox2.SuspendLayout();
            this.groupBox1.SuspendLayout();
            (()(this.dataGridView1)).BeginInit();
            this.SuspendLayout();
            //
            // groupBox3
            //
            this.groupBox3.Controls.Add(this.dataGridView1);
            this.groupBox3.Location = new System.Drawing.Point(23, 182);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(489, 216);
            this.groupBox3.TabIndex = 4;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "借阅情况";
            //
            // lendInfo28BindingSource1
            //
            this.lendInfo28BindingSource1.DataMember = "LendInfo28";
            this.lendInfo28BindingSource1.DataSource = this.dAGLDataSet14;
            //
            // dAGLDataSet14
            //
            this.dAGLDataSet14.DataSetName = "DAGLDataSet14";
            this.dAGLDataSet14.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            //
            // lendInfo28BindingSource
            //
            this.lendInfo28BindingSource.DataMember = "LendInfo28";
            this.lendInfo28BindingSource.DataSource = this.dAGLDataSet6;
            //
            // dAGLDataSet6
            //
            this.dAGLDataSet6.DataSetName = "DAGLDataSet6";
            this.dAGLDataSet6.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            //
            // readerLendBookBindingSource
            //
            this.readerLendBookBindingSource.DataMember = "ReaderLendBook";
            this.readerLendBookBindingSource.DataSource = this.dAGLDataSet;
            //
            // dAGLDataSet
            //
            this.dAGLDataSet.DataSetName = "DAGLDataSet";
            this.dAGLDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            //
            // groupBox2
            //
            this.groupBox2.Controls.Add(this.button4);
            this.groupBox2.Controls.Add(this.button3);
            this.groupBox2.Controls.Add(this.button1);
            this.groupBox2.Location = new System.Drawing.Point(23, 12);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(114, 164);
            this.groupBox2.TabIndex = 3;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "功能选择";
            //
            // button4
            //
            this.button4.Location = new System.Drawing.Point(15, 24);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(81, 22);
            this.button4.TabIndex = 12;
            this.button4.Text = "档案查询";
            this.button4.UseVisualStyleBackColor = true;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            //
            // button3
            //
            this.button3.Location = new System.Drawing.Point(15, 119);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(81, 22);
            this.button3.TabIndex = 2;
            this.button3.Text = "退出登入";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(15, 74);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(81, 22);
            this.button1.TabIndex = 0;
            this.button1.Text = "修改信息";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.label10);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label15);
            this.groupBox1.Controls.Add(this.label14);
            this.groupBox1.Controls.Add(this.label13);
            this.groupBox1.Controls.Add(this.label12);
            this.groupBox1.Controls.Add(this.label11);
            this.groupBox1.Controls.Add(this.label9);
            this.groupBox1.Controls.Add(this.label8);
            this.groupBox1.Controls.Add(this.label7);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Location = new System.Drawing.Point(143, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(369, 164);
            this.groupBox1.TabIndex = 2;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "读者信息";
            this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter);
            //
            // label10
            //
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(98, 107);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(47, 12);
            this.label10.TabIndex = 16;
            this.label10.Text = "label10";
            //
            // label5
            //
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(33, 107);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(59, 12);
            this.label5.TabIndex = 15;
            this.label5.Text = "出生日期:";
            //
            // label15
            //
            this.label15.AutoSize = true;
            this.label15.Location = new System.Drawing.Point(98, 144);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(47, 12);
            this.label15.TabIndex = 14;
            this.label15.Text = "label15";
            //
            // label14
            //
            this.label14.AutoSize = true;
            this.label14.Location = new System.Drawing.Point(33, 144);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(59, 12);
            this.label14.TabIndex = 13;
            this.label14.Text = "联系方式:";
            //
            // label13
            //
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(98, 124);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(47, 12);
            this.label13.TabIndex = 12;
            this.label13.Text = "label13";
            //
            // label12
            //
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(33, 124);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(59, 12);
            this.label12.TabIndex = 11;
            this.label12.Text = "借档(份):";
            //
            // label11
            //
            this.label11.AutoSize = true;
            this.label11.Font = new System.Drawing.Font("黑体", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label11.Location = new System.Drawing.Point(199, 45);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(155, 35);
            this.label11.TabIndex = 10;
            this.label11.Text = "个人资料";
            //
            // label9
            //
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(98, 84);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(41, 12);
            this.label9.TabIndex = 8;
            this.label9.Text = "label9";
            //
            // label8
            //
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(98, 65);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(41, 12);
            this.label8.TabIndex = 7;
            this.label8.Text = "label8";
            //
            // label7
            //
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(98, 47);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(41, 12);
            this.label7.TabIndex = 6;
            this.label7.Text = "label7";
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(98, 29);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(41, 12);
            this.label6.TabIndex = 5;
            this.label6.Text = "label6";
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(33, 84);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(59, 12);
            this.label4.TabIndex = 3;
            this.label4.Text = "性    别:";
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(33, 65);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(59, 12);
            this.label3.TabIndex = 2;
            this.label3.Text = "部    门:";
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(33, 47);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(59, 12);
            this.label2.TabIndex = 1;
            this.label2.Text = "姓    名:";
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(33, 29);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(59, 12);
            this.label1.TabIndex = 0;
            this.label1.Text = "工    号:";
            //
            // sqlDataAdapter1
            //
            this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
            this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
            this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
            this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
            //
            // readerLendBookTableAdapter
            //
            this.readerLendBookTableAdapter.ClearBeforeFill = true;
            //
            // lendInfo28TableAdapter
            //
            this.lendInfo28TableAdapter.ClearBeforeFill = true;
            //
            // lendInfo28TableAdapter1
            //
            this.lendInfo28TableAdapter1.ClearBeforeFill = true;
            //
            // returnDateDataGridViewTextBoxColumn
            //
            this.returnDateDataGridViewTextBoxColumn.DataPropertyName = "ReturnDate";
            this.returnDateDataGridViewTextBoxColumn.HeaderText = "限还日期";
            this.returnDateDataGridViewTextBoxColumn.Name = "returnDateDataGridViewTextBoxColumn";
            this.returnDateDataGridViewTextBoxColumn.ReadOnly = true;
            //
            // LendDate
            //
            this.LendDate.DataPropertyName = "LendDate";
            this.LendDate.HeaderText = "借用日期";
            this.LendDate.Name = "LendDate";
            this.LendDate.ReadOnly = true;
            //
            // Name
            //
            this.Name.DataPropertyName = "Name";
            this.Name.HeaderText = "档案名称";
            this.Name.Name = "Name";
            this.Name.ReadOnly = true;
            //
            // bIDDataGridViewTextBoxColumn
            //
            this.bIDDataGridViewTextBoxColumn.DataPropertyName = "BID";
            this.bIDDataGridViewTextBoxColumn.HeaderText = "档案ID";
            this.bIDDataGridViewTextBoxColumn.Name = "bIDDataGridViewTextBoxColumn";
            this.bIDDataGridViewTextBoxColumn.ReadOnly = true;
            //
            // dataGridView1
            //
            this.dataGridView1.AllowUserToAddRows = false;
            this.dataGridView1.AllowUserToDeleteRows = false;
            this.dataGridView1.AutoGenerateColumns = false;
            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.bIDDataGridViewTextBoxColumn,
            this.Name,
            this.LendDate,
            this.returnDateDataGridViewTextBoxColumn});
            this.dataGridView1.DataSource = this.lendInfo28BindingSource1;
            this.dataGridView1.Location = new System.Drawing.Point(15, 20);
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.ReadOnly = true;
            this.dataGridView1.RowTemplate.Height = 23;
            this.dataGridView1.Size = new System.Drawing.Size(443, 185);
            this.dataGridView1.TabIndex = 11;
            //
            // grgl
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(554, 420);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.Name = "grgl";
            this.Text = "个人管理";
            this.Load += new System.EventHandler(this.grgl_Load);
            this.groupBox3.ResumeLayout(false);
            (()(this.lendInfo28BindingSource1)).EndInit();
            (()(this.dAGLDataSet14)).EndInit();
            (()(this.lendInfo28BindingSource)).EndInit();
            (()(this.dAGLDataSet6)).EndInit();
            (()(this.readerLendBookBindingSource)).EndInit();
            (()(this.dAGLDataSet)).EndInit();
            this.groupBox2.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            (()(this.dataGridView1)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.Button button4;
        private System.Windows.Forms.Button button3;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Label label15;
        private System.Windows.Forms.Label label14;
        private System.Windows.Forms.Label label13;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.Label label5;
        private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
        private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
        private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
        private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
        private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
        private DAGLDataSet dAGLDataSet;
        private System.Windows.Forms.BindingSource readerLendBookBindingSource;
        private 档案管理.DAGLDataSetTableAdapters.ReaderLendBookTableAdapter readerLendBookTableAdapter;
        private DAGLDataSet6 dAGLDataSet6;
        private System.Windows.Forms.BindingSource lendInfo28BindingSource;
        private 档案管理.DAGLDataSet6TableAdapters.LendInfo28TableAdapter lendInfo28TableAdapter;
        private DAGLDataSet14 dAGLDataSet14;
        private System.Windows.Forms.BindingSource lendInfo28BindingSource1;
        private 档案管理.DAGLDataSet14TableAdapters.LendInfo28TableAdapter lendInfo28TableAdapter1;
        private System.Windows.Forms.DataGridView dataGridView1;
        private System.Windows.Forms.DataGridViewTextBoxColumn bIDDataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn Name;
        private System.Windows.Forms.DataGridViewTextBoxColumn LendDate;
        private System.Windows.Forms.DataGridViewTextBoxColumn returnDateDataGridViewTextBoxColumn;


我想 是红色部分有问题,求大侠指点,能远程最好!!

搜索更多相关主题的帖子: resources 关键字 档案管理 private 
2012-04-18 21:17
快速回复:求教下这个问题。。很急
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.033409 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved