I have developed a discussion forum in ASP.net 2.0 and SQL Server 2000I have an option which allows the users to submit new posts.Each of these posts have an autogenerated ID associated to it.But suppose I have 10 posts submitted.When I delete say, 9 posts.After that if new posts aresubmitted t...
Comments (4) | Promote | Bookmark
formview controlSat, 30 Dec 1899 00:00:00 GMTHi Guys,I am working with formview control, i have 2 tables country and populationtable country has two fields countryid( primary key) and countrynametable population which has fields population id( primary key) , population, population year and countyid(foriegn key)i have a formview in which...
Comments (3) | Promote | Bookmark
server explorerSat, 30 Dec 1899 00:00:00 GMTI need a control that does exactly the same thing the server explorer on visual studio i.e. select a database from and returns a connection string. Does anyone now a commercial component that could help me?, I don't have the time to develop all that. can the server control on VS be used? Sa...
Comments (3) | Promote | Bookmark
Enumeration ColumnSat, 30 Dec 1899 00:00:00 GMTHello,I have a data table I build on runtime, using Columns.Add.I wanted to know if there is a way to set values contraints on a spefict column. For exmpale I want a column with the three string choices: "RED", "GREEN", "BLUE"Is there a type of data column I can ...
Comments (2) | Promote | Bookmark
linkbutton in datalist ,how to execute both processSat, 30 Dec 1899 00:00:00 GMTI am learning asp.net recently ,i met a problem these days.Hope someone can help me.Thank you!the sourcecode:<asp:DataList id="ItemsList" DataKeyField ="id" CellPadding="2"OnItemCommand ="item_command" RepeatDirection="Horizontal" CellSpacing="0" RepeatColumns="...
Comments (2) | Promote | Bookmark
ASP.NET 2.0: Accessing web control values in code-behindSat, 30 Dec 1899 00:00:00 GMTHi, I have some code in my PreRender event to get the values of various web controls as follows : DropDownList drpCur1 =(DropDownList)FormView1.FindControl("EditDropDownCur1"); DropDownList drpCur2 =(DropDownList)FormView1.FindControl("EditDropDownCur2");...
Comments (2) | Promote | Bookmark
GridView not updating when I hit "update"Sat, 30 Dec 1899 00:00:00 GMTHi All,I've got the following code: <asp:GridView ID="SearchResults" runat="server" AutoGenerateColumns="true" AutoGenerateEditButton="true" AutoGenerateSelectButton="true" DataKeyNames="ElertID" DataSourceID="MailingListDataS...
Comments (2) | Promote | Bookmark
Dynamically adding a TemplateFieldSat, 30 Dec 1899 00:00:00 GMTI have a GridView in which I will have 1 BoundField followed byn TemplateFields. The number of TemplateFields is not known until run-time.How can I programmatically define these TemplateFields and dynamically add them to a GridView?Thanks,Darren...
Comments (1) | Promote | Bookmark
Paging Variables with DataList & ObjectDataSourceSat, 30 Dec 1899 00:00:00 GMTI have a database table of documents which I am displaying in a datalist. My datalist is connected to an objectdatasource, where the select method calls GetAllDocuments. In my App_Code I have three files. DocumentsComponents, DocumentsDAL, and Document.This all works fine, however I am not sure...
Comments (1) | Promote | Bookmark
Help with datagridSat, 30 Dec 1899 00:00:00 GMTI'm trying to populate a DataGrid with a table from Access and I'm pretty sure I got everything right but it keeps popping up saying the following ( Line 144 is the Highlighted line):No value given for one or more required parameters.Description: An unhandled exception occurred during...
Comments (1) | Promote | Bookmark
How to find last entry in tableSat, 30 Dec 1899 00:00:00 GMTHi. I have a table with the key-field set to auto. I have a query against a different table where I need the last item from the first table. Right now I am using a query and sorting ascending gets me the last item. But isnt there a function that can do this better? /J...
Comments (1) | Promote | Bookmark
Urgent-Problem with datasetSat, 30 Dec 1899 00:00:00 GMTI have used a dataset. I have defined a relation. I have two datarows, one parent and one child. Its showing the data properly. But I have one more table relating to the parent and i want to display that other tables data also. For e.g'-------dst1 = New DataSet dada1 = New SqlDataAdapter("S...
Comments (1) | Promote | Bookmark
How can i install a ODBC for Oracle in Win 98Sat, 30 Dec 1899 00:00:00 GMTI had install Oracle 8 and JDK1.3 but i cant create a ODBC driver for OracleWhat have i to do now??With best regardsTrong Van Ho...
Comments (1) | Promote | Bookmark
Virtual ServerSat, 30 Dec 1899 00:00:00 GMTHi all,When I run my ASP.NET application from vs2005, the virutal server runs, which is fine. My app makes a simply call to a SQL Server DB and pulls menu options based on a userid. I've found that if I close the IE window and run it again from VS, the virtual server will retain the same...
Comments (1) | Promote | Bookmark
Question about Delete Command in DataGridSat, 30 Dec 1899 00:00:00 GMTHi, I am wondering if the Delete Command (or update and etc) in DataGrid ... after the user hit on the command button, does the page appears as new .. that means NOT POSTBACK? Thanks....
Comments (1) | Promote | Bookmark
Only Display X RecordsSat, 30 Dec 1899 00:00:00 GMTIs there an easy way to only display a number of records in a data grid? What I'm trying to do is display the top 10 of a database ... so I select <column names> from <table> order by <ranking> ... and then I only want to bind the top 10 of that order to the data grid ......
Comments (1) | Promote | Bookmark
Manipulating data inside (or outside) a repeater...Sat, 30 Dec 1899 00:00:00 GMTCheers!Can anyone help me with this problem. Shouldn't be too tough for you crackshot coders.Instead of displaying the actual value of a variable within my repeater, I want to replace it with an image depending on whether or not it is NULL.The variable in mention is "bpo."Here is my code, a...
Comments (0) | Promote | Bookmark
Getting a list of SQL Server databases into a dropdownlistSat, 30 Dec 1899 00:00:00 GMTI have an asp.net app that populates a dropdown list with SQL Server instance names by reading web.config. The app allows me to run a standard set of queries for reports against multiple SQL Server instances. So far so good but I want to create a variation of this app to do database level rep...
Comments (0) | Promote | Bookmark
Of Format strings, Deletes, & optimistic concurrencySat, 30 Dec 1899 00:00:00 GMTI have a little problem and want to make sure I'm handling it the best way. I'm using a DetailsView to update & delete data that includes some currency values. So I'm using the format string {0:c} to apply the currency format. I'm leaving ApplyFormatInEditMode=false, so this...
Comments (0) | Promote | Bookmark
setting DataSource for a Repeater in a DataGridSat, 30 Dec 1899 00:00:00 GMTHiI have a problem setting the data source for Repeater in a data grid. I have a collection of Adjudications.Each Adjudication has a collection of Reasons. I have a DataGrid which takes all the Properties of Adjudication except Reasons.I am trying to get reasons for a Adjudication into the Repea...
Hi all,I'm currently working on acrobat pdf using .net.i open a pdf file in console application and i m trying to read type of the font (font name),character size,character color, indentation and format.so can any please show me the way how to i can perform this? ...
The UI that comes with Atlas for setting up triggers based on events doesn't pick up events for controls inside of another update panel. When I try to configure this manually, it doesn't work either. What I would like (which I think is not so unusual) is to have events in updatePanel...
Hi folks,I tried to experiment my first MCF server program, but Iexperienced a problem.* all the codes 100 % copied from MSDN2, MCF, Getting Started Tutorial, C#* two source files parepared - Service.cs, Service.exe.config* using msbuild, compiled the source into Service.exe* Service.exe and Ser...
We have an Oracle database serving data to a php application at a customer location running underApache.Apache and php are on one MSW2k box, Oracle on a second. All is behind a firewall, alsoMSW2k.Every now and then (one to three months), the site slows to a crawl. The logs show us thedreaded OR...
How can I retrieve the password used to authenticate to a web service?Jeff S....
hello friends, i have installed ASP.NET AJAX 1.0 RC in my system.my OS is win 2000.When i run the AJAX Application I am getting the javascript error "Sys is undefined".i have added this tag<add verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" v...
I am building a custome control and I need to access the information in thehidden field (HtmlInputHidden HIH) so that when a button is pressed theinformation in the hidden fields value is returned. Somehow, when thesubmit button is pressed the value in the Hidden field disappears into cybernothi...
Hello,using cutesoft editor 5.2 for .net nested in UpdatePanel, i get a javascript error when displaying the editor.Any ideas ?Thanks a lot...
Hi , This is Arun. We have planed to move from msvc6 to msvc7 for utilize the following: - A stricter runtime library that could identify and help avoid API and memory problems - MS VC 6 is prior to the end of its support - Visual Basic code is not affected and can stay as it is - No new technol...
I've created a managed wrapper class for a c++ .dll i want to call froma c-sharp project. It works fine except that any static strings thatare created within any of the classes of my c++ .dll aren't gettinginitialized...i.e. they are always empty! The code looks somethinglike this (abr...