- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
16 Posted Topics
Hi to Everyone, my problem is, I have a Web.sitemap and I want to use a link more than once, but unfortunatelly it gives me an error. here's what I'm planning to do. Ex. <siteMapNode url="~/mentor/DiscussionBoard.aspx" title="Discussion Board" description="" > <siteMapNode url="~/mentor/GeneralDiscussion.aspx" title="General Discussion" description=""> <siteMapNode url="~/mentor/ViewDiscussion.aspx" title="Topic" description="" /> …
Try to use the following query. strSQL = "SELECT * FROM donationtype WHERE firstName like '%" & strKeyWord & "%' "
I just want to know what WMI class should I use to get the Name,Socket,BrandName,Manufacturer and Total Size of my Memory.
If my analysis is right, you are trying to access to database and you want to check if the username and the password of the user is correct? You could acctually just use. if dr.hasrows then Msgbox("Correct!") else msgbox("Invalid Username or Password") end if Or If you really want to …
Hi guyz, I'm just wondering if it's possible to add the mouse when capturing the screen or monitor in vb.net? because I'm doing a project that would record the screen and I'm actually successfull doing that by capturing the screen and include it in a timer, but my only problem …
Where do you want to put the record?
Hi Kim, I would suggest that you count the record in your database and put it in a textbox. for example: cmd = New Sqlcommand("Select count(staffid) from tblStaff",con) dr = cmd.ExecuteReader While dr.read Textbox1.text = dr.item(0) end while 'Use to Increment the current Value Textbox1.text = val(Textbox1.text) + 1 and …
Yeah, G Waddell was right you need to Change your dr to a Reader not an Adapter. Dim dr as SqlDataReader if dr.hasrows then ======> 'This will be responsible for checking ======> 'If there's any data found. While dr.read Me.txtStaffCode = dr.Item("StaffCode") =====> 'Inserting Data from your DB Me.txtStaffName.Text = …
I will assume that the code you use for opening the database will look like this. Public Sub Opendatabase if connectionDatabase.state = closed then connectionDatabase.connectionstring = "Put your data source here" connectionDatabase.open end if End Sub Now this will be the code for adding record.. Try call OpenDatabase() For i …
if you're planning to put an item to your Listview try this code if would help While datareader.read Dim listview as new ListviewItem with listview .text = datareader.item("database columnName") 'This is your 1st listview column .subitems.add(datareader.item("database columnName")) 'your 2nd listview column .subitems.add(datareader.item("database columnName")) 'your 3rd listview column end with Listview1.items.add(listview) …
From what I notice if your string is equal to _A0+0000002 Kg054__A0+0000002 Kg054__ if you cut out A0+000 from left and 02 from the right then all its left is 00 but assumming that your string is _A0+00000002 Kg054__A0+00000002 Kg054__ You could Parse the rtbDisplay see how to split string …
Hi, I'm actually doing a project using Local Database (.sdf) in VB.Net 2010 and I'm just wondering If there is a way to share one database in a network? sample: I will going to have server application where it can view all the records in which the client application will …
I would like to ask how to view other computer screen in the same network? I'm not asking for the actuall code but if someone could provide I would really appreciate it. I just want to know how will I achieve my goal? what are the things that I should …
Hi, Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen. Im not asking for the code on how to do it but I would really appreciate it if someone could provide it. all I want to know is what are …
I didn't do much here but could you please try to insert your comd.ExecuteNonQuery() in your for Loop. From this: For Each row As DataGridViewRow In DGVPO.Rows If Not row.IsNewRow Then comd.Parameters("@ItemNum").Value = row.Cells(0).Value.ToString comd.Parameters("@ItemNam").Value = row.Cells(1).ToString comd.Parameters("@Qty").Value = row.Cells(2).ToString comd.Parameters("@Rte").Value = row.Cells(3).ToString comd.Parameters("@TotalAmt").Value = row.Cells(4).ToString End If Next comd.ExecuteNonQuery() …
Instead of inserting your value in the tags, why dont you put it in a textbox and then turn it to visible = false. Assumming your listview looks like this. Number First Name Last Name 1 Mike Shinoda 2 Anderson Silva 3 Steve Jobs Now you have 3 items inside …
The End.
jezguitarist30