|
hi friends
how can i edit multiple rows
at a time
thanks
Laxmikant
|
|
|
|
|
give your query accordingly so that it updates multiple rows
Gautham
|
|
|
|
|
Dear All,
i am making web application using asp.net ,C# (Visual studio 2005).
i am making data entry form using gridview and detailview(for inserting , editing ,deleting). i am filtering gridview record using dropdownlist.and in case, there is no record of corresponding value.
i have given link to add new record by using detailView on other page. my problem is whenever there is no record. detail view only show insert and cancel(command), does not show all the field(entry field)
Even though i have made defultMode of detailview insert and Autogeneraterows true.
where i am going wrong. Please help
thanks
regards
imran khan
|
|
|
|
|
Hi
I am coverting a report made in Access Application which contains subreports within subreports.The nesting is upto five levels deep.As Crystal reports do not allow adding of subreports within subreports,how do i deal with it.
Is there some other way to deal with the problem.Any suggestions and help will be appreciated.
Regards
Shaurya
|
|
|
|
|
I have to restart the IIS(corporate policy) after deploying an app on it. After restarting the IIS the applications don't respond for 15-20 mins and the follwoing error in logged in event viewer.
Error message from the Event Viewer:
The description for Event ID ( 1003 ) in Source ( ASP.NET 1.1.4322.0 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: 6092, 180.
Problem magically disappear after 15-20 mins and things work just fine. It looks like IIS can catch hold of ASP.NET framework for 15-20 after restart.
Can someone help please?
I want solve this stupid problem.
Global warming
|
|
|
|
|
i created the Login Control using Asp.net with asp.net membership concept,i am getting this follow mess.
unable to start debugging on server.debugging failed bcoz of integrated windows authentication is not enabled.
|
|
|
|
|
r u getting error only when u run this webpage r for all the other project pages whenever u debug?
|
|
|
|
|
I have created a new web application seperately but not in project.it was just a trial form i am doing
i again created new application usind asp.net membership option.
now i am getting this new error:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
|
|
|
|
|
create some other sample web app n debug n tell me whether u r getting the same previous error.(debug err). create a app with text box in the page n let me know.
|
|
|
|
|
Go to IIS, and find your application directory. Right click and choose PROPERTIES. Click the DIRECTORY SECURITY tab. Click EDIT and check the INTEGRATED WINDOWS AUTHENTICATION box. Also click on the ASP.NET tab and verify that the correct .NET version is selected.
|
|
|
|
|
i need to know the events related to text box workin in c#.net asp forms.. how can i select a specefic text from the text box and manipulate like underline it or highligh it manually..
|
|
|
|
|
Nothing works in C#, your code runs on the client, and so needs to be javascript, if it's to interact directly with a control. You can't make text underlined in a text box in the browser, there are controls that do it, but the basic textbox does not. This is also true for Windows forms, as it happens.
What exactly do you want to do ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
i m confused by the statement that nothing works in C# .. but it does allow me to write a code behind the button that i wana use on my asp.net page ....so y java script??
|
|
|
|
|
Your code behind runs on the server and can run business logic for you. But, C# code does not run on the client, javascript does. So, the interaction of form elements can be defined in C# only to the degree that the framework exposes C# properties which get turned into javascript code for you.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
Hello All,
I know it is a primative question, But I am still scratching the surface..
I need to have a base page class for all my web pages, this page must have an instance to a DAL class to handle its DB requestes ...
How Can I achive that in a scalabel, clean way ...
Thanks, Best Regards
Waleed Seada
|
|
|
|
|
Hi,
So i think you have already written a Data Access class. Just inherit that class from Page class. All the functionality of page class will be inherited. Now you can add classes, inherited from this new class (DAL), now having all the functionality of Page class and your Data access class.
Hope i understood you correctly.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
coolestCoder wrote: So i think you have already written a Data Access class. Just inherit that class from Page class.
The DAL is in a separate layer. You should not have a DAL class inherit from the Page class. The DAL is a separate class.
The structure should be:
class CommonApplicationPage : Page
{
protected TheDalClass dal;
}
class SpecificPage : CommonApplicationPage
{
}
|
|
|
|
|
Colin Angus Mackay wrote: The DAL is in a separate layer. You should not have a DAL class inherit from the Page class. The DAL is a separate class
You are correct,
Now, I guess I have to add other properities to this class, for example a class to handle the security another to handle the localization , etc ...
what do you think !!
Thanks, Best Regards
Waleed Seada
|
|
|
|
|
WaleedS wrote: Now, I guess I have to add other properities to this class, for example a class to handle the security another to handle the localization , etc ...
Sounds good.
Your applications common base page class (i.e. the one that inherits from Page) will have various properties and methods that help with security, configuration, data access and so on as needed. Much of this functionality will probably be abstracted away in separate classes (like the DAL). e.g. You might just have a property that exposes the DAL object to the inherited classes so they may use it also.
|
|
|
|
|
Hi,
Yes, you are correct. My answer wasnt logical at all. Thanks for your reply.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hi all
I have a datagrid, which holds item name, item price, and its image(all from SQL Server database), what I need is when the user clicks on the image, I need the (id) for the item to be carried to the new page where I want to show more details about the item (expiry date, ...)
regards
|
|
|
|
|
Hi
You can add an imagebutton in the template column and set its ImageURL to the image you wish to display.
Then, set the imagebutton's CommandName to the itemID and in its Click event, use the commandname as querystring to navigate to another page and display that id's details...
Hope it helps you..
~VSree
|
|
|
|
|
Hi Dear
Ok, but how can I bind it to the datagrid
Regards
|
|
|
|
|
Thanks alot Dear...
It works...
Have a nice day...
|
|
|
|