在单列的网格视图中更改字体 [英] change font in grid view for single column

查看:58
本文介绍了在单列的网格视图中更改字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请为我提供帮助,在单列的网格视图中更改字体.....


please help me in this stuff , change font in grid view for single column.....


Private Sub form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        con = New SqlConnection("Data Source=sam-26EEFF19\SQLEXPRESS;Initial Catalog=Direct;Integrated Security=True")
        con.Open()
        cmd = New SqlCommand("select * from Dir", con)
        adp = New SqlDataAdapter(cmd)
        adp.Fill(ds, "Dir")
        DataGridView1.DataSource = ds.Tables("Dir")
    End Sub



我需要像这样,我的网格控制与古吉拉特语一个字段
id是数字,我应该用英语输入,而Guj字段应该用古吉拉特语输入.

Id物品古杰
1本书b * k
2桌T [bl
3苹果sfrjn

如果我需要古吉拉特语字体的一列,则在网格视图的上述代码中进行了哪些更改.



i need look like this my grid control one field with gujarati
id is number,item should me in an english and Guj field should be in gujarati.

Id Item Guj
1 books b*k
2 Table T[bl
3 Apple sfrjn

what changes made in above code of grid view , if i need 1 column in gujarati font.

推荐答案

以下链接之一可能会有所帮助-
http://forums.asp.net/p/1321404/2627248.aspx [ ^ ]
http://www.tek-tips.com/viewthread.cfm?qid=1310909& page = 226 [^ ]
One of these links may help -
http://forums.asp.net/p/1321404/2627248.aspx[^]
http://www.tek-tips.com/viewthread.cfm?qid=1310909&page=226[^]


这篇关于在单列的网格视图中更改字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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