|
Hi
I need out put like this
DEVELOPMENT RESEARCH ADMIN
Subash sdlkjfkerlh fdsgefrghe
Suresh kbkfghkkj cvbfggh
Zjkgkefk ckvlgfkh bfvdnnbdf
,g,fhmh gfhkhk bgfhjgf
COUNTRY STATE XYZ
Subash sdlkjfkerlh fdsgefrghe
Suresh kbkfghkkj cvbfggh
Zjkgkefk ckvlgfkh bfvdnnbdf
,g,fhmh gfhkhk bgfhjgf
Any body idea how to implementment.From database data is fetch from order by header name i.e., DevelopmentSubash
|
|
|
|
|
What is your actual problem ? You can easily render the content either of them. Is there any specific requirment ?
|
|
|
|
|
I have to display an increment number every second in the same web page (.asp) but I don't know how to do it (refresh or update)?
Can anyone help? By the way, I do have a function delay 1 second
|
|
|
|
|
JavaScript. setInterval[^] I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Thanks for the link, it shows as I wanted 
|
|
|
|
|
please help me with
this......
i am trying to read more than 100000 record from my SQLite database very fast.
At the moment it takes 40-45 second to perform a select on the last record.
Does anybody knows the code for vb.net compact framework, to perform this search in less than 5 or 10 seconds? al hajjaj
|
|
|
|
|
It's not question of the .net code, it's a question of how the data is structured and queried. Are you trying to use any complex joins? Do you have covering indexes? Do you really need to retrieve all 100000 at once? This seems extremely excessive for a mobile application. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hello, This is Vikash Gohil.
I have a problem related to Gridview as mentioned below.
I have a gridview page that displays All data from a table on page load.
Now I have also provided Data Filtering options on the same page for filtering data that is displayed.
Now when the user provides a filter condition, gridview only displays the filtered data.
But once the user clicks on Next or Previous in the Gridview pager, the filter gets removed and the grid again displays all the data.
What I want is the filter condition should remain until the user provides another condition for filtering.
How can I go about doing this.
Anyone can give me some idea.
This would be of great help.
Awaiting a reply, Thanks in Advance.
|
|
|
|
|
VikashGohil wrote: But once the user clicks on Next or Previous in the Gridview pager, the filter gets removed and the grid again displays all the data.
Make sure, you had put this in IsPostback condition. Might be grid is getting rebind with the data.
Filter client side implemented or server side?
|
|
|
|
|
Hello, Sandeep.
Thanks for the reply.
I have Used an SQL DataSource to Bind Data to the Gridview.
Initially I had written the Select Command for DataSource in Page_Load event as follows:
Page_Load(...)
if not page.Ispostback then
SDS.ConnectionString = <ConnectionString>
SDS.SelectCommand = <SQLQuery>
GridView.DataSourceID="SDS"
GridView.DataBind
end if
Now the problem here is when first time the page is loaded, the grid displays properly.
But when the page postback happens the gridview disappears, bcoz there is no selectcommand in the DataSource.
So I have to compulsorily write the above code as below.
Page_Load(...)
SDS.ConnectionString = <ConnectionString>
SDS.SelectCommand = <SQLQuery>
GridView.DataSourceID="SDS"
GridView.DataBind
if not page.Ispostback then
end if
And what do you mean by saying Filtering Client-Side or Server-Side, could you explain a bit about both types.
Thanks in Advance, awaiting a reply soon.
|
|
|
|
|
If you have a Next, Previous button you should be having PageIndexChange event for that GridView. In that event handler you need to "rebind" the data with filter condion that has already been selected. So you need to Save the select query too (using any session management technique ie. ViewState, Hidden field, session variable per your requirement.
Hope this helps,Thanks,
Arindam D Tewary
|
|
|
|
|
how to open ms word from asp.net with c#, give me the simple example which helps me.
|
|
|
|
|
|
|
|
i have the table fields in sql server
username nvarchar(50),
emailid nvarchar(50),
startdate datetime,
enddate datetime,
before 10 days of enddate i have to send the automatic email to the user .using asp.net with c#. can you give example which helps me
|
|
|
|
|
|
Hi,
Set up a sql job to send emails. Write a stored procedure and put the logic to send the email. Create a new sql job and associate the stored procedure with it. Hope this helps.
There is no foolish question, there is no final answer...
|
|
|
|
|
|
hello any code or .net job related quary contanct me mail id is sk.bargav@gmail.com
|
|
|
|
|
I have a small website with just two pages. On one of those pages I have a Repeater which is essentially displaying some data. The last column in the Repeater contains a Hyperlink with the ImageUrl set to an image. The image size is 12x12 but when I run the project it's resizing it to 20x20. I have a separate project with the same identical CSS and Repeater code which runs just fine. Thoughts?
|
|
|
|
|
Folks, I've been poking around various sites to see if there is a way, using VS2005 Setup and Deployment projects, to specify the HOST HEADER for a web application.
Does anyone know how to do this? Is there an easy setting someplace or do I need to add code in a CustomAction (or, can I do this AT ALL automatically)?
I could require the install folks to manually update once the .msi has completed, but that could be problemmatic -- I'd rather have the installer do everything it needs w/o human intervention.
Thanks for any help
|
|
|
|
|
Hi all,
I'm working on a project and I need to call a javascript function, but it is part of a different aspx page.
Can this be done, either through c# or a javascript on the calling page?
The way this program actually works currently is, the first page, say page1, actually opens a pdf in the browser. The pdf has a button on it, and through some javascript calls page2 as a popup when the button is pressed. I need to pass values back to page1, so that page1 can put them on the pdf. I know it's a bit confusing so I can try to explain it further if you are confused.modified on Friday, March 12, 2010 3:09 PM
|
|
|
|
|
betreyal wrote: I need to pass values back to page1, so that page1 can put them on the pdf.
Explain this. Which value(from Page2?) you want to pass on Page1? Once you put that value in Page1, how are you planning to put that in PDF as you said, Page1 triggers(lets say from a button) to open up a PDF.?
|
|
|
|
|
1) In page2 the user is selecting a value from a GridView. From there, with a little work, I am passing it to a HiddenValue in the aspx of Page1, but what i need to do is pass it to a javascript function in Page1, because Page1 is just used for processing forms and doesn't actually ever show itself to the user.
2) All the work in passing the value to the PDF has been set up, i just need to get the value to the javascript function, and the function will pass it to the PDF.
Elaboration:
How it will all work is the user will select a form; Page1 actually processes this request and opens up the correct form, which is a PDF. On the PDF there are buttons and fields for data entry. On the button click, since the PDFs use javascript for processing actions, the pdf goes back to Page1 , where Page1 determines which popup to open depending on the button clicked. From here Page2 would be opened. A GridView of stuff is displayed for the user to choose from. The user double clicks any of the values they want, and then the page closes, passing the value to Page1. The problem is im passing the value to a HiddenField. What I need is a way to call the javascript function on Page1 from Page2. With this, I will be able to pass the values I need into the function, and they in turn will get posted to the PDF.
I hope that's clearer. Any more questions?
Thanksmodified on Friday, March 12, 2010 4:36 PM
|
|
|
|