|
I want to know number lines while printing on the paper.
To know the number of lines in a file is hardly helpful in my case.
I have marked and underline my question to better understanding.
|
|
|
|
|
I think I understand your question.
Let's say you read 100 lines from your database and you want to display them on a page with a maximum of 60 lines per page.
Try something like this:
Lines = 100
Page = 0
PageSize = 60
While Lines > PageSize
Page = Page + 1
... Load your HTML PageData ...
Lines = Lines - (PageSize)
End
Page = Page + 1
|
|
|
|
|
No, actually I have all html data in an hidden fields.
Your solution is a good for static data but I need to print rendered data
|
|
|
|
|
My requirement is to load the image series in random order in the web page. The user has to rearrange in the correct order..
I am using HTML table which creating dynamically at the run time based on number of images..
Like wise the text boxes were also created. But I am not able to retrieve the values entered by the user in textbox..
- Varun Prakash
|
|
|
|
|
Hello,
I have a big problem that I could not overcome. I have a datalist placed in Ajax-update panel. I inserted a command button that is supposed to insert the item to another datalist.
when I clicked on the button, somehow the datalist items disappers. Therfore the itemcommand event is not fired at all. What I know is that, the viewstate hold the infrmation and the items should be there despite the postback.
Is there such a problem commonly faced or , is theresomething wrong with my settings?
All the best.
|
|
|
|
|
You may need to see what I am talking about...
Please click on "Ekle" button at
link[^]
|
|
|
|
|
Are you creating the datalist at runtime?
|
|
|
|
|
No,
Datalist is already there.
|
|
|
|
|
Any ideas?
What could be the reason for that?
|
|
|
|
|
hii
hi want to get data of dropdownlist in asession.eg:
Session["Id"]=Dropdownlist1.SelectedValues;
Then i want to get this value in a textbox in other page like this.
txtvendorid.Text=Session["Id"].
but its not workin.
how can i take value from one page n get it in another page through session.
Shud i use namespace.Plz guide me.I have searched google but i didnt understand session exactly.
|
|
|
|
|
What is the error?
Post your code so as to investigate.
Did you debug the code?
|
|
|
|
|
Session["Id"]=Dropdownlist1.SelectedValue;
txtvendorid.Text=Session["Id"].Tostring();
If you are holding an array that contains more than one item you have convert it to array like=
string [] dimension = (string[])Session["Id"]
hope this helps
|
|
|
|
|
mylogics wrote: Session["Id"]=Dropdownlist1.SelectedValues;
This is fine.
mylogics wrote: Then i want to get this value in a textbox in other page like this.
txtvendorid.Text=Session["Id"].
Do like this,
If(Session["Id"] !=null)
{
txtvendorid.Text=Session["Id"].ToString();
}
mylogics wrote: but its not workin.
What do you by not working ? Are you getting any specific error ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
i working in asp.net and C#.net. i am comparing the values of two labels if they are not equal then start countdown. but it should be for five minutes only. mean when time start then 4:59(mm:ss) then decrease and when time become 0:00 then it will once again become 4:59 and again repeat the whole process if the the label values are not equal.
Regards
|
|
|
|
|
you need to use SetInterval to change time..
|
|
|
|
|
i m sorry i new in asp.net. how i can use set interval.
|
|
|
|
|
I completed all webpages, i have to design my pages with lot of styles and colors.please Give few tips how to design and coloring webpages.
|
|
|
|
|
CSS
If you want a better answer try and be more specific with your question.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I have to deign each & every individual controls.
|
|
|
|
|
hii
use css particularly for each control like button,table etc and use it or apply it on other table or buttons...
|
|
|
|
|
So use google and find how to use css, thats what its for.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I will suggest you to use themes to design each controls.
|
|
|
|
|
kavinnagarajan wrote: i have to design my pages with lot of styles and colors.please Give few tips how to design and coloring webpages.
How to use CSS in ASP.NET[^]
If you need more rich UI, use Silverlight or Flex
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
NDepend is one of those tools which is very powerful but addresses an aspect of software development too few architects or developers understand, software metrics.
NDepend has gone through some updates since our talk and boasts many features:
Code Query Language (CQL)
Compare Builds
82 code metrics
Manage Complexity and Dependencies
Detect Dependency Cycles
Harness Test Coverage Data
Enforce Immutability and Purity
Warnings about the health of your Build Process
Generate custom report from your Build Process
Diagrams
Facilities to cope with real-world environment
The CQL code is written like SQL Query...
SELECT TYPES WHERE NbFields > 6
To know more refer the www.ndepend.com
|
|
|
|
|
pay for your advertising, don't spam
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|