List Info

Thread: How to place content of text file in datagrid???




How to place content of text file in datagrid???
user name
2006-02-27 04:38:33
Hi all, presently i am working on ASP.NET with vb as code
behind
technique. I want to have the entire content of the txt file
in the
datagrid in a single cell. I am getting each character in
the file in
one row but  how to get the entire content in a single cell.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "ASP.Net Community" group.
To post to this group, send email to aspnetgooglegroups.com
To unsubscribe from this group, send email to
aspnet-unsubscribegooglegroups.com
For more options, visit this group at http://groups.g
oogle.com/group/aspnet
-~----------~----~----~----~------~----~------~--~---

How to place content of text file in datagrid???
user name
2006-02-28 15:27:29
One way to do this is to read the txt file data into a
datatable and
then bind the datatable to the datagrid.

If the entire content of the txt file is contained in one
column of the
datagrid then you simply bind the datatable and everything
will show up
in one cell since each datatable column gets its own
datagrid cell.

Let me know if you need more detail on this.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "ASP.Net Community" group.
To post to this group, send email to aspnetgooglegroups.com
To unsubscribe from this group, send email to
aspnet-unsubscribegooglegroups.com
For more options, visit this group at http://groups.g
oogle.com/group/aspnet
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )