|
The only way to handle is to requery for the data. Using jQuery's .ajax() call can make that easy but you need someone of knowing when to do it. That is all dependent on your design.
The answer really is it depends on how you are doing things, but use ajax to do it.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hi,
I'm just starting to learn. I'm using Web Forms, and am trying to add a table to the Database. For starters it tried to use the WingTipToys DB, (the last tutorial I played with), that was until I removed that solution altogether. I created an Entry in DB Explorer called 'dbo.Customers(Design)' It refuses to save, and refuses to show in DB Explorer.
Also, I played with Web Matrix (I toyed with it earlier), you can populate the DB with initial data. How do I do this with Web Forms.
Thanks for any help at all.
Regards
Bram van Kampen
|
|
|
|
|
I've run across this same issue. Few years ago, while trying to use Visual Studio 2005 and the first NET Frameworks ASP.NET samples that shipped at that time. All that stuff about [localserver] ... baffling. To say the least. And especially since the "installer" and the coincident scripts and commandline .exes that own the bin directory weren't even compatible with the shipping specs of that VS version.
Long story short, it's Visual Studio 2010 for me. NET Framework ASP.NET samples gone the way of the wind. VS2010 has it's moments (historically, that is ... upgrades to the "Click-Once" fiasco ... actually MADE it work, thank god, etc) ... where am I ... oh yeah, Database Explorer.
What worked for me was this. Forget about VS2010 and the programmer's nexus to database development for just a few moments. I know, it's hard ... you've got all those wizards telling you that it's easy, right? And all the other vanilla in-the-box things that are gonna help you doo what you want in ... C++ (me), VB.NET (me again, from QBASIC), etc.
Instead, download the SQL Server 2008 Managment Studio Express (R2 sp?) with Advanced Services, install it, and the Book-On-Line that documents IT ALL. And while you're at it, go to codeplex and download the AdventureWorks databases (there must be 10 of these, at least). The BOL breathes volumes of usefulness into the AW samples.
Take a few weeks to do basic things, create tables, create databases, do this, do that; pick a few BOL examples that leverage the "Change COnnnection" button in the SSMSE interface (That Database Explorer outstrips the VS version by miles! And then there's the Object Explorer! Freaking great app, all of it).
Once you "see" how to do what you want in "database" you'll realize that asking questions about SQL is a big waste of time.
While ... downloading the BOL might help to answer the basic "array/matrix/table" conundrum. First glance.
|
|
|
|
|
Hi, Thanks
RedDK wrote: download the SQL Server 2008 Managment Studio Express (R2 sp?) with Advanced
Services, install it, and the Book-On-Line that documents IT ALL. And while
you're at it, go to codeplex and download the AdventureWorks databases (there
must be 10 of these, at least). The BOL breathes volumes of usefulness into the
AW samples.
Sounds great, and thanks for showing me that I'm not going insane. Any chance of a link to all this though ?
Thanks
Bram van Kampen
|
|
|
|
|
|
I have 25 years of development experience - all of it Windows. I started with GB-Basic, then on to FoxPro/Visual Foxpro, and for the last 10 years I have been doing C# WinForms & WPF.
I want to start learning to do web development. I tinkered around with ASP.Net MVC 3 for a while, and that's about the extent of my experience.
I literally know next to nothing about web development. So where do I start? Can someone recommend decent entry level books or tutorials?
Many thanks
If it's not broken, fix it until it is
|
|
|
|
|
|
I actually like the WROX books myself.
http://www.wrox.com/WileyCDA/Section/ASP-NET.id-105058.html[^]
Glad to hear your making the jump to web development. My career stared with VAX/VMS Fortran programming and I continue to learn new things every day.
The folks here are extremely helpful, you can learn alot from this community.
Good luck.
|
|
|
|
|
<title>Company Details
$(document).ready(function () {
// new nicEditor().panelInstance('txtAreaLatestNews');
// new nicEditor().panelInstance('txtAreaPromotionText');
Company.LoadCompanySelectedData(0);
});
Company Details
Company Name *
Address
Address
PO Box
Contact
Tel. (Primary)
Tel. (Sec.)
Fax. (Primary)
Fax. (Sec)
Email (Primary)
Email (Sec)
Website
Image
|
|
|
|
|
I am adding refernece link below.
www.mobile.de
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'cs,de,es,fr,it,nl,pl,pt,ro,ru', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
I added to above code.But country flags are not coming.
|
|
|
|
|
I have two applications, both asp.net mvc3 projects. Both of them were working fine. But after a while I get the 'resource cannot be found error' if I run them.
Please does any one know what could be the cause of this problem?
Thanks in anticipation of helpful responses.
|
|
|
|
|
Have you moved files or directories about? Resources in C# sit in a namespace based on the file and directory location.
'Howard
|
|
|
|
|
Hi Howard,
I can remember I created a new folder a while ago and moved some file to it but cant remember if it was after I had created the projects. Thanks very much....that really makes sense.
One more question please,in the case of moving files about...please how do i fix the problem?
|
|
|
|
|
I am converting sql stored procedure to sybase . i came cross some datatypes like
declare @mask ident declare @type ident declare @start varchar(max) . Ident and max vachar are not supported in sybase. What will be correct alternative datatype which i can use for sybase.
|
|
|
|
|
In my experience a SQL identity has been an integer which is automatically incremented when a row is inserting into that table. Typically the identity column has been used as the primary key for the table.
Varchar(max) may be a text field in Sybase.
See if this is helpful ...
http://doc.ispirer.info/sqlways/Output/SQLWays-1-141.html[^]
Good luck.
|
|
|
|
|
Hello All,
Could anyone please help with suggesting the technique that I can follow to achieve the following.
I need to create a drop down form/division.. just like gmail-advance-search-option, where the drop down form pops up on clicking on a link.
Please note that my drop down division content is dynamic, ie must be sent by server dynamically (depending on a parameter which user selects previously).
Detail/example: So lets say user selects the option X and click on the buton/link to collapse the drop-down form. At this time, we should receive the form (belongs to the option X) from the server and client should display it. On click on submit, some search should be perform.
PHP is a must.
Could you please let me know the technique to achieve the same..Ajax/Jquery sounded helpful to me . but i have almost 0 knowledge on them . . . . An example or link would be highly appreciated.
Sorry if it sounds basic I am a new bee to web development.
Thanks
Hrishi
|
|
|
|
|
hi to all
hoe can i pass an data to a user control;
ia have a user control A that this userControl have usercontrol B in self;
ant i want pass a data from outer of user control A to User control B .how can do this.
any help will be useful
thanks
|
|
|
|
|
Expose public properties in the Usercontrols such that data assignment and accessibility is easily achieveable.
Once you have the properties in place, all you would need is to get the instance of the user control and then you can get-set that property value which internally can be set for controls in the UC.
|
|
|
|
|
ok but iwant access this property in .asx file then
i have to define a protected property .and i cant access protected property outside of usercontrol by usercontrol.propertyname.
do you have idea fo this.
thanks for answer
|
|
|
|
|
mehdi.sabet wrote: i have to define a protected property .
Define public property and you will be able to access.
|
|
|
|
|
Hello,
I created a custom polygon with the pen tool in photoshop and I gave him the style 0 % fill opacity
and I want to change the color of the border that stay
I tried to apply the pen tool bucket but it not work for this border
same problem with the width and I do not know how to change (I'm not talking about blending option)
do you have an idea
thank you
|
|
|
|
|
How to create multiple moving points in Google maps using Google API?
I need to create a simulation of buses moving along the routes through bus stops.
Thank you
|
|
|
|
|
|
Hi,
I am used to writing code in MFC/CPP(visual studio 97,which has excelent support facilities),and am trying to start a web app in MVC. Where do I find a reference about what is stored in each directory or File.Where do I find a reference about how it fits together. I do not want more tutorials about how to do things, but an overview of how this all fits together. Surely, Microsoft had a design spec readible to humans, when they wrote all this. Where do I find this level of info.
Basic things, like What's the difference between a 'Project', 'WebSite'or 'Solution'
Bram.
Bram van Kampen
|
|
|
|
|