1. DevExpress 正版多少钱解决方法
看你买多买少了,软件自然买的越多越便宜。
国内代理商有好几个做的。应该打折后一个授权在几千块钱吧。没有想象的那么贵。
2. devexpress winforms controls多少钱
作为电子科技产品,更新换代的步伐较快,难免会随着时间的推移价格逐渐下降。
笔记本以及各种硬件主要是经销商销售的,具体价格以经销商的实际价格为准的。
因此需了解当前时间段的价格,可以咨询当地的产品经销商,或者上网登录各大网上商城查询了解,可以得到最准确的信息。
3. 请教各位大虾,devexpress的效率到底如何?
做数据分析,就不要用devexpress,这个控件太重。宁愿前端用js的图表做,后端用webapi,通过Restful协议通讯。也不要偷懒用devexpress, 这控件除了漂亮,要执行效率没效率,开发效率也不高。关键,还是收费的。
4. 如何编译devexpress
本文以DevExpress 11.1.8举例 必须满足几个条件 1、 必须有DXperience相应版本的全部源代码SourceCode。把全部源代码复制到X:\Program Files\DevExpress XXX\Components\Sources目录。目标目录的默认位置是在C:\Program Files\DevExpress 20XX\C...
5. devexpress report detail 总共多少页
1、当行号要求从1开始,在分组变化后不从新计算,这中情况比较好解决
直接在需要显示行号的控件的OnBeforePrint事件中做处理就行了,在事件中添加如下代码
((XRTableCell)sender).Text = string.Format("{0}",this.CurrentRowIndex+1);//CurrentRowIndex为报表的当前行号
这行代码也可以在客户自定义时,在设计器中放在需要显示行号的控件的Scripts属性下OnBeforePrint中。
显示的报表类似如下
group1
1
2
3
group2
4
5
group3
6
7
2、如果要是需要每个分组中得行号从1重新开始,需要使用如下方法(在设计期实现,如果要是在开发时实现可以定义一个两个全局变量来保存rowIndex和preGroupName)
添加Name为rowIndex、preGroupName的XRLabel控件,在需要显示序号得控件中,对OnBeforePrint添加如下代码
private void OnBeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
string groupName = Convert.ToString(GetCurrentColumnValue("Category"));
if (groupName != ((XRLabel)preGroupName).Text)
{
((XRLabel)rowIndex).Text = "1";
((XRLabel)preGroupName).Text = groupName;
}
else
{
((XRLabel)rowIndex).Text=string.Format("{0}",Convert.ToInt32(((XRLabel)rowIndex).Text)+1);
}
((XRTableCell)sender).Text =((XRLabel)rowIndex).Text;
}
如果需要其他的分组的话,把 string groupName = Convert.ToString(GetCurrentColumnValue("Category"));中的Category改为需要分组的显示的字段名称。
6. c# devexpress 中的Gridcontrol 添加行问题
1)向Form1中拖入一个GridControl,两个Button
2)后台代码
using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class Form1 : Form { List studentList; int studentId = 1; public Form1() { InitializeComponent(); button1.Text = "添加新行"; button2.Text = "删除选定行"; BuildDataSource(); } //为gridcontrol1准备数据源 private void BuildDataSource() { studentList = new List(); studentList.Add(new Student(studentId++) { Name = "张三", Course = "数学", Score = 100 }); studentList.Add(new Student(studentId++) { Name = "李四", Course = "数学", Score = 90 }); studentList.Add(new Student(studentId++) { Name = "王五", Course = "数学", Score = 91 }); //绑定! gridControl1.DataSource = studentList; } //添加行 private void button1_Click(object sender, EventArgs e) { //添加行,实际上是向数据源(List集合)添加新的元素 Student stu = new Student(studentId++) { Name = "钱七", Course = "外语", Score = 34 }; studentList.Add(stu); //向数据源中新加行后,GridControl中自动会添加新行 gridControl1.RefreshDataSource(); } //删除行 private void button2_Click(object sender, EventArgs e) { //获取所有被选行 int[] rowIds = gridView1.GetSelectedRows(); if (rowIds.Length == 0) return; //删除 foreach (int rowId in rowIds) { int stuId = (int)gridView1.GetRowCellValue(rowIds[0], "Id"); Student stu = studentList.First(s => s.Id == stuId); studentList.Remove(stu); } //从数据源中删除行后,GridControl中自动会删除对于的行 gridControl1.RefreshDataSource(); } } //---------------------------------------- //学生成绩类 class Student { public Student(int id) { Id = id; } //学号 public int Id { get; private set; } //姓名 public string Name { get; set; } //课程 public string Course { get; set; } //成绩 public float Score { get; set; } }}3)可直接在GridControl中修改行,不需要额外编程(除非你想校验输入数据的合法性)
------
总结: 对 Devexpress GridControl中增、删、修改,实际上是对数据源(数据集合)的增、删、修改。也就是说:对数据源修改会"反映"到界面的控件上。
7. 未能加载文件或程序集"DevExpress.Data.v10.2, Version=10.2.8."或它的某一个依赖项.系统找不到指定的文
客户的电脑上安装了第三方控件Developer Express。但你的本地上没有安装。
8. 怎么获取devexpress gridControl控件下有多少个gridview??
ViewCount属性,就是多少个
Views[0]就是第一个
Views[ViewCount-1]最后一个