13,153 Topics

Member Avatar for
Member Avatar for bshyama24@gmail

Hi All, as per as I know dataset can do the work of datareader.Only the difference in connected and disconnected architecture.But Is there any area where we have to use only datareader without dataset?

Member Avatar for dnanetwork
0
106
Member Avatar for mdwhite76

Greetings, I'm attempting to configure iis 5.x to work well with ASP/NET so that I can host my own webserver. I've googled the issue and saw recommendations for running the aspnet_regiis.exe -1 command in dos. I ran that command and t returned the following error message: Setup has detected some …

0
53
Member Avatar for Donish

Hi! I have a problem. I cannot update the row in GridView control. [CODE=asp.net ] <asp:Label ID="Label1" runat="server" Text="Username: "></asp:Label><asp:TextBox ID="unTextBox" runat="server"></asp:TextBox><%--<asp:RequiredFieldValidator ID="usernameRequiredFieldValidator" runat="server" ErrorMessage="*" ControlToValidate="unTextBox"></asp:RequiredFieldValidator>--%><asp:Button ID="unSearchButton" runat="server" Text="Search"/><br /><br /> <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="MySqlDataSource" CellPadding="4" ForeColor="#333333" Font-Size="Small"> <Columns> <asp:CommandField ShowEditButton="True" /> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" ReadOnly="true" …

Member Avatar for dnanetwork
0
180
Member Avatar for bshyama24@gmail

Hi, I am using [B]file upload[/B] control in .net. But I want , the user only able to upload doc, docx and pdf file.How do I make it possible?

Member Avatar for dnanetwork
0
88
Member Avatar for shankbond

Hi, I am a bit confused with sessions, I have read somewhere that session values get destroyed after the session is expired ; to test that i created two web forms each generating session values on page load, also i capture browser session id by: session.sessionid(); I am using mozilla …

Member Avatar for dnanetwork
0
80
Member Avatar for .netidiot

[CODE]// set up connection to the database myConnection = new System.Data.SqlClient.SqlConnection(); myConnection.ConnectionString = "Data Source=.\\SQLEXPRESS;AttachDbFilename=C:\\Users\\Craig\\Desktop\\Project\\App_Data\\ASPNETDB.MDF;Integrated Security=True;User Instance=True;";[/CODE] Hi this is my above connection string which works fine on my personal computer. I need to move the entrive Project folder to a different location which will not have access to the …

Member Avatar for dnanetwork
-1
168
Member Avatar for cVz

Hi , I need to create a page that has databound controls . eg. Say i have a row with the following columns 1. TrackKey VARCHAR(50) 2. State VARCHAR(50) 3. Reason VARCHAR(50) 4. DateChanged DATETIME ------------------------------------------------------------ Now for each row in the table, the controls should be like this 1. …

Member Avatar for dnanetwork
0
123
Member Avatar for Batool.Ahmed

Hi, In my DB I have 2 tables Units and Groups In Units I have Id Name In Groups I have Id Name UnitID This is my code [code] BMDataClassesDataContext db = new BMDataClassesDataContext(); TreeNode rootNode = new TreeNode("BM"); var n1 = from node in db.Units select node; foreach (var …

Member Avatar for dnanetwork
0
90
Member Avatar for coollife

[INDENT][ICODE] <asp:PlaceHolder ID="PlaceHolder1" runat="server" Visible="False"> <span class="label">Product Code : </span> 340, 472, 491, W340, W491<br/> <span class="label">Size : </span> 38.1cm-15in, 40.6cm-16in, 48.3cm-19in<br/> <span class="label">Suitability : </span> TOPS<br/> </asp:PlaceHolder>[/ICODE][/INDENT] I have an imagebutton on aspx page . on mouse over of that i want it the placeholder to popup and it …

Member Avatar for dnanetwork
0
79
Member Avatar for coollife

I have sqltable which has two fields category_id category_name 1 india 2 africa 3 china In front end i have 2 text boxes categoryid category name But the category id field is read only , i mean i am automatically incrementing it by one. Then i am displaying the data …

Member Avatar for carobee
0
114
Member Avatar for csy

I got a set .net c++ 2003 source code, I need to call some of the functions from it in c# 2005, how can I do? I heard that .net c++ 2003 is managed code it can directly communicated with c#, but I dont know how to do, is need …

Member Avatar for kvprajapati
0
52
Member Avatar for Ouais

How are these new URLs such as mail.yahoo.com or groups.google.com made? is it some sort of URL rewriting? or ?? any help about how to make such a thing or a tleast a guide towards it is appreciated. Thanks in advance.

Member Avatar for Aravind.pk
0
335
Member Avatar for weblover

hi all ...i'am having a problem ..i'm working on an asp.net & silverlight project ....but the data base contain the (unique identifier) type ..and i don't know how to handles this type ...and also i can't add data to my data base coz this type is giving me alot of …

Member Avatar for sknake
0
97
Member Avatar for q8_dreamy
Member Avatar for t2009

Information is needed as to how create an event on THE child user control. So, that the Parent user control can display the necessary data when the event is being used. Thanks,

Member Avatar for kvprajapati
0
88
Member Avatar for atplerry

Pls i need help on how to create an advert dialog that will popup and the dialog box will contain the advert information and button to view advert details Or to skip the advert. Or any other way to achieve the task. I will really appreciate your respond to this …

Member Avatar for kvprajapati
0
88
Member Avatar for k.vijayakumar

[code]Protected Sub Application_PreRequestHandlerExecute(ByVal sender As Object, ByVal e As EventArgs) If Session("LoginName") <> "" Then Dim strCacheKey As String = Session("UserDetails").ToString() Dim strUser As String = HttpContext.Current.Cache(strCacheKey).ToString() End If End Sub[/code] i used this in global.asax and [code]If Not IsPostBack Then Dim strConCat As String = txtLoginName.Text 'TxtUserName.Text + TxtPassword.Text …

Member Avatar for kvprajapati
-1
101
Member Avatar for daytonasteve

First post for me, hope this is right place rather than c# I have a form. When it is completed, it redirects the user to a thank you page. <%@ Page Language="C#" masterpagefile="../../../msrtpage/hra2.master" title="Sign Up Here" %> <asp:Content id="Content1" runat="Server" contentplaceholderid="hra1"> <script runat="server"> protected void FormView1_ItemInserted(object sender, FormViewInsertedEventArgs e) { …

Member Avatar for Ramesh S
0
117
Member Avatar for jimib

I am new to asp.net though not to asp. I want to display two gridboxes, the first with master records and the second with child records linked to the master table id. The idea is to change the child records when the parent record is selected, or ideally, when the …

Member Avatar for jimib
0
129
Member Avatar for 9820Lakeforest

Hello, I am a beginner to ASP.NET. I need some directions for this task. Information about task: Phase 1 : Assume Server whose health to monitor is GEMINI. Create two unattended (non UI) Windows Services (or Windows exe) written in C#. Every specific “duration” the windows services will be invoked.Use …

Member Avatar for 9820Lakeforest
0
407
Member Avatar for penguin22

Hi I am creating an installer and want the .net framework dependency to install silently any help appreciated

Member Avatar for serkan sendur
0
505
Member Avatar for Waseem Siddiqui

I have made a login form in C#.net windows application i am facing a problem during connecting it to the database SQL Server 2005 it is sending [B]error 25[/B] it will be helpful for me if somebody solve this problem if will be better if somebody send me coding also

Member Avatar for DdoubleD
0
221
Member Avatar for t2009
Member Avatar for meghagoel

I need a text editor same as used in this site in the [B]Message[/B] section of [B]Post new Thread[/B]. Actually i want to convert my text area control to text editor .If anyone knows please help me

Member Avatar for Mohit_Agarwal
0
57
Member Avatar for Mohit_Agarwal

Hi All, I m having a gridview with the sort functionality everything is working fine in sort but sometimes it is crashing IE browser. It is working in firefox but crashing the All version of IE.. Plz help... Index.aspx page code [code] <asp:GridView id="dgShoppingIdeas" runat="server" AutoGenerateColumns="False" OnRowDataBound="dgShoppingIdeas_RowDataBound" CaptionAlign="Left" GridLines="None" CellPadding="4" …

0
42
Member Avatar for vytla

hi every one i am using calendar control i am trying to display the selected day events in panel for this the code written below the calendar event not getting raised [code=C#] protected void Calendar1_SelectionChanged(object sender, EventArgs e) { ContentManagement.ContentManagementSoap contentManagementService = new ContentManagement.ContentManagementSoapClient(); GetAllEventsByTypeRequest request = new GetAllEventsByTypeRequest(); request.Body …

0
79
Member Avatar for chathuD

how to add datas from a web page to a data base using C# in asp.net (a symple mathod)

Member Avatar for sknake
0
171
Member Avatar for Dreammessenger

can any body plz tell me how to access data from sql server 2005, i have created sql database table , but i dont know how to connect, and how to get date in to a text box ,i m using asp.net with C# , and i want to know …

Member Avatar for vuyiswamb
0
104
Member Avatar for manoj_582033

Hello sir HTTP Error 500.23 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. This application defines configuration in the system.web/httpHandlers section. From MAnoj

Member Avatar for Ramesh S
0
102
Member Avatar for palash_kol

I have designed a masterpage in asp.net. There is a dropdown list in my asp.net form which select that masterpage. But each time when I select an item from the dropdownlist the entire page gets refreshed. I want a javasript code to block the refresh of dropdownlist item selection and …

0
56

The End.