小编Hir*_*iya的帖子

SSRS如何添加新行

我正在从这样的存储过程创建一个字符串Name1 , Name2 , Name 3....等(此字符串在一列中).我想在我的SSRS报告中的新行中显示这些名称

Name1
Name2
Name3
Run Code Online (Sandbox Code Playgroud)

我尝试将字符串更改为

Name1 VbCrlf 
Name2 VbCrlf  
Name 3 
Run Code Online (Sandbox Code Playgroud)

似乎没有工作.

请帮我解决这个问题.

reporting-services ssrs-2008

12
推荐指数
1
解决办法
3万
查看次数

如何禁用NSDictionary自动按键排序

当我在NSMutableDictionary其中添加值时,自动设置Key.如何禁用它并按照第一组第一组和第二组排列.

NSMutableDictionary* filteredDictionary = [NSMutableDictionary dictionary];

[filteredDictionary setObject:@"abc" forKey:@"1"];
[filteredDictionary setObject:@"abc" forKey:@"3"];
[filteredDictionary setObject:@"abc" forKey:@"2"];
[filteredDictionary setObject:@"abc" forKey:@"5"];
[filteredDictionary setObject:@"abc" forKey:@"4"];

NSLog(@"%@",filteredDictionary);

current output:
{
1 = abc;
2 = abc;
3 = abc;
4 = abc;
5 = abc;    
}

but i want 
{
1 = abc;
3 = abc;
2 = abc;
5 = abc;    
4 = abc;
}
Run Code Online (Sandbox Code Playgroud)

有没有办法根据键禁用排序?

iphone ipad

10
推荐指数
1
解决办法
4508
查看次数

将Kal日历集成到我的标签栏:

我正在开发一个iPad应用程序,并且在业务上相对较新.我正在尝试将Kal Calendar集成到Tab项目中,该项目在登录到应用程序后出现.但无法做到这一点.

iphone ipad ios5

5
推荐指数
1
解决办法
402
查看次数

通过Ipad中的XML Parsing生成动态控件

任何身体帮助我.

我想创建一个动态视图.我想在其中添加动态控件.这些控件来自xml.并且需要在单击视图中显示按钮的点击事件.

我的xml格式如下所示.

    <?xml version="1.0"?><customer><cust type="101"><lable><1> customer name </1><2> customer phone </2><3> customer age </3><4> customer Birth </4></lable><value><1>textfield</1><2> textfield </2><3> textfield </3><4>Date</4></value></cust><cust type="102"><lable><1> customer qualification </1><2> customer Email</2></lable><value><1>textfield</1><2>Email</2></cust><cust type="103"><lable><1> customer name </1><2> customer phone </2><3> customer age </3><4> customer Birth </4></lable><value><1>textfield</1><2>textfield</2><3>textfield</3><4>Date</4></value></cust><cust type="104"><lable><1> customer qualification </1><2> customer Email</2><3> customer gender </3><4> customer Birth </4></lable><value><1>textfield</1><2>textfield</2><3>CheckBox</3><4>Date</4>
Run Code Online (Sandbox Code Playgroud)

谢谢

iphone ipad ios ios5

5
推荐指数
1
解决办法
250
查看次数

在DocumentsWeb目录中打开UIWebview时,ios-css和js在html文件中无法链接

我在ios的Documents目录中有我的www文件夹的结构

Documents
   --www
      --index.html
      --js
          --script.js
      --css
          --style.css
Run Code Online (Sandbox Code Playgroud)

我的index.html文件引用脚本和样式文件,如下所示:

<link rel="stylesheet" href="css/style.css" />
<script type="text/javascript" src="js/script.js"></script>
Run Code Online (Sandbox Code Playgroud)

请注意,文件和目录结构是在应用程序启动后从远程下载和解压缩的zip文件中创建的.因此,这不是由于Xcode文件夹组与应用程序包的Documents子文件夹混淆而导致的问题.

在浏览器中运行时工作正常但在以编程方式在UIWebview中加载index.html时,脚本和样式不起作用.同时索引文件本身加载完美.

当我在index.html文件中提供脚本和css的完整路径时,它对我来说很好.

为什么相对路径不起作用?

提前致谢.

html relative-path uiwebview ipad ios

5
推荐指数
1
解决办法
7803
查看次数

在多个位置之间绘制地图路径

我是iphone开发的新手,我想绘制5个位置之间的路径我如何在谷歌地图中绘制路径.我想要从location1到location2,location2到location3,location3到location4和location4到location5的路径.

这是我的代码

- (void)viewDidLoad {
[super viewDidLoad];

NSDictionary *d1,*d2,*d3,*d4,*d5;

d1=[NSDictionary dictionaryWithObjectsAndKeys:@"location1",@"comments",@"1",@"id",@"23.02941395",@"latitude",@"72.54620655",@"longitude",nil];
d2=[NSDictionary dictionaryWithObjectsAndKeys:@"location2",@"comments",@"2",@"id",@"23.028359049999995",@"latitude",@"72.54537318333334",@"longitude",nil];
d3=[NSDictionary dictionaryWithObjectsAndKeys:@"location3",@"comments",@"3",@"id",@"23.029545",@"latitude",@"72.546036",@"longitude",nil];
d4=[NSDictionary dictionaryWithObjectsAndKeys:@"location4",@"comments",@"4",@"id",@"23.030050",@"latitude",@"72.546226",@"longitude",nil];
d5=[NSDictionary dictionaryWithObjectsAndKeys:@"location5",@"comments",@"5",@"id",@"23.030050",@"latitude",@"72.546022",@"longitude",nil];


self.reports=[NSArray arrayWithObjects:d1,d2,d3,d4,d5,nil];


for (NSDictionary *d in self.reports) {
    float latitude=[[d valueForKey:@"latitude"] floatValue];
    float longitude=[[d valueForKey:@"longitude"] floatValue];

    Place* home = [[[Place alloc] init] autorelease];
    home.name = [d valueForKey:@"comments"];
    home.latitude = latitude;
    home.longitude = longitude;

    PlaceMark *from = [[[PlaceMark alloc] initWithPlace:home] autorelease];             
    [mapView addAnnotation:from];

}


[self centerMap];

   }

   -(void) centerMap 

   {
MKCoordinateRegion region;
CLLocationDegrees maxLat = -90;
CLLocationDegrees maxLon = -180;
CLLocationDegrees minLat …
Run Code Online (Sandbox Code Playgroud)

iphone ipad ios6.1

2
推荐指数
2
解决办法
637
查看次数

替换SQL Server中的逗号分隔值

我有两个SQL表EmployeeMst和EmployeeCity

EmployeeMst
SrNo  Name 
1     abc
2     xyz
3     pqr
4     def

EmployeeCity
srno  City     EmplSrNo
1     Delhi    1,2,3,4
2     Mumbai   2,3,1
3     New York 3,2
Run Code Online (Sandbox Code Playgroud)

我想从EmployeeMst获取具有选择查询的员工姓名

输出如下:

srno City          EmployeeName
1    Delhi         abc,xyz,pqr,def
2    Mumbai        xyz,pqr,abc
3    New York      pqr,xyz
Run Code Online (Sandbox Code Playgroud)

这张表中有几个数据.请告诉我如何才能这样做

我用过charindex但需要更多时间.

sql t-sql sql-server sql-server-2008

1
推荐指数
1
解决办法
1888
查看次数