|
i think you need to reassign the updated datatable to session before going to next page.
sorry if i did't understand the question properly.
Nav.
|
|
|
|
|
hi guy,.
i have some problem here.
i want to get my data out as a string or using sql but i cannot find any source of it.
i dont wan to use datagrid. is there other way.?
i need to use a Response.Write(content) to write the data out..
please help me asap..
_________________
regards
bang
|
|
|
|
|
Save the Excel sheet as a CSV(Comma seperated value). You can then parse the csv file and manipulate the contents and display it.
In faith there is enough light for those who want to believe and enough shadows to blind those who don't.
- Blaise Pascal
|
|
|
|
|
u mean i can change using asp.net coding to CSV?
cos after i can get the data out from the excel i later still need to change the data from excel.
and how to manipulate the contents and display it.
sorry i new to asp.net..
thanks and regards
bang
|
|
|
|
|
You should save the .xls file as a .csv file. Then give the .csv file as the input to your program. You can parse the .csv file like the way you parse a text file.
In faith there is enough light for those who want to believe and enough shadows to blind those who don't.
- Blaise Pascal
|
|
|
|
|
MM.. but if later part i hav to update my excel.. will it affect the coding or CSV file?
do u hav any small sample to see.?
|
|
|
|
|
I have a DataGrid whose contents I query from the database. I am using C# to code my project. Many rows being displayed in the DataGrid does not helped user by using the menubar from Internet Explorer, Print and Print Preview to print the information. Can it be done literally without the copy paste of the datagrid method to excel sheet or micorsoft word?
thanks in advance. Much appreciated.
|
|
|
|
|
can you just modify your stylesheet and add a @media print style so the grid is 'not diplayed' (as such, at least the grid components, like pager, grid lines etc) and format the internal grid data as you please?
hth,
g00fy
|
|
|
|
|
@media print style? I am not familiar with that. Any samples?
thanks in advance. Much appreciated.
|
|
|
|
|
http://webdesign.about.com/cs/css/a/aa042103a.htm
|
|
|
|
|
Hi,
One thing you can do is ... generate table from the datagrid.
THis will give u a nice layout and perfect look of the print out.
Thanks,
Sushant Duggal.
|
|
|
|
|
A good idea. Thanks. Do you have any links? The method of generating it?
thanks in advance. Much appreciated.
|
|
|
|
|
|
Hi,
Yes you can use this code .. but it will be better to develop your own code .. as you can do this without using graphics(GDI+).
Just create a table from the datagrid (Generate DataTable) and use it
I hope it works,
THanks
Sushant Duggal.
Sushant Duggal.
|
|
|
|
|
Hai
I would like to use a free open source Data Block in my Web project. Can anyone suggest some good and excellent among them.
Thanks in advance
|
|
|
|
|
|
Hi
I have 3 frames Left, top and main content area - is there a way to force refresh of the left frame from the main content frame?
(all frames have a .aspx page)
thanks in advance!
|
|
|
|
|
try this
parent.leftFrame.window.location.reload();
Nav.
|
|
|
|
|
Does it support reload(), I am not sure, but I used to do something like this..
window.parent.frames[0].location.href='yourleftframe src.html'
|
|
|
|
|
Hi
I created a master page and put a treeview control in there on the left side table layout want to use the right side for different pages.
but the problem is i have a textbox and search button above the treeview and the treeview is loaded depending on what search string you type in. then i can click on a treenode and click a button on the top menu called addSubTreeNode - the right content panel should have a few text boxes for adding details of this TreeNode - but when i do this the treeview disappears - i want it to stay how it was on the mainpage.aspx - even when i goto this new addsubtreenode.aspx for adding a subTreeNode. (sort of like if i had frames and the treeview page remained the same - i want it to be in the same state as it was on mainpage.aspx when i natigate to addsubtreenode.aspx) (both these aspx pages are derieved from the master page and the treenode code is on the masterpage)
is this possible without frames?
thanks
-- modified at 19:14 Sunday 9th July, 2006
|
|
|
|
|
Hi,
I ran into this problem for the first time since I was working with .Net framework. You can't get (directly) to the query string of the page if your aspx is contained into a frame. It's possible to get it though the UrlRefferer object and to parse out the string.
My question is if you know some other way...
Appreciate it,
Cheers
|
|
|
|
|
Add the querystring to the URLs in the frame tags in the code in the frameset page.
---
b { font-weight: normal; }
|
|
|
|
|
Hey!
I am using framework 2.0 membership to handle my users on a site.
It is posible to get information like name, isInRole and so on. But i need to also get the id nr of the current user.
ex
Page.User.Identity.Name
I do not want to go to the mySQL server every time i need the id of a user, it shold be placed in session or cookie the same way the name is.
Is this posible? and if, how?
I am using a mySQL provider, what function is the mebership using to logon i user?
Best Regards
Jimmy
|
|
|
|
|
Hi,
I have a C# library created under VS2003 and stored in VSS. I now would like to create a version of that library targeted for the APS.NET 2.0 runtime under VS2005 but I am unable to figure out how to set things up so I can use one codebase stored in VSS. Does anyone have a suggestion on how best to maintain one body of code but compile two separate versions?
Thanks,
Rick
|
|
|
|
|
I'm not absoutely sure, but don't think it's possible - there are many MANY differences between 1.1 & 2 - just convert a project from one to the other and see the output report
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|