Search Results

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: jbisono ; Forum: VB.NET and child forums
Forum: VB.NET Jul 17th, 2009
Replies: 3
Views: 1,206
Posted By jbisono
Lets say that in the loadmain you set text for a label like this
Label1.Text = "Load Main"
But you want to do the same thing if you click a button, then create a function called for example...
Forum: VB.NET Jul 8th, 2009
Replies: 2
Solved: split data
Views: 407
Posted By jbisono
Let's say you have a variable temp
Dim temp As String = "05/02/2005"
Dim ar() As String = temp.Split("/")
TextBox1.Text = ar(0)

The result of ar(0) is 05 i hope that help you.
Forum: VB.NET Jun 25th, 2009
Replies: 6
Views: 1,276
Posted By jbisono
Ok once you have a connection set up, the easiest way to go is using a dataset you can basically do this. i did not test this.

Dim statement As String = "SELECT EmployeeId, FName FROM tblEmployee"...
Forum: VB.NET Jun 11th, 2009
Replies: 2
Views: 670
Posted By jbisono
Hi, you should open the connection cn.Open() and then cn.Close() also you have a problem and the insert statement you are calling label1.text as lable1.text.

besides that check your table and see...
Forum: VB.NET May 26th, 2009
Replies: 5
Views: 687
Posted By jbisono
Just double check this, I am not sure. but when you say this
For i As Integer = 1 To CheckBoxList2.Items.Count
I think the checkboxlist index start in 0.
Forum: VB.NET May 26th, 2009
Replies: 5
Views: 687
Posted By jbisono
Forum: VB.NET May 26th, 2009
Replies: 5
Views: 687
Posted By jbisono
Make sure your dropdownlist does not have duplicate values, for example if you result set when you bind the sub category dropdownlist have a duplicate value, when postback is going to go back to...
Forum: VB.NET May 19th, 2009
Replies: 6
Views: 799
Posted By jbisono
Try this

Select a.SubCat_Name from SubCategory as a inner join category as b on a.SubCat_Cat_id = b.Cat_id
where b.Cat_name = '" & DirectCast(e.Item.FindControl("chkCategory"), CheckBox).Text &...
Forum: VB.NET May 18th, 2009
Replies: 6
Views: 799
Posted By jbisono
ok, i do not know if this is the best solution but it work.

I test this try to replace your statement in values, notice the event OnItemDataBound that makes the trick.
aspx

<table>
...
Forum: VB.NET May 18th, 2009
Replies: 6
Views: 799
Posted By jbisono
well i can tell you right now why.

you are retreiving category and sub category and the same resultset and your data is show as example.
Category Sub_Categor
Network ...
Forum: VB.NET May 7th, 2009
Replies: 2
Views: 359
Posted By jbisono
Hi,
I do not know if this can help but try it
replace dr(0) for dr.GetString(0) and dr.GetString(1).
also try in the select retrieve exact the two fields that you want, i do not know what is the...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC