help

0 views
Skip to first unread message

farzan...@yahoo.com

unread,
Aug 19, 2007, 2:06:27 AM8/19/07
to apache.se
salam
man ye 'textbox daram vaghti ro har kodom az itemhash miram etelat
kamel darbare on be man to ye 'datagrid mide
moshkel
man mikham betonam yeki az 'field hay in datagrid ro ke 'price va t'
typesh az noe 'money ro to ye textboc neshon bedam chon textbox az noe
string sefreha ro az bein mibare chikar baiad kard
???????????????????

مهد

unread,
Aug 20, 2007, 11:58:19 PM8/20/07
to apache.se
salam
behtareh barnameh ro ham ro apachee bezari chon soalet mobhameh
dar zemn to barnameh yek file read me farsi ham bezar
ba tasakor

مهد

unread,
Aug 25, 2007, 10:05:03 PM8/25/07
to apache.se
salam
event combo be shekle zir bayad eslah sheh

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
cbf.SelectedIndexChanged

Dim Connection As SqlConnection
Connection = New SqlConnection("Data Source=PC1;Initial
Catalog=projebargh;Integrated Security=True")
Connection.Open()

Dim myds As DataSet = New DataSet("mydataset")
Dim myadapter As SqlDataAdapter = New SqlDataAdapter("select *
from kala ", Connection)
myadapter.Fill(myds, "kala")
Dgm.DataSource = myds.Tables("kala")
myds.Tables(0).DefaultView.RowFilter = "namekala = '" &
cbf.SelectedItem & "'"
Connection.Close()
Textp.Enabled = False
Dim d As String
d = Dgm.Rows(0).Cells(3).Value.ToString()
Textp.Text = d.ToString()

End Sub

> > ???????????????????- مخف کردن متن علامت زده -
>
> - نمايش متن نقل قول شده -

Reply all
Reply to author
Forward
0 new messages