|
As you are talking about excel. So r u trying to transfer data from GridView and while exporting u r facing problem or What?
Regards
Anil Pal
|
|
|
|
|
Actually what I want to need is change the column cell format to text. In that case, even cell values are numbers of text/string, all the elements are text.
So basically what I want to do is, format the cell format in a specific column into text format.
Can you help me on this, please.
Thanks
I appreciate your help all the time...
CodingLover
|
|
|
|
|
DataGridView1.Rows(3).Frozen = True
DataGridView1.Rows(3).Cells(2).ReadOnly = True
|
|
|
|
|
sarbajit majumder wrote: DataGridView1.Rows(3).Frozen = True
DataGridView1.Rows(3).Cells(2).ReadOnly = True
What do you mean by giving this two lines of code? What is your problem ?
If you want to merging cell in Gridview Have a look[^]
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
have some doubt,about rdlc Report
1]is there any way to access chart control through programme ?
means i want to pass Height & Width of chart throug code behind is it possible ?
2]% wise graph type microsoft provide but it not reflected when runnging graph ,any reason?
3]is it possible to show total of staked column ?
4]is there any way to pass x-Axis & Y-Axis fields through programme?
Thank You.
|
|
|
|
|
i'm trying to redirect the user to main page when session timeout, and i'm trying to do this at the event of session_end ().because when the time out the main page will be redirected automatically.
i tried response.redirect() but it gives an exception saying respnse is not available in this context.
can any one help me to do this.
|
|
|
|
|
In Vb.net2005 setup Project step Customer Information> ; How to Add Lincence Key (Serial Key)
> Which logic To Use in a Serial Key
|
|
|
|
|
1. Try and make sense with your question
2. Do your own homework
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I want to go to login page whenever user click on back button or press backspace after logged out???
|
|
|
|
|
I'm not sure if this is what your looking for, but this shows you how to redirect users to any page after a session has expired. In your case the user would be manually ending the session and this could also work for you by redirecting the users to the login page after logging out.
http://www.codeproject.com/KB/session/redirecttimeout.aspx[^]
Hope this helps.
|
|
|
|
|
Hi. I'm running an ASP.NET C# web application. I have a website including some textboxes with a button for editing of some data in my db, and also a datalist for displaying the same data from the db. My trouble is to update both AJAX UpdatePanels with the updated data. The UpdatePanel with the datalist always seem to stay one step behind.
There is a lot of code to copy/paste, but shortly its build up something like this:
website
UpdatePanel1
textboxes and button1 for updating data
/UpdatePanel1
UserControl
UpdatePanel2
datalist to display data from db
/UpdatePanel2
/UserControl
/website
When clicking button1 gode is run as follows:
1. website Page_Load
2. UserControl Page_Load
3. website Button1_click
This means that my UserControl reads from the db before the changes are done in the Button1_Click. Both UpdatePanels are updated. UpdatePanel1 with the new data changed with Button1_click, while UpdatePanel2 still shows the old db data. With saveing changes several times with button1, UpdatePanel2 gets updated with the new data, but it always stays one stem behind.
Now what I've figured needs to be done, is to run the code of Button1_Click before UserControl Page_Load. Something like this:
1. website Page_Load
2. website Button1_click
3. UserControl Page_Load
Is there a way? I can't make it, and I'm soon going crazy. Frown
Any suggestions would be appreciated. Thank...
|
|
|
|
|
I think you need to understand asp.net page life cycle[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Thanks for this link. I will have a closer look at it in office tomorrow. I've read through it, and it seems it will be very helpfull.
Learling-by-doing leaves many black holes when it comes to skills and knowledge. Sorry...
|
|
|
|
|
Again thanks for the link. It turned out most usefull. I now moved some of the code in my UserControl to Page_PreRender, and it solved my entire problem.
|
|
|
|
|
Glad to help
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
How to Create subquery Report in Asp.net with vb.net language
Or
Two table Perticular field Select Show in Report
|
|
|
|
|
This is a second question you posted back to back. Well, before you start coding you need to grab a book on asp.net and get the basics straight first.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
How to set logout After Backspace or backbutton in login page display without code use history.forward()
|
|
|
|
|
I don't know exactly what you looking for. Can you clarify your question
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
hi everybody
How do display a word page into web page
Nguyen Duy Tuan
|
|
|
|
|
duyoanhht46 wrote: How do display a word page into web page
Are you trying to embed Microsoft Word document on asp.net page? If so, you can embed the doc file within IFrame
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hello,
1. I was under the impression that cache.insert was thread safe. Is this true?
2. Also you cannot count on a cached item staying in the cache until it expires because it maybe be removed for memory reasons - true?
3. Are there rules of thumb for how much data is too much to cache? which would then just cause the cache to be continually shuffled with objects. I know it would be depend on many things...but if there any basic parameters?
Also there are different patterns of how to implement caching one of which is called: Asynchronous pull loading - which is what I probably should use. It requires implementing a dispatcher to consolidate data, a cache and the business logic.
I don't have lots of data consolidation to do but do have a situation where I want to pull data all at once into the cache, then expire on a regular and fairly infrequent basis.
4. Does this sound like the kind of pattern for me to use then?
5. Would the dispatcher then just be a method called asynchronously to pull data on the cache object expiration and then also as a callback if the cache object is removed for other reasons?
Thanks for enlightening me on any of this.
|
|
|
|
|
I don't know, as I have not done much webservice caching. Is there anything that can answer your question in this article (XML Web Service Caching Strategies[^])
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Thanks - that's a good article.
|
|
|
|
|
you are welcome.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|