将整数字段转换为字符串 [英] convert integer field to string

查看:88
本文介绍了将整数字段转换为字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有下表。





< td width ="205"valign ="top"style ="">

学生姓名


















Marks



照片



Kim



67



<跨度风格=" font-family:宋体"> C:\Pctures\kimimage.jpg



Han



55



C:\ Pctures\hanimage.jpg



 


我想显示在晶体的报告(这些数据

默认附带 
visual studio2008),随后是 


学生姓名
 
       &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
status    
                    
p hoto



&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
好的&NBSP;&NBSP;&NBSP;&NBSP ;                    
here需要显示儿童照片


汉的&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
简单的&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;
这里需要显示儿童照片


1 &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
我可以在数据库中显示所有值,但是我需要将整数值转换为字符串并且还需要
使用路径显示儿童照片


2 &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
还需要一些
区域来输入教师反馈。


 


 


有人可以帮我解决这个问题。


非常感谢。


<跨度风格= "">&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
< /跨度>的&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;

解决案

大家好,


&NBSP;我找到了一种方法来intiger值转换为字符串。还找到了一种输入用户输入的方法,即使用参数字段,但我不喜欢这种方式,是否有任何其他方式来显示报告,然后用户将能够输入评论 如用户
类型  ; word文档。


任何帮助表示感谢。


谢谢。


I have following table.

Student name

Marks

photo

Kim

67

C:\Pctures\kimimage.jpg

Han

55

C:\Pctures\hanimage.jpg

 

I want to display these data in crystal report( default comes with  visual studio2008) as  follows.

Student name                                   status                         photo

Kim                                                        Good                         here need to display child photo

Han                                                        Simple                    here need to display child photo

1.       I can display all the values as those are in the data base. But I need to convert marks integer value to string and also need to display child photo using the path.

2.       Also need some area to enter teacher feedback.

 

 

Can someone please help me to solve this .

Many thanks.

                                                                                                                               

解决方案

Hi All,

 I found a way to convert intiger value to string. Also found a way to input user input, that is using parameter fields ,but I dont like that way, is there any other way to display the report and then user will be able to enter comments like user type in  a word document.

Any help appreciate.

Thanks.


这篇关于将整数字段转换为字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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