I am scanning inventory into a datagrid and in the process getting some information on each item. I'd like to have 2 separate columns but can't seem to get this to work with an array list. I am kind of new to array's. is this possible or should I do this an easier way. i am displaying the data in Gridviewer on Visual studio 2005. thanks.
Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Dim ItemList As New ArrayList()
Dim strSql1 As String = ""
Dim strOrigValue As String = TextBox1.Text
If Not Session.Item("sessItemList") Is Nothing Then
ItemList = Session("sessItemList")
If TextBox1.Text <> "" Then
strSql1 = "select top 1 ITEMNMBR from IV00200 where SERLNMBR like '%02608520462%'" ' for example use only '
TextBox1.Text = TextBox1.Text & " || " & exExecuteScalar(strSql1)
If ItemList.Contains(TextBox1.Text) Then
lblError2.Text = "Error! Duplicate Values are not allowed."
lblError2.Text = ""
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this?
In .NET 3.5, this is possible…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…