13,153 Topics
![]() | |
Hi All, I am using Three tier application in my project (having Presentation, Business and Datalayer). I want to know what kind of Design pattern is Three tier approach? Thanks | |
I have a stored procedure that I am using through LINQ to SQL as a data source for a gridview. Rather than editing my stored procedure is there a way to use Linq to search the result set? [code] Dim DC As New DistributionDataContext GridView1.DataSource = (DC.usp_GetInvestorData(GridView1.PageIndex, GridView1.PageSize, "InvestorName", Session("sort"))) … | |
Hi Please let me know how to scroll text inside a textbox or lable. i am using .net framework2.0, i need it in Asp.net c#. | |
Hello everyone! I wanna know If how will I get the values from the selected checkboxes of my datagridview, the values of the textboxes on the right and how will i put the selected values in a Session? thanks in advance! heres the pic of my project. [url]http://i53.tinypic.com/2cz7z2o.jpg[/url] | |
[code] var q = from nar in db.Narackis where nar.datum == TextBox1.Text select new { nar.ID, nar.sifra, nar.kolicina, nar.naziv }; [/code] Error Message: Error 4 Operator '==' cannot be applied to operands of type 'method group' and 'string' C:\Users\Dragan\Desktop\MegaKameriWebApp\prodavnici\Naracka.aspx.cs 20 47 C:\...\MegaKameriWebApp\ I've tried both nar.datum.toshortdatestring and nar.datum.tolongdatestring and neither … | |
hi friends iam kiran i have a doubt in javascript. In asp.net we have a flushing concept.it works fine. But i want that same flushing concept in javascript. Exact Requirement: From my database i got 1000 records to javascript function. then here i am open one js window and iam … | |
Morning/Afternoon/Evening... Been up now for about 7 hours trying to figure this out and been googling too much... Trying to basically Connect to my active directory server on the FYP.Com Domain ip address 10.10.10.1 and pull of a lise of uses within the Users OU. Tried playing around with the … | |
hi! In php we use this [CODE]<a href="hello.php?a=1&b=2">hello</a>[/CODE] so that when we click, the $_get will catch the value of a and b. If i used asp.net what is the code to link for it?. I need your help, I'm new in using asp.net. | |
Hi, The website that I have been working on for sometime is about to be deployed now. However, after deployment the reports are not opening in one of the two machines that I have deployed. All other pages seem to be working fine except reports not opening with the error … | |
Hello all, I’m a bit weird because just 2 days ago I had an interview for a .NET developer post .They promised to call me last day but they didn’t so I just want to confirm few answers given by my side. Please review them and let me hear your … | |
hello friends if anyone know that is it possible to more than one crystalreports call on same form in asp.net?then how? | |
Dear Friends, I am developing such a website where i have uploaded the ringtones for mobile phones, and i need to know that how can i play the ringtone in the [B]Asp .net C# pag[/B]e. before download user can [B]listen[/B] the ringtone and same action can done with Videos. Please … | |
Hi all.. i'm working with asp.net c#.. i want to make a chart that can retrieve the data from the database.. i found one website that tell the way to make it but i dont understand the query used.. this the the link [URL="http://www.dotnetcurry.com/ShowArticle.aspx?ID=238"]http://www.dotnetcurry.com/ShowArticle.aspx?ID=238[/URL] and the query is [CODE]SELECT CategoryName, … | |
Hi, I am doing a web based chattebot system and my problems are these. I need to get a particular user question and check for some specific keywords in it(for example take the nouns) and find for synonyms and well as do the spell check? Therefore What is the best … | |
How to integrate asp.net application using iDEAL lite payment? Can anyone help me? | |
hello friends any one help 4 this... m new in asp.net and in asp.net, when i add New item (report file .rpt) i am not getting its .cs file and i am not able to create instance of it and i get an error on the first time button(report show)'s … | |
Hello...... i want to select from the drop down list ID then all information connecting to the ID will appear in the report , i wrote this SQL statement but only information related to the first ID appear each time when i select different ID from the drop down list … | |
i have two tabels in my database. The first is called 'Products'(consisting of the product's id and the name of the product) and the second one is called 'Orders'. Is it possible, and if yes please gimme the name of that property so I can google it up, when a … | |
Hi, I am coding the loginpage, i want know how to code 1.) To check whether the User entered username,pwd matches with any of the rows of database data, if it is so it should navigate to next page like inbox.aspx. As i am new to Asp.net, please help me … | |
Hi, I have an objectdatasource as shown: [CODE] <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetProducts" TypeName="ProductsDALTableAdapters.ProductsDTTableAdapter" MaximumRowsParameterName=""> <SelectParameters> <asp:QueryStringParameter DefaultValue="" Name="Param2" QueryStringField="ID" Type="Int32" /> <asp:Parameter DefaultValue="???" Name="Param1" Type="String" /> </SelectParameters> </asp:ObjectDataSource> [/CODE] This returns products that include (in a particular field) what is placed instead of ??? with the exception of the … | |
This is in class file Imports Microsoft.VisualBasic Imports System.IO Imports System.Collections.Generic Public Class FileSrch '' File Search Options Public Enum FileSearchOptions YearFirst MonthFirst DateinExtension NormalFiles End Enum Public Shared Function GetSearchcriteria(ByVal DatetoSearchwith As Date, ByVal Filename As String, ByVal FileExtension As String, ByVal SearchOptions As FileSearchOptions) Select Case SearchOptions Case … | |
[CODE]Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim conn As New SqlConnection Dim cmd As SqlCommand Dim dp As New SqlDataAdapter Dim ds As New DataSet Dim i As Integer Dim str As String = "UPDATE aspnet_Membership SET aspnet_Membership.Email='" & Email.Text & "' WHERE UserId='" … | |
Hai i need a coding for Login and its validation in asp.net using vb.net.. Am currently using SQL Server Express Edition 2005 software as my backend... | |
[CODE]<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <a href ="default.aspx">Back </a> … | |
I am using ASPNETDB.mdf database (default database) in my application . to create a user i am using CreateUerWizard .i want to costomize and want to add new field-"Contact No" in it . how can i store contact no in database? i m working in vb.net with visual stdio 2008 … | |
Hi see this for update progess bar. Script [code] <script type="text/javascript"> Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequest); Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(initRequest); function initRequest(sender, args) { var pop = $find("test"); pop.show(); } function endRequest(sender, args) { var pop = $find("test"); pop.hide(); } </<script> <ajaxtoolkit:ModalPopupExtender ID="mdlPopup" BehaviorID="test" runat="server" TargetControlID="UpdateProgress1" PopupControlID="UpdateProgress1" BackgroundCssClass="popUpStyle1" DropShadow="true" /> <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="up1"> <ProgressTemplate> <asp:Panel ID="pnlPopup" … | |
I have to conduct a IT project for my next semester(4th year).I already have done a web based project in my 2ND year(using Asp.net C#). But it is not much complex. I heard 4th year project is more complex then 2ND year. therefor i want to advice to find a … | |
Hi can anyone pls tell me how to add notes in source code in Visual Studio 2010? I only want the notes to be viewed in source code view, not design view! I tried //notes here 'notes here but they all ended up showing in the design view, HELP PLS! | |
Hello has anybody come across a similar control to this one. [URL="http://img138.imageshack.us/img138/875/23102010172021.png"]http://img138.imageshack.us/img138/875/23102010172021.png[/URL] if so then please give me a link. thank a lot edit : found this one [url]http://www.filebuzz.com/fileinfo/38822/Angulum.html[/url] any better suggs are welcome though :D | |
Hi there! What i want to do is something similar to this: [URL="http://sig.cm-olb.pt/develop.aspx?Layer=Cemit%C3%A9rio&Field=n_sepultur"]http://sig.cm-olb.pt/develop.aspx?Layer=Cemit%C3%A9rio&Field=n_sepultur[/URL] (Zoom, Drag, info, etc) Whats the best way to do it? Is there any component to help me? Thanks | |
Hi Everyone I have two aspx pages that updates two values in a database. I have an update button called Button1. Button1 in the first page redirects to the second aspx page. On the second page i want to select a value and then redirect to the first page. How … | |
I created an application in .net that emails a person using mapi and outlook 2000. It works fine on pc that has outlook 2000 sp1, but doesn't work on pc that has outlook 2000 no sp. Outlook 2000 puts the recipaddress in quotes. Does anyone know how I stop Outlook … | |
i have taken one mster page in my project. in that one image is there, that image is not displayed in other pages which are related to that master page. i have tried to change image extension also but it didnt work. | |
hi, please help me to apply style to fileupload control in asp.net. can i change style? thanks jack | |
[code] string s = TextBox1.Text; string[] s1 = s.Split(new char[] { "&" }); Console.WriteLine(s1[0]); Console.WriteLine(s1[1]); [/code] above code giving me error as 'Cannot implicitly convert type 'string' to 'char' ' pls give me solition. | |
Hello, Can anyone please help me with the Image Reflection. I want to put use some or group of images/icons in WPF App. I want their reflection as well. I am using Border opasitymask for each image but I think that is not the right way to code. I want … | |
plz help in creating tabs at run time in asp.net c# | |
[CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Dim userName As String = Request.QueryString("Name") 'MsgBox(userName) Session("id") = Session("id") Dim userName As String = User.Identity.Name Dim usr As MembershipUser = Membership.GetUser(userName) 'Email.Text = usr.Email Email.Text = usr.Email ConfirmEmail.Text = usr.Email MsgBox("jhjkh") ' ConfirmEmail.Text = usr.Email End Sub … | |
I have an ASP.NET application that runs one way when I run it within Visual Studio 2010 (the way it should), but when I publish it onto the web server and run it there, it runs differently. I have reset IIS (iisreset), shutdown and restarted the web site, deleted the … | |
I am creating a asp.net master page with a menu (asp:Menu) that is populated from a web.sitemap. My client wants the format of the page to meet his already existing html pages. I'm trying to manipulate the borders surrounding the menu items. So far, all I've found is the ability … | |
Where should I keep connection object to database like ISession or SQLConnection? What's the best solution and why ? Is it Application, Session or Items ? | |
[CODE]using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { string connectionString; connectionString =("Data Source=INTRANETSERVER1;User ID=sa;Initial Catalog=HrData"); SqlConnection myConnection = new SqlConnection(connectionString); SqlDataAdapter … | |
hi all I m making one web aplication in that i want to Programmeticaly set DPI parameters and scan the document with no save facility to user. pls help. | |
Dear All, I am opening the excel file to create the object of that excel file using 'Microsoft.Office.Interop.Excel'. It is working fine with file system and local iis server on windows xp operating system. But when running the same code on windows 2003 operating sytem on local iis pagerequest time … | |
hi.... i've created one ssrs report it works good im my system.. i.e http://localhost/reportserver$sqlexpress but how should i execute in different system... if i enter the system name then it is showing page cannot be displayed.. i.e http://sys1/reportserver$sqlexspress (page cannot be found) please help me.. | |
Hello friends, I wrote a simple class for string validation and now I want to share with you. The class contains: - Constructor(s) public Validator() public Validator(string text) - Properties private string strText = string.Empty; - Method(s) public bool isNullOrEmpty() public bool isNullOrEmpty(string str) public bool isLengthMax(int maxLength) public bool … | |
Hi, I have a listbox that is bound to a textblock as target and also has an xml file as source. My problem now is the correct syntax for inserting another listbox in between the listbox and the xml file. My code is shown below... <Window x:Class="newTestApp.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" … | |
I have web project and window project.Web project reference from window project and I want to debug from web project to source code in window project. Where do I setup to look for debug source code in window project. I copied all source code from another computer. but on another … | |
Hi everyone, [I]The error:[/I] It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. [I]what I'm doing:[/I] I need to enable forms authentication for only one of my pages. … |
The End.