How can I find out the current row in datagrid?

Hi There

I have a datagrid with a textbox control in column 2 which is set to autopostback=true.

I have linked the OnTextChanged event to a sub in the vb code but I cannot determine which row the textbox event was triggered from!

My sub looks like this :

Public Sub tbAddExtension_Text_Changed(ByVal sender As Object, ByVal e As System.EventArgs)
'get the row number (corresponds to year number)

End Sub

I thought the row index would be sent here as either 'sender' or 'e' but I cannot get the syntax right!

Does anyone know how to do this

Posted On: Wednesday 2nd of January 2013 01:09:12 AM Total Views:  655
View Complete with Replies

Related Messages:

Some data retrieval advice needed!!   (311 Views)
Hi all,i am creating a page that depending on the viewType shows information about a particular venue, for instance, the query string:http://mypage/venue.aspxviewType=Facilitieswould only show the facilities section. Now, i need some help deciding the best way to tackle this, do i:A) pull all the data from the database and then pull what i need from the database, might be a bit trickier to code.B) pull the data from the database on demand, using a case statement to tell the page what to get from the database and what to display on the page Can someone please give me some advice
Can you TRIGGER the click event of a button or CheckBox in ASP.Net?   (341 Views)
Public Sub chkMy_Click(byval sender as System.Object, byVal e as System.EventArgs)...End subWorks okay when I am on the form and I click the checkbox.However .. when I am elsewhere on the same form in code, how can I trigger this event since I need to run the code in it. I do not want to cretae a separate procedure and copy the whole code into it and call that instead. Is it possible to trigger the click event in ASP.Net as in Windows
URGENT! Major problem with ASP.NET   (255 Views)
We have just run into a great deal of trouble attempting to get ASP.NET (v1.1.4322) running .NET apps on our Win 2003 Server. No matter what we have tried to do we keep getting the message:"Server cannot access application directory"The exact message is detailed here:;en-us...Know, we have tried:i) Setting, resetting, checking, rechecking the permissions for the \ASPNET user. seems to be working fine.ii) Reconfiguring the ASPNET mappings using the aspnet_regiis.exe program.iii) Removed Sharepoint (I had read that this can make a mess of ASP.NET)iv) Used owsadm from the web server extension folder of common files.Does anyone have any ideas as to how we can fix this, preferably without having to mess around with IIS too much... down-time hurts :
Question about the Visual Studio .Net   (244 Views)
Hi all,I have created a form with textfields, buttons and gridtables using Visual Studio .Net. I have compiled the project and every thing is working fine (include code behide of course). My question is what should I put into my server to make it works and can the client see exactly what I see on my browser when I compiled the project Example like i have the URL, if I want to link to the form that I've just created should it be Practically, create the project in Visual Studio .net and reality how can we post it online....
Graphics / Drawing in   (374 Views)
I am just starting to look into drawing graphics with I have found an example that shows how to draw graphics and send them straight to the printer, using something like this:Sub pd_PrintPage(sender As object, ev As PrintPageEventArgs) Dim f As Font = new Font("Verdana", 9) ev.Graphics.Drawstring("hello",f,Brushes.Black,480,65)End SubI'm probably missing something really obvious but how do I draw a string, line or rectangle straight to my screen the examples I have seen have a sub with ev As PrintPageEventArgs which i can then only use when printing. Can anyone point me in the right directio
Encryption - Login and Password   (245 Views)
I am calling an ASP application from my ASP.NET application - located on different servers.In the call I am passing the "Login" and "Password".If one of the serevers is down - The error page also lists the "login" and "Password" in the error message.Is there a good encryption and decryption method I can use to prevent thi
Unable to open Web Project   (231 Views)
I am trying to open a sample .vbproj file. The file has references to a URL which, I have not yet created - since I do not know what the settings are. Questions are:1. Everytime I open up a web project, do I first have to create the URL2. Can I make a setting for the IDE to create the web project everytime I open a new web project.3. As shown in the error message below, how do I create a Virtual directory for 'http://Localhost:/Controls' as there is a colon in the middle.The error message is: Unable to oen Web project 'Controls'. The file path 'C:\...\controls' does not correspond to the URL 'http://Localhost:/Controls'. The two need to map to the same server location
.ttx files on Crystal Report for ASP .Net   (297 Views)
hi. would you know the different data types used to create a .ttx file for crystal reports i made one with one field of type numeric but when i tried to create a total field from this field, i dont get the deed result. it seems that my field is being treated as a string and not as a numeric field. what am i missing here would you give me the complete data types list
Using DataGrid/drop down list combination...   (443 Views)
Is is possible to have the hyperlink column on a datagrid redirect to a page based on a selection from a drop down list For example, when user clicks on hyperlink in Grid, there are 3 possibilities for redirecting to the next aspx page -- based on the user's selection from a drop down box.Also, as an aside, NetScape isn't reading the "height" of an aspx textbox so is hampering development for both Explorer and Netscape, any ideas here
Why use a OledbCommandBuilder Object?   (396 Views)
I have been playing with a test program and am confused as to why I would use an OledbCommandBuilder object. The book says that it is handy as it looks at the SelectCommand property you give it and it creates the appropriate commands from it. But when I use it in my example, there is no difference. I end up creating an object(including the overhead involved)that doesn't seem necessary.CODESub GetAd(AdNumSent As Integer)SelectStatement = "Select * From Ads Where AdNum=" & _ AdNumSentConnectString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\inetpub\wwwroot\simplyClassy\classydb.mdb"Connect.ConnectionString = ConnectStringAdapter.SelectCommand = _ new OleDbCommand(SelectStatement, Connect)' ClassyCB = New OleDbCommandBuilder(Adapter)Adapter.SelectCommand.Connection.OpenAdapter.Fill(ClassyDS,"Ads")End SubI can switch the comment and it will still work:CODEClassyCB = New OleDbCommandBuilder(Adapter)'Adapter.SelectCommand.Connection.OpenI don't see the use for this (at least in this context).Tom. 4 trying to create a hyperlink in code behind   (364 Views)
You need to set the "Text" property to something. The hyperlink is being created and rendered to the page. You are not seeing it because it is rendering this:
CreateUserWizard validation problem   (337 Views)
I'm new to this control and decided to try and use it for creating new user accounts for a site. Its seems like a pretty cool control and I read some articles on customizing it and have customized it a little bit.My issue is this:The user goes to the site and when the page loads originally this control and most other controls have thier visible property set to false so they are all hidden. The user can then press an image button that sets the visible property of the CreateUserWizard to true, and this works great. The problem is if the user presses any other button the CreateUserWizard tries to validate the text boxes in the control instead of doing what the buttons actually are supposed to do. I even created a button that is supposed to run a sub that sets the CreateUserWizard visible property to false and that doesn't work either. If I press that button the CreateUserWizard just keeps trying to validate its text boxes.Its like its trying to validate on a postback or something. I'm new to using this control so maybe I'm not doing something right. Is there some sort of postback property on the CreateUserWizard control that i need to set to keep it from trying to validate unless I press the create user button
web developer error   (688 Views)
i have a webpage with an update button at the bottom that saves all the information from the page's text boxes. I have a checkbox at the bottom of this same page that the user checks when they are done with the page. So when the UPDATE button is clicked, i want to run a few if statements. Basically i want to know if it is possible to run scripts BEFORE any of the Update panel stuff The main error im getting is in the VB code. if the checkbox name is done1 i try to type something like:IF done1 = true but it always tells me that done1 is not declared. can anyone help
customvalidator... or?   (191 Views)
HiI have a page with severeal dropdown lists that get values from a database, and I also add a "select option" to every dropdown list. I would then like to check each dropdown list, so that the user select anything else than the first option "select option". How can I check thi
Adding a Conditional Statement in the Markup   (321 Views)
I'm sure this is simple, but can someone tell me how to do a conditional in the mark-up of the ASP.Net pageExample (Beware psuedo code):
ASP.NET 2.0 - Menu control and dynamic SiteMap   (345 Views)
,I want to create 2 XML based web.sitemap items to populate a single menu on a single master page. There are two types of userse: Admins and End Users.I'm hoping that based on security I can toggle between the two.Outside of using a database, can this be done via VB.NET code within a preload even
Storing dataset in a cache object.   (224 Views)
I want to store a dataset in a cache object. I want to know how to refresh the dataset when the records in the dataset is updated or records in the database is updated by some user. What kind of dependency should i set between the dataset and the cache object.Please suggest
Removing an Image from Server   (304 Views)
all!Was wondering if anybody could help me with this problem. I have managed to implement my image upload feature, offering a user the ability to replace their profile image.The only problem is that all of the old images still remain on the server and worse still if a user wishes to change back to the image they were using previously then an entirely new file is uploaded with a different name.The tutorial that I have used to perform the uploads is at: anybody help me add to this script to include functionality to remove an image before a new one is uploaded
security problem with a FileUpload   (325 Views)
Here is my very simple program :Code behind :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.IO;public partial class _Default : System.Web.UI.Page {protected void Page_Load(object sender, EventArgs e){DirectoryInfo theFolder = new DirectoryInfo(@"C:\temp\Server_Attachments\6");string Attachment = "";foreach (FileInfo nextFile in theFolder.GetFiles()){Attachment += "" + nextFile.ToString() + "";div1.InnerHtml = Attachment;}}protected void Attach_File(object sender, EventArgs e){FileUpload1.SaveAs(@"C:\Server_Attachments\6");}} HTML : Neither the hyperlinks, neither the upload are working :(- when I am clicking on the hyperlinks nothing is happening (although "Save target as" is working).- when I am trying to upload, I have got the error "Access to the path 'C:\Server_Attachments\6' is denied."On the server :It is obviously a security issue. I have checked which account was running the program and it is NETWORK SERVICE.On my laptop :I have run my program on my laptop and still got the same error. It means that with the "pseudo" web server enhanced in VS2005, the same problem occurs ("Access to the path X is denied").I have used System.Security.Principal.WindowsIdentity.GetCurrent().Name to check who was running the program and it is me. I have got administrator's rights on my workstation. I can copy a file in this folder on my own but not via ASP.NET.Any idea how to fix this problem (options in Visual Studio
Writing a software manual   (655 Views)
HiI am close to finishing my first software project and I need to write a software manul.As this is my first project, I dont know how to write a software manul.Is there any good example on the net that I can follow to write my manulKind regards
Datagrid: Multiple Rows Per Dataset Row   (602 Views)
If a row of data in a dataset has a lot of columns the row displaying thedata in a datagrid will run way off the screen. What I'd like to do isdisplay a row of data over two datagrid rows so the user doesn't have toscroll horizontally. Essentially, I want to wrap a datagrid row (not text inindividual columns) with as much control as possible. For example, 10 columns on the first row and then 3 columns on the second row for the same physical record in the dataset.Is this possible Or is a datalist the only straightforward way to do thi
Browsing to page and extracting HTML   (580 Views)
I have the needed to send an email containing information that is contained on a another page in our application. I figured there was a way to fairly easily just navigate to the page and then scrape the html. I've done that in VB6 with the Internet Control. What is the best way to do that in ASP.NET
How can I get bgcolor='transparent' to work in netscape?   (654 Views)
Hi ,I have a control with a transparent background color, which netscape is showing incorrectly (the background color shows up as blue). Is there any way to make the transparent background color to work in netscapeI'm doing the testing in Netscape 7.2
Request object   (412 Views)
How do you get hold of the complete http message I want to write back to the browser what is being sent. Jon"I don't regret this, but I both rue and lament it."
Best way to do this?   (490 Views)
I have several dropdowns on a page that are populated dynamically. They're going to need to lose a value every time one of the other ones has a value selected (they all have the same list of numbers, but when one is chosen in one ddl, it needs to disappear from the rest). I'd like to do this on the client side, to avoid postbacks, but I'm not sure how to go about it. I have a script I use for populating other ddls based on the actions of one, but I can't figure out how to have it read the data in the ddls & edit it appropriately, since the controls are in a repeater & will have those lovely client IDs.Am I looking for something that can't be don
MultiSelect Dropdown   (389 Views)
Guys,Can anyone point me a link or provide sample code that creates a multiselect dropdown list.I dont want to put a list box instead becasue of the space restrictions.I did google for sometime and could only find this control at it is not free
Improving HTML performance of DataGrids   (658 Views)
I'm looking for ways to improve the HTML performance of ASP.NET webpages using scrollable DataGrids... The larger the datagrid, the longer it takes for the webpage to display with the grid. That blank white page displaying for a few seconds between displays of the webpages can be annoying. Supposedly if I were able to remove as much whitespace between HTML tags as possible and use as few HTML & web controls as possible, the performance should improve somewhat, so I've heard. Does anyone know of a way or DataGrid etc properties to force the HTML code auto-generated by the datagrid to do thisExample of auto-generated HTML of a datagrid: table data 1 table data 2 table data 3 table data 4 change totable data 1table data 2 table data 3table data 4 Any ideas would be appreciated - changing from a scrollable grid to a page-number grid or forcing a small amount of data to show on the datagrid are not really options that I'd want though.
Logical Tiers and DataReaders   (202 Views)
Ok let me explain what I'm doing (or trying to do).I'm not a system architect so please forgive me if I have the concepts or terminology wrong.I have an n-tier app. It consists of the presentation layer, the business logic layer, the data access layer, and the database.In the database I'm using stored procedures. The database physically sits on a different server from everything else.I have a different assembly (the data access layer) that handles all calls to the db.The code behind files for the aspx pages contain calls to methods within the data access layer to retrieve data for display, etc.Now ... I'm passing data from the DAL in a datareader to the code behind files. Is this the best thing to do I understand that its better to use a dataset when passing data between tiers because it handles marshaling better. Is that a factor when its just logical tiers Also with inter-tier communication the whole chatty / chunky call deal doesn't really apply does it That only becomes an issue when passing data between physical tiersAm I correct or wackoPlease advise
dialog box   (415 Views)
is there a way to make a dialog box appear using (written using c# and vs2k3) failing that, any ideas how to hash something together that is a bit dialogy ____________________________________________________If you like a post, show you care by giving it a .
how to make a secure login validation...   (303 Views)
Im new to and need whatever you tips and suggestions I can get. Heres a program that I would like to make but I dont know where to begin. I would like to make a program to keep all the username and password in some kind of secure database and use that to validate if they are an authorized user or not.Heres my scenerio,I would have a regular login screen with a username text and password textbox. When users submit their username and password, I would like asp to take their username, password, and look them up in the database to see if it matches. If it does, then the user will be directed to a member page. However, if the username and password doesn't exist in the database, it will direct the user to a, "sign up to be a member page." I have other questions regarding the sign up page but Ill keep it short for now.Thankx you all in advance.
Can I get the user login from my Intranet site?   (243 Views)
I have been using server variables to get my user's login to our intranet site. Now I want to drop the security inside the building and use their windows sign on to authen. them.Now how do I get the logged in user
search word documents   (367 Views)
any idea on something to search through a virtual directory of word (and some excel, but not necessary to search) documents i'd also rather not use ms index server.i'm creating an online document management system, and i would rather not keep an index of keywords for each document in the database. i'd like to be able to point to a directory and tell it to search through the word documents for a phrase.any suggestions would be much appreciated! mike
Serious ASP.NET debugging problem   (276 Views)
I have a problem that is really getting on my nerve! I have IIS on 2000 professional..I have ASP.NET..VS.NET.. I have 2 accounts on the computer..Administrator and User1 from Domain Dmn1.. When I log on as Admin I can create a project and debug it smoothly. when I log on as Dmn1/User1 I can create an ASP application but CAN NOT debug it!!!!!!!! says "Can not start debugging on server... Access is denied" well DMn1/User1 IS A MEMBER OF VS developers group and DEBUGGER USERS group!!! also has FULL control on C:\InetPub...what else should I check ... I really need help!!.. more thing to mention...when I add Dmn1/User1 to Administrators group everything works fine!..BUT I DONT WANT TO DO THAT!!!..
Formating spreadsheet on the fly   (245 Views)
I am trying to format a excel spreadsheet on the fly. The data is written to it using a streamwriter. I tried formatting the streamwriter but i can't do much with it. I need to add the header bold, with background color and grid lines to the cells.Can anyone please help me with itMy code:#region "Excel Methods" private void ExportGridViewToCSV(DataTable dt, string fileName) { string path = HttpContext.Current.Server.MapPath(fileName); StreamWriter sw = new StreamWriter(path, false); // Write the headers. for (int i = 0; i < dt.Columns.Count; i++) { sw.Write("\"" + dt.Columns[i] + "\""); if (i < dt.Columns.Count - 1) sw.Write(","); } sw.WriteLine(); // Write the content. foreach (DataRow row in dt.Rows) { for (int j = 0; j < dt.Columns.Count; j++) { if (row[j].ToString().Trim() == " ") { sw.Write("\"" + "" + "\""); } else { sw.Write("\"" + row[j].ToString().Trim() + "\""); } if (j < dt.Columns.Count - 1) sw.Write(","); } sw.WriteLine(); } sw.Close(); //var excelFile = new ExcelFile(); //var worksheet = excelFile.Worksheets.Add("Worksheet1"); //ws.Cells[0, 0].Value = DateTime.Now; // Type is System.DateTime //// Some Font Styles //ws.Cells[0, 0].Style.Font.Color = Color.Blue; //ws.Cells[0, 0].Style.Font.Italic = true; //ws.Cells[0, 0].Style.Font.Name = "Comic Sans MS"; //ws.Cells[0, 0].Style.Font.Size = 150; //// Setting border on cell range //var mergedRange = ws.Cells.GetSubrangeAbsolute(0, 0, 10, 5); //var cellStyle = new CellStyle(); //cellStyle.Borders.SetBorders(MultipleBorders.Right | MultipleBorders.Top, Color.Black, LineStyle.Thin); //mergedRange.Style = cellStyle; HttpContext.Current.Response.Clear(); HttpContext.Current.Response.AddHeader("content-disposition", "attachment; filename=" + fileName); HttpContext.Current.Response.ContentType = "text/csv"; HttpContext.Current.Response.WriteFile(path); HttpContext.Current.Response.End(); } #endregion }}
Change CR image with code   (251 Views)
Here's a tricky one. Does anyone have any idea how to change an image on a Crystal Report via codeI have an application that I am building in VS2005 (code behind is vb). I have a report that I want to use code to change the picture based on the recordid. The pictures are stored on a network file.Anybody, somebody, help me please. ProDev, Builders of Affordable Software ApplicationsVisit me at ==> http://www.prodev.usMay God bless you beyond your imagination!!!
GridView   (188 Views)
I've created gridview user control.I fill it with data from xml.Then I load it into default web form to panel, but I don't see it.Why , My code on user control:namespace TxtWeb{ public partial class DataGridES : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { } GridView gridData = new GridView (); public DataSet ds = new DataSet(); public GridView Grid { get { return gridData; } } public void FillGridWithHTML(string xmlFile) { XmlDataDocument xmlDatadoc = new XmlDataDocument(); xmlDatadoc.DataSet.ReadXml(xmlFile); ds = xmlDatadoc.DataSet; } }}My code on Web form:namespace TxtWeb{ public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string xmlFile ="C:\\c#\\TestnaAplk\\TestnaAplk\\Podaci.xml"; DataGridES dg = new DataGridES(); dg.FillGridWithHTML(xmlFile); dg.Grid.DataSource = dg.ds; PanelGrid.Controls.Add(dg); } }} , I tried all that, but I still can't see grid.
CreateUserWizard CreatingUser Issue   (264 Views)
. I'm using ASP.NET 2.0 and I have a page that does user registration. I've had it all working fine for a while until I noticed a couple things that it wasn't checking. It wasn't checking to see if the email entered was a real email (by format) so I had to use a regularexpression validator to do so, which went fine. The other problem though, is checking the password entered to see if it contains the username entered. Thus, I would NOT want someone to register with the following info:Username: BobbyJoePassword: BobbyJoe1 (or bobbyjoe1)So by going into the CreatingUser event, I think I've successfully been able to check for the username being in the password and I can call the e.Cancel = true part of it to stop the registration process from continuing, but I can't figure out how to throw up an error about this. I've tried using a label or something but nothing seems to work. Has anyone else had any similar issues
Retrieve height of datalist when height not initially set?   (478 Views)
I'm trying to dynamically adjust the height of a container div based on the height of a datalist it contains. However, I don't have a default height set for the datalist, the height just flexes based on how many rows are returned. I thought I could just do an body onload statement like this:onload="document.getElementById('detail_div').style.height = document.getElementById('DataList1').height;"but this doesn't return anything. If I explicitly set the height of the DataList, then it works fine. How can I find out the height of my DataList if I don't set it when its created
ControlState Thoughts   (207 Views)
I'm currently using ControlState to pass simple objects between postbacks. Can anyone comment on this approach and some things I might want to considerI don't want to get half way through development and realize that our architecture was a giant flop
using HTA with   (366 Views)
I have to do some coding for another company to send automated emails. They insist that instead of using a console app that I use an web page called from an HTA. I'm not familiar with HTA's and searched fruitlessly to find out something relevant. Can someone point me in the right direction so I can complete this assignment
Programmatically selecting values in a list box   (240 Views)
I've got a list box on a web form which, when loaded, uses data from a text field in a database to determine which values should be selected. When the user presses save, the selections from the list box should be resaved to the text field.This works fine if the user manually selects items from the list box, but if they don't make any changes and the list box shows just the selected items from the loading code then, when the user tries to resave, the selectedindex of the list box is showing as 0, even though the items are highlighted, so resave doesn't work.Here's the code:CODE'Firstly to select values from the list boxIf Not DataReader.GetValue(119) Is DBNull.Value Then 'firstly get the values Dim fullString As String = DataReader.GetValue(119) 'check if there is a comma separator in the string, if not then there's only one 'value, so use that If InStr(fullString, ",") = 0 Then Me.AdditionalEmailList.SelectedValue = fullString 'otherwise we need to get each of the values by looping through the string Else Dim charPosition As Integer Dim listName As String While fullString "" If InStr(fullString, ",") = 0 Then charPosition = fullString.Length Else charPosition = fullString.IndexOf(",") End If listName = Left(fullString, charPosition) fullString = fullString.Remove(0, charPosition) If fullString "" Then fullString = fullString.Remove(0, 1) End If 'now we have a name, make sure that name is selected Dim item As ListItem = Me.AdditionalEmailList.Items.FindByValue(listName) If Not item Is Nothing Then item.Selected = True End If End While End If End If'now to resave the selected values on the list boxDim entryString As String 'get the selected values from the list box and concatenate them into one string 'this is where I get the problem - selectedindex is 0 If Me.AdditionalEmailList.SelectedIndex 0 Then Dim li As ListItem entryString = "" For Each li In Me.AdditionalEmailList.Items If li.Selected = True Then entryString += li.Value + "," End If Next 'now remove the final comma Dim finalChar As Integer = entryString.Length entryString = entryString.Remove(finalChar - 1, 1) End I
Dropdownbox - Tooltips   (168 Views)
I am trying to put a tool tip on a drop downbox. The tooltip property works great in FireFox but not in I.E 6.
Using Assembly src="" in .vb files   (237 Views)
Hi ,Hopefully this is a quickie!A few of the web apps we've built are not compiled, but instead use the directive similar to:in the top of the ASPX page, which relates to a .vb file in the directory with a couple of classes in it. (more code at the bottom) Very handy for anyone making small frequent changes, however I was wondering if anyone knows how you could link two .vb files together before they're using in the aspx page. Eg, we have default.aspx, MyLib.vb and DatabaseLib.vb. I can do in the top of default.aspx so I have the classes/functions of both available in default.aspx, but can I somehow make the functions from DatabaseLib.vb available in MyLib.vb by using a similar methodI guess I could create a new instance of the class(es) in DatabaseLib.vb and pass them into the MyLib classes, but I was hoping there might be something as simple asImports "Databaselib.vb"which I could put in the top of MyLib.vb.Wow, I hope that makes sense! Bit of a long explanation, hopefully there's a shorter answer! Any help would be much appreciated
Problem with adding a reference   (281 Views)
.I created a WebService, and a proxy class.Now for a windows application I had to add System.Web as a reference in order to consume the service.It worked, after several tries.Then I tried the same for a PocketPC type of application.I got the following error, eventhough System.Web.Services was originally added to the reference.The type 'System.Web.Services.Protocols.SoapHttpClientProtocol' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Services, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. I compared the solution with the windows application one. I noticed that System.Web.Services in Win App was loaded from the following location C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Services.dll.So I had to make the subsequent changes on that and on System.dll as well.But now, the PocketPC application won't work.Furthermore switching back the references to the original location: C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE, didn't fix the problem.Still getting this error: Deployment and/or registration failed with error: 0x8973190e. Error writing file '\Windows\'. Error 0x80070070: There is not enough space on the disk.Any ideasThank you.
View Email Spool   (297 Views)
Is there any way to view the email spool of ASP.Net before it sends them via SMTP
display a message in a new window on a button press   (407 Views)
Hi ,I have created a web form to collected some information from user and then send the data via a System.Web.Mail.MailMessage on the submit of a button. The question i have is that i also want on the submit of the button to display a message in a new window telling the user some infomation. I am sure this is fairly simple thing todo but seem be gettting a bit stuck.
Redirect Issues   (560 Views)
I have a C# asp page that needs to record a hit and redirect, but the Javascript isn't executing and the redirect beats the JS execute.CODE Redirect
ListBox Keypress Check .NET 2.0   (435 Views)
Is there way to alter the default KeyPress behavior of a ListBox control, so that a continuous character entry will move through the list ( bad explanation.. what I mean is that, by default, when you press a key while focus is on the list items, the list will move to the first entry that starts with that key..What I want to do is continue typing and have the list move to the item that matches all the letters entered ).I have done this in Classic asp and JavaScript ( using onkeypress='evalKey()' as part of the
hard carriage return   (394 Views)
,I am trying to force a carriage return and line feed (vbcrlf) in to a string which will be used for the body part of an email. However, when I received the message; it appears to me that the body is one continuous long long long is my snipet code CODE mailbody = "," & vbcrlf & vbcrlf & "You have selected the following items: " & vbcrlf select case semicode case "123" mailbody = mailbody & "activity 1" & vbcrlf mailbody = mailbody & "activity 2" & vbcrlf mailbody = mailbody & "activity 3" case "12" mailbody = mailbody & "activity 1" & vbcrlf mailbody = mailbody & "activity 2" & vbcrlf end selectThe outcome of this was:,You have selected the following items:activity 1activity 2activity3The only way I can line them up in the message was to reside the window down then I can get my altimate result which is,You have selected the following items:activity1activity2activity3If you have any suggestion on why the vbcrlf did not execute (I can be wrong) please let me know or can show me how to line them up
How do I force localhost to see a project?   (284 Views)
I have been given custody of an existing application. The previous developer published from his localhost to the production server. I physically went onto his localhost and burned the project onto a cd. Then I put the project onto my localhost.I tried several times to work with this project. But all of my attempts failed. I can give you a detailed account of my attempts. But the bottom line is, I need to know how to get my VS installation and my IIS to interact with this project.