In the default ASP.NET MVC 3 project, layout & partial cshtml files start with an underscore (eg. _viewstart, _Layout, _LogOnPartial). Why? Does the framework give some special meaning to a cshtml file that begins with an underscore?
here is the pagehttp://www.avakian.gr/Default3.aspx?categorysID=111&parentCategoryID=1&products=aunder the product image is the same product in different views inside a repeaterut this underscore character is annoying
My project is completely built on asp.net with codebehind vb.net, is it possible to add a class library .cs file to my project. since it is based on c sharp will i be able to add it.
I am new to asp.net c sharp; right now I am working on one project, in that I need to send the [short message service] to mobiles, I don't how to send the message to mobile. Please someone help me, give some ideas or some links where I can find the sample code or sample projects
I want to select data from SqlDataSource tag to gridview using TextBox1 value.how can i modify that ASP.net code behind file..
<asp:SqlDataSource ID="SqlDataSource1" runat="server" SelectCommand= "select distinct [Species],[qty],[received],[Discard],[mortility],[dispatch],[dispatch],[dpt_sales] from [vw_getFishDtls] where [Tank_id]=TextBox1.Text and [ftype] =(select [ftype] from [vw_getFishType] where [Tank_id]=TextBox1.Text" ConnectionString="Data Source=IT-ISHAN;Initial Catalog=ETF;User Id=ishanuk77; Password=ishanuk77;"> </asp:SqlDataSource>
i have extracted data from database..currently that information is in a string variable...my point is to pass that string value into a gridview in the application..i have already created the gridview with checkbox list fitted into it...on inserting the values will the gridview will expand dynamically ??..if no then what to do ? how to push the data into gridview so that it expands dynamically?
how to write functions and methods in c sharp?Is it not possible to write function in c sharp if not if i want return some value then how should i execute this
I have a MVC project where NHibernate + SharpArch are being used for data persistance across the project. The properties class for the database are created then I have my repositories bringing back data using LINQ. However, for some recent queries I have done I am getting the following error;
[Code]....
There is no column in my database with name PaymentRefundFkFk so what maybe causing this and how do I resolve this issue?????
I am looking to learn .NET , i have experience in some Html, Php and mysql . What i mainly need to know is where to start.-I am guessing i would use Microsoft visual studio for development , and design of my pages.-If i wanted to make a site that ran a compiled program for instance, what would be the best langauges to learn alongside .NET c-sharp ?-Is it mysql compatible? Just looking for the best place to start.
In my website I have two files home.aspx and tab.aspx with code behind files home.aspx.cs and tab.aspx.cs. I have a table variable in tab.aspx.cs which needs to be sent to home.aspx.cs when I click a button on home.aspx.
m building a web-page in that theres a tag which holds some documentary data, so i want to print that specific data and not the whole page i.e banner, textfeilds etc... since i know window.print() function prints the whole page, but how to print a sepicific area in a page.
I am trying to get my head around the sharp architecture and used the visual studio template as described on the web:[URL] This is all cool. Unfortunately, I cannot add a strongly typed view as easily as I am used to 'under' asp.net mvc.
What can I do to 'enable' this in VS 2008 Prof? I have also installed asp.net mvc 2.0 and would like to reflect this in my 'vs studio sharp environment'.
When I am building my typing tutor application the errors user made I want to show it in RED into his textbox. I created a LIST to have the index values stored but cannot figure it out how to retieve it and make them display as RED COLOR in UserTexbox.