|
Hi All,
I built multiple datagrid controls on my asp.net page in the code behind.
I create the datagrid control, set its properties including ID, define its columns then binds data to it from database queries.all these are done in the code behind not at the design time(i didn't drag and drop the datagrid control from toolbox)
I allow paging in each datagrid.
I need to add handler to enable the paging.
I don't know how to do that.
Please help.
thanks
Samah Helal
|
|
|
|
|
Hi
How to run an Dotnet Application in the system which donot have dotnet framework installed.
Reply soon.
Thanks & Regards,
Hari
|
|
|
|
|
write a asp.net app, browse from the machine where u dont have .Net
|
|
|
|
|
Please Help Me Everyone!
That's several days I have started to make possible for my project manager to create crystal report at runtime (ReportGenerator), but I haven't find solution yet.
Answer these Qs my friends in CodeProject, please :
1. What's the best way for my target?
2. Is it possible to add ReportObject to ReportDocument and set Datasource for it and ... , otherwise create Reports at Runtime.
Sincerely bye.
|
|
|
|
|
HI friends,
i'm Using asp.net 2.0. i hosted my asp.net application at other host application.
Problem is when i deployed it Host application , my application is not considering my Bin folder ,it is using Host application Bin Folder.
how can i use Bin folder at my application...?
Thanks and Regards,
-- modified at 2:29 Tuesday 12th December, 2006
Vijay Kumar Daivam
|
|
|
|
|
where are inmemory cookies stored in asp.net
ravi
|
|
|
|
|
They aren't. The cookies are always stored by the browser, not on the server.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
Its stored onto the Temporary Internet files Folder in the user's PC
keep Learning and you never will be out of date...
|
|
|
|
|
hi friends,
i have made an application using vs 2005, i have used aspnetdb as database for security of the application and i am using all the controls login control,password recovery etc.
my problem i have assigned some roles in my application administrator,itstaff,users when i am logging as an administrator and creating a user using createuserwizard my current account is changing to user account.
how to solve this problem.
regards jabbar
jabbarsb
|
|
|
|
|
I have a textbox control, which is binded through code, to populate a listbox which brings the matches of the textbox control from a database. All this works perfectly, but the listbox is always shown to the user. I want to let the listbox be visible when the user press any key and some data is populated to the listbox.
I had tried doing it with the ajax popupcontrolextender, but it doesn't work as demanded.
Pls help.
|
|
|
|
|
add an attribut in text box in page_init method like :
page_init()
{
TextBox.Attribute.ad("onkeypress","javaScriptFunction()")
}
in javascript body
JavaScriptFunction()
{
var obj=document.getElementByid("TextBoxID");
obj.visible=false;
}
it's kind of a suggetion u can do with the help of.
Keep Smiling !!!
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Dear All,
I am bit new to asp.net. i am making web application using C# and asp.net. In a web form i have multi selectListBOX that i am populating from table. I want users to be able to select multiple items.When the form is submitted it should create as many rows in the table as selections.
HOw this can be done. please Help
Thanks in advance for your help.
-- modified at 2:33 Tuesday 12th December, 2006
regards
imran khan
|
|
|
|
|
If its possible ,then just send me some examples...
|
|
|
|
|
hi
it is impossible
regards
saravanan
|
|
|
|
|
Hi everybody,
I am developing a website for forum. I have given a opition for internal search engine on this site. I want a simple code for website's internal search engine. Can anyone send me a coding for this.
Thanks in advance.
|
|
|
|
|
hi friends
i am working in asp.net(c#)
i want to bind gridview fromTime to toTime.
now my problem is wot i have 2 textboxes in which i enter time in hh:min:sc format and want to assign in datetime data type but got error that input string was not in a correct format.
plz give me right solution
thanks in advance
pathan
|
|
|
|
|
Use the DateTime.ParseExact method to parse the string into a DateTime value.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
Hi
i have tried but still have got error.
my code is
IFormatProvider format = new System.Globalization.CultureInfo("en-US", true);<br />
DateTime fromtime = DateTime.ParseExact(TB_Time.text, "HH:mm:ss",format);
Input string was not in correct formate.
plz help me
thanks
Pathan
-- modified at 4:27 Tuesday 12th December, 2006
|
|
|
|
|
That means that the string that you tried to parse does not match the format.
If you need to handle values that might not be correct, use the TryParseExact method instead.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
Hi!
i have a page a.aspx containing a iFrame say iFrm. there are two tabs 1 & 2 on the a.aspx.
on clicking on tab 1, b.aspx page is opened in the frame & on clicking on tab 2 c.aspx page is openned. both b.aspx & c.aspx containg a button GO. on clicking GO a new page E.aspx page is openned using response.redirect. my problem is that whenever i clicked on GO button, E.aspx page is openned in the iFrame of the a.aspx rather than openning in the new window closing a.aspx & b.aspx or c.aspx. please solve my problem.
SAMir Nigam
|
|
|
|
|
i ve one table. i want to display all fields in datagrid.
but i want a colum of count with all these fields.
how to do it in page code
diya
|
|
|
|
|
Two ways to do that.
1. Fetch the column count from the Query. And just bind the whole stuff with Data Grid (Recommended)
2. If you are not fetching the count than you have to add another column in the datatable and loop through each row to fill in the count in it (Not Recommended).
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
i am having a grid that displays a time sheet, which shows whether a person is available or not in this week. To check whether he's committed or free. For that i am using 2 tables, one for the person details and another one to enter the new appoinment for the corresponding candidate.
using that i have combined that two tables and displayed in the datagrid, The first column is the list of names and other 7 columns follow all the 7 days in the week. I have displayed a text (true or false) whether he's available (free) on that particular day or not. But i need to display a toggle button indicating availablility.
How to use the toggle button in the grid and place the suitable image regarding the result ?
Regards,
Abul.
|
|
|
|
|
I'm looking for some references as to what security measures are in place if an asp.NET application/script isn't registred with the server (and therefore is not trusted). Maybe an article on this topic.
the last day or two i've been poring over the code of codeajay's CSV Import/Export app[^] trying to see if there was something i could modify in order to get the import feature to work. I've had no C# experience prior to that but it looks pretty straightforward and i have only a minimal ammount of questions (which i won't bother you guys with since the information should be available somewhere).
I've been trying to trace where a FileIOPermissions error is comming from, but i haven't really seen a direct reference to file permissions in any of the code. So i'm assuming the restrictions are comming from the way GoDaddy has configured their "Windows Shared Hosting" accounts. The odd thing is though, the export feature freely generates a file and stores it on the server. My conclusion is this has something to do with the security side of the asp.NET, barring an untrusted script from reading a newly uploaded file but i can't really verify it unless i write another script that basically does the same thing, uploads a file and then reads it in order to process the data.
The application has its own virtual directory with the "write" permission enabled and the dir set as root for the application, but there's not much i can do with their simple control panel After intense googling i still don't see a way to register the application with the IIS, so i assume they don't provide that.
I hope someone here can guide me in the right direction
Thanks in advance
Roswell
"Angelinos -- excuse me. There will be civility today." Antonio VillaRaigosa City Mayor, Los Angeles, CA
|
|
|
|
|
Could someone direct me to a good link that discusses the logic behind paging? I am writing a site that loads images. I want to limit each page to a predetermined amount of images to display at a time. If there are more than that number, I want a link to the next page of results and on the next page, have a link to the previous page ..etc etc.
I know there are controls such as the dataGrid but I am not using anything like that. I am using very basic and minimal code ( hopefully ) by using a simple table. Should I reconsider?
Any advice/links is much appreciated.
Andy
|
|
|
|