473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Help needed with Janus GridEX

1
Hi,
I have a Windows application in which I am using Janus GRidEx for displaying data. In this Janus Grid I have a checkbox column.
I want a functionality if user selects checkbox for particular row(s) and then hit delete button, the data should get deleted.
For this I am using GetCheckedRows method to retrieve all checked rows.
This method returns an array of Janus.Windows.GridEX.GridEXRow.
I want to convert this array into datarow array or dataset.
How can I acheive this?

Expand|Select|Wrap|Line Numbers
  1. Dim drCollection() As Janus.Windows.GridEX.GridEXRow
  2. Dim drRowCollection As DataRowCollection
  3. Dim drRows() As DataRow
  4. Dim DtRow As DataRow = Nothing
  5. Dim iCount As Integer
  6. drCollection = grdList.GetCheckedRows()
  7. 'For iCount = 0 To drCollection.Length - 1
  8.   'DtRow = CType(drCollection(iCount).DataRow, DataRowView).Row
  9.   'drRows(iCount) = DtRow
  10.   'drRowCollection.Add(DataRow)  '  I am getting error on this line
  11. 'Next
Thanks
Sep 11 '07 #1
1 5100
Killer42
8,435 Expert 8TB
drRowCollection.Add(DataRow)
My guess is that DataRow here should be DtRow.
Sep 12 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: sahu | last post by:
N-Queens : You are given a N x N chessboard & you are required to place N queens on it so that they can't attack each-other. You just need to find out the valid positions of the queens and the...
2
by: Janus Knudsen | last post by:
Hello Im collecting ideas for a piece of software I've in mind. I need to create an application which can be started with some parameters, the application have to be started in many instances...
0
by: juli | last post by:
If someone ever worked with gridEX (Janus Control) : Could you please tell me how can I make linked row - when I press the row - event being invoked? Thank you in advance!
4
by: Larry David | last post by:
Hi, I was checking out the UI at www.janusys.com and was very impressed. Is this all done with ASP.NET controls or are they embedding a .NET app into the page somehow? If it's done with ASP.NET...
1
by: vz | last post by:
Crack for Janus controls suite for net v1.0!!!!! (no s/n).
1
by: Bobstar | last post by:
Hello Just trying to do a simple select on my custom object. GridView2.DataSource = from jobs in new ifc.JobManagerFactory().GetByBPT(2355) //where jobs.JobID = "12" orderby jobs.JobID select...
1
by: palmah11 | last post by:
Hi, I have a Windows Application in which i am using Janus GRidEx for displying data. In this Janus Grid i have a check box column. i want a functionality if user selects checkbox for particula...
0
by: Two | last post by:
Hi Does anyone have any idea about how to access a column in a Janus Control GridEx. I need to change the information in one column of several selected rows. I can gather all the selected rows...
1
by: Daniel S | last post by:
Hi, I have an asp.net page with a GridEX inside an UpdatePanel. Every 20 seconds, I need to re-submit a query to the database and refresh the GridEX with the new results; however, each time...
0
by: Sasie7679 | last post by:
Hi, We are using Janus GridEX control(1.6e) for VB6.0. We compile our VB exe in windows 2003 server. With the latest security patch for OLE from microsoft, the exe crashes during compilation. We...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.