473,320 Members | 1,707 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,320 software developers and data experts.

.Net control that works like the MSHFlexgrid control?

Hi,

Is there any controls in .Net that works like the MSH Flexgrid control. Is
it possible to use the DataGrid control without a datasource?

Best regards
PÃ¥l Eilertsen

Nov 21 '05 #1
2 2299
Pal,

You cannot use a datagrid without a datasource, however the datasource can
be a datatable, that does not mean a database, quickly written is this
already complete
\\\
dim dt as new datatable
datagrid1.datasource = dt
///
This is a complete empty datagrid.

Of course do you have to add columns and rows to the datatable, however that
is quiet easy

something as (as well quickly typed in this message so watch typos)
\\\
dim dt as new datatable
dt.columns.add("mydate",gettype(system.datetime))
for i as integer = 1 to 30 'gives an error in februari
dim dr as row = dt.rows.newrow
dr(0) = new date(now.year, now.month, i)
dt.rows.add(dr)
next
datagrid1.datasource = dt
///

This should give you a kind of calandar,

I hope this helps,
Cor

"Pal Eilertsen" <Pl*********@discussions.microsoft.com>
Hi,

Is there any controls in .Net that works like the MSH Flexgrid control. Is
it possible to use the DataGrid control without a datasource?

Best regards
Pal Eilertsen

Nov 21 '05 #2
Hi,

The component one flexgrid is similar to the msh flexgrid. There is
a free version in the vb.net resource kit.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

Ken
-------------------------------
"Pål Eilertsen" <Pl*********@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
Hi,

Is there any controls in .Net that works like the MSH Flexgrid control. Is
it possible to use the DataGrid control without a datasource?

Best regards
Pål Eilertsen
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: giddy | last post by:
hie, does anyone know. how to use the MSHFlexGrid.. .in C#... and does'nt VS 2005 shipp with a NEW MSHflexGrid??? i hav VB6 installed to so does that create some conflict?? theres only ver. 6.0...
2
by: nairda | last post by:
Hi, I'm Adrian from Indonesia. I have a problem using MSHFlexgrid in VB. I want to show a data from a single cell in MSHFlexgrid that I choose by mouse click in a textbox. The problem is, how to...
0
by: nairda | last post by:
Hello all! I have a problem combining 2 tables from excel to my MSHFlexgrid. I've succeeded to show an excel table in my MSHFlexgrid using clipboard, but then I have to add a view columns from...
4
by: nairda | last post by:
Hi, I have a minor trouble in my program. I've one MSHFlexgrid to show all datas from an input form that I made. The problem occurs when I deleted one or more rows in the MSHFlexgrid and would like...
4
by: nairda | last post by:
Hi all, I have a MSHFlexgrid to show my database and some textboxes to show datas I choosed from MSHFlexgrid. I would like to know if there's a way to show a specific data I choosed from MSHF in...
1
by: babbles | last post by:
I have a problem about data reports. My project is to view reports monthly, yearly and daily and show the query on MShflexgrid and show the total income summary. I have already made my query on that...
2
by: WhiteShore | last post by:
hi there just wonder is it possible to save all the data item from mshflexgrid that has been retrieved from another table? let say i got 1 table called A and has been retrieved by mshflexgrid,...
1
by: kunudesai | last post by:
i have a data in list box OR in mshFlexGrid control. i want to write that data into .ini file using vb6.0 how can i do it. my data is like GJ 21 E 6943 GJ 06 AC 1432 Invalid...
2
Fary4u
by: Fary4u | last post by:
Hi it's my 1st post in VB, i'm trying to get data from ComboBox & result with MSHFlexGrid it's working fine there is no problem they only thing i need is Another ComboBox & ( result...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.