|
Dear all,
I am using VS c# 2005 with .NET 2.0 and MS SQL SVR 2005. I am using ROW_NUMBER() to do the custom paging in gridview control.I am curios that how can i do the footer pagination like what the default paging do? Example , show the numbering and "..." at the bottom of gridview.
any tips and suggestion are welcome.
thanks in advance
regards
cocoonwls
|
|
|
|
|
cocoonwls wrote: I am curios that how can i do the footer pagination like what the default paging do?
Are you talking about Gridview paging or what ? If you want to gridview paging you just need to set AllowPaging =true and need to handle the event.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
|
Hi,
You can create a footer pagination by yourself, and bind the gridview row number to it.
The footer pagination can be whatever you like.
modified 27-May-14 5:27am.
|
|
|
|
|
Hi Carle,
Thanks of your suggestion. I will look at it
And ,actually what i looking for is the same as what codeproject done in the bottom of table.
|
|
|
|
|
Hi all,
Im getting the error while converting xml to a dataset.Please help me.
Im converting xml file to dataset using the following code.
TextWriter twHistory = new StreamWriter(location + ".xml"); twHistory.WriteLine(XMLdoc); twHistory.Close(); DataSet dsHistoryXml = new DataSet(); dsHistoryXml.ReadXml(location + ".xml");
Cannot add a column named 'PerUser': a nested table with the same name already belongs to this DataTable.
|
|
|
|
|
anu_anu wrote: Im getting the error while converting xml to a dataset.
See answer here[^].
|
|
|
|
|
Is it a answer.. Im nt unwantedly posting the message again and again..
|
|
|
|
|
anu_anu wrote: Im nt unwantedly posting the message again and again..
Then don't!! You shouldn't be posting the same question over and over again, it won't get you any different answers, just ignored.
only two letters away from being an asset
|
|
|
|
|
anu_anu wrote: Is it a answer.. Im nt unwantedly posting the message again and again..
So why do it; respond sensibly to the post where people have tried to help you.
For a start your line of code and your error message have no correlation whatever. Look at your code and find where the error message is coming from to try and work out what is wrong.
|
|
|
|
|
|
I'm sorry, but the issue appears to be that you are dumb as toast.
The error means what it says. What have you done to try to fix it ? You sat at your desk for a day crying because you are incapable of even trying to do your job, then you just posted it again, right ?
The conversion is failing because you have a column with the same name as a nested table ( which is what the message says ). You could find and rename the table, or you could find and rename the column. If you post again, please report the things you have done to try to do your own job, instead of just waiting for someone to do it for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
No one will ask question if you pepole answer like this. No one will born with great mind. Behave like a basic human beings.Dont think that all the people would have great knowledge. Dont underestimate others job.Codeproject loses one member... Bye..
These line are given for you people only. Try to read these line before you answer.This is all the members who replied my query.
Apologies for the shouting but this is important.<br />
<br />
When answering a question please:<br />
<br />
1.Read the question carefully<br />
<br />
2.Understand that English isn't everyone's first language so be lenient of bad spelling and grammar<br />
<br />
3.If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome<br />
<br />
4.If the question is inappropriate then click the 'vote to remove message' button<br />
<br />
<br />
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid. <br />
|
|
|
|
|
So quiting is an answer? Christian can be harsh sometimes because lots of people post requests for code for an entire project. CodeProject is not an outsourcing site, people help others for free. I can see you are different and as I said Christian was harsh... again, the error was clear but I understand that language is a barrior as english is not my first language too.
|
|
|
|
|
Hi,
I have two issues on AJAX editor control.
1) How can I set visibility='false' to Horizontal Scrollbar in AJAX Editor control?
2) How can I make javascript enabled or clientside validation for AJAX Editor control?
Thanks in Advance
|
|
|
|
|
What AJAX Editor are you talking about ?
Elena2006 wrote: How can I make javascript enabled or clientside validation for AJAX Editor control?
How can an AJAX control work without javascript ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I am trying to split a word document into multiple parts with formatting ,can anybody knows how to do this.
|
|
|
|
|
How is this remotely related to ASP.NET ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
If user upload a word file then he can select to split that file into parts, then with button click the file is splitted into given number of parts and uploaded on server.
|
|
|
|
|
Well, that's never going to work. He can upload it, then split it on your site ? What UI will you use to show the document and work out where to split it ?
Either way, the question you're asking is not an ASP.NET question, even tho you intend on using the code ( somehow ) in a website.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
no Actually I am developing a control in which there is a file upload control a textbox and a button,
1.. user selects the file.
2.. enter the numeric value in textbox, that how many parts will be generated of that file
3..then clik the button.
finally the file will splitted with given parts and uploaded to server...
|
|
|
|
|
Gaurav Dudeja India wrote: finally the file will splitted with given parts and uploaded to server...
Surely you mean, the file is uploaded to the server, and then split into parts ? I'm not sure I see the purpose of this, but again, your core question is not an ASP.NET question.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
no actually u cant understand my question,
File is splitted while uploading on server, not after uploaded..
and this control is in asp.net
|
|
|
|
|
I didn't understand before, now I do. You are totally lost. If you had any idea what ASP.NET is, and what it does, you would know that it's impossible to write 'a control in ASP.NET' that splits a file on the client and then uploads the parts. Even a text file, a Word file would be more complex. Either way, I hope you didn't tell the guy whose rentacoder job you bid on that you'd do this. The people who hire folks like you are also dumb as toast, they are very likely to write requirements that are impossible. This is one of those times.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Excuse me i know that what i doing, and i made a control that splits the word file and upload it on server , but the problem is that the data in splitted documents is simple text without formatting and i also want formatting,
|
|
|
|