13,153 Topics
| |
Private Sub btnsearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsearch.Click Try txtmsg.Text = "" OleDbDataAdapter1 = New OleDbDataAdapter("select * from phbook where name like '" & ddl.SelectedItem.Text & "%'", OleDbConnection1) OleDbDataAdapter1.Fill(DataSet21, "phbook") OleDbConnection1.Open() Dim com As New OleDbCommand com.Connection = OleDbConnection1 com.CommandText = "select * from phbook" dg1.DataBind() … | |
:sad: I am trying to connect to a mysql database. ideally, i'd like it dumped into a grid view so i can edit it... no matter how i try it, i get this error- [B]Compiler Error Message: [/B]BC30002: Type 'ODBCConnection' is not defined. here is the code for this page: … | |
hi, Can anyone please help me,I want to run msnmsgr.exe on button click in asp.net .It should search all the drives on my HD for the exe and run it, if its not installed should show some message saying messenger not installed. Please help! thanks, maggi | |
i wrote a code to read a doc in asp.net i woked properly in my iis ms word is installed in this pc. but when i published in another sever in which there is no ms word instslled it give error in it i used com reference. i want to … | |
Hi guys, im new to ASP.Net and was wondering what the code was to display a Access DB Also does anyone have any good easy to follow tutorials which will show me how to manipulate the data etc - edit, delete, add Thanks :) | |
hi everyone, iam a newbie in asp.net,i am doing a small remoting application where i have a login page in the client side and the code is like this [COLOR=#0000ff]private[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] button1_Click([/COLOR][COLOR=#0000ff]object[/COLOR][COLOR=#000000] sender, System.EventArgs e)[/COLOR] { remoteinterface.Class1.RI x; x=(remoteinterface.Class1.RI) Activator.GetObject([COLOR=#0000ff]typeof[/COLOR](remoteinterface.Class1.RI),"tcp://localhost:1120/abc"); [COLOR=#0000ff]bool[/COLOR] b=x.checkuser(textBox1.Text,textBox2.Text); MessageBox.Show(b.ToString()); } }server side program is running well … | |
Anyone know of a work around in .Net to retain the highest possible resolution of a photo or image after compression or resizing? | |
Hi All, I have an application where user can export the results of search action to an excel file so he can locally store it.. I have done this with very simple code which is [code] Response.ContentType = "application/vnd.ms-excel"; Response.AppendHeader("content-disposition", "attachment; filename=StackRanking.xls"); Response.Charset = ""; System.IO.StringWriter sw = new System.IO.StringWriter(); … | |
hi, this is my first post in this forum... i have an ASP.NET project in school, and i need some help with the sitemaps this is my folder, i upload it here [URL="http://www.uploading.com/files/10S683QD/buzztime.zip.html"][/URL] my problem is that the on the side menu, i get Home, Products, Services, and Shopping Cart. … | |
I am writing a class character for an assignment. The class relates to a role playing game. I am getting an error which I don't understand. This error occurs in the default constructor of the implementation file. The dynamic help says that I created an object without creating a pointer … | |
I am trying to connect to an IBM AS/400. Can anyone help me interpet the error and possible guid me what to do. Thanks Code: Dim myAS400Connection As New OleDb.OleDbConnection myAS400Connection.ConnectionString = ("Provider=SNAOLEDB;" & _ "Data source=as820;" & _ "User Id=vbuser;" & _ "Password=vbuser") myAS400Connection.Open() Error: Exception Details: System.Data.OleDb.OleDbException: No … | |
Im using regular expressions to identify currency characters from a html string I cant identify the £ symbol from a number of sites including amazon So Im looking for the syntax to identify that symbol oRegEx = New RegEx("£[0-9]") is not working and what is the syntax to identify unicode … | |
hi.. is anyone know..i have all the information about how a question should be displayed from database so that customer may review their survey question? for examples: [B][COLOR=Red]Table 1: Question - [/COLOR][/B] QuestionID, QuestionNum, Question, QuestionStyle [B][COLOR=Red]Table 2: Answer - [/COLOR][/B] AnswerID, QuestionID, QuestionNum, AnswerList eg: QuestionID=from 1 to 10 … | |
[I]hi..[/I] my system should select the maximum QuestionNum from one of the my table in the database. after all, i would like to increment the value QuestionNum to 1... but i keep on receiving error [B]"[I]Cast from type 'DBNull' to type 'String' is not valid." [/I][/B]this is my code... Public … | |
Hi, Can anyone please help me.I want to run Messenger(AOL/MSN) which is present on my pc on a button click from Asp.Net 2.0 if messenger is not installed it should say this mssenger is not installed on ur PC. Can anyone tell me how to do this, any help will … | |
When i make click on signout i m destrying the session object by session.abandon qith modifying the database with status = offline.. Bt when IE is closed directly without clicking on signout session object get destroyed bt the real problem is that [B]how to update SQL Server database as session … | |
Hi All, I am creating a content management system for e-learning with chapters and chapter having pages. The CMS should have the facility to add pages by directly copying and pasting from the words, this way the user never knows how many pages he is pasting from the words document. … | |
i have used a link button and write some code on click event of this. the application is working fine on my system but when i deploy it to server the link button click ebent not fired. can anybody tell me the reason? | |
i can send the word file in which i have all the details and i would be glad if some one can direct me for that coz i m basically screwed:!: :?: :eek: | |
Can anyon recommend a good cheap web hosting that supports ASp.net 2 , Ajax and SQL dat base, with an average rate between US$ 120 to US$ 180 per year Thanks | |
Hi guys, i'm totally new to ASP.Net but here goes I have got a login from my Access DB working - thanks to paladine tutorial I would now like a forgotton password page where the user enters there username and their password is EMAILED to them via the existing DB. … | |
Can anyone explain why I am not getting any output from this code [code] int _tmain() { String *sym[] = {S"BA", S"CA", S"MS"}; int shares __gc[] = {25, 100, 30}, price __gc[] = {25, 31, 37}; Random *randomCurVal = new Random(); int purVal, curVal; int totalPurVal = 0, totalCurVal = … | |
hi..i'm new in using ASP.NET application. Please guide me as i've only about 30% knowledge on developing web application in .NET ok..my problem is.. i have a textbox.. i wanted user to create multiple option by entering each option per line in the textbox... in other words..if user want to … | |
Hi people, i have a login via my Access DB - thanks to paladine Now i want the following When the user has logged in and they are taken to the Default.aspx page i would like a 'Welcome [UserName goes here]' feature showing who they have successfully logged in as … | |
Hi, I have working in Asp.net and C# application, i have used visual studio 2003 for my project, my project i need this logic, how to store data in data grid to database by single mouse click, could anybody please help to finish this, Advance thanks for any reply. Thanks. | |
Edit mode the index of a dropdownlist does not start at the right value. I have having problem when in edit mode the dropdownlist the index does not start at the right value. I use Inner Join for my two dropdownlists. tbl_Users_StoreID StoreID Store 1 Name1 2 Name2 tbl_Users_AccessLevelD AccessLevelD … | |
I developed a web interface using ASP.NET and a database using SQL Server 2005. I created connection to database using SqlDataSource control. I also used GridView control to display data. Using Visual Studio I can see the query results using a browser on a local machine. What I want now … | |
Hi all, I have been writing several ASP.Net projects and they all turn out fine and run dandy. When I look at them it still seems like something is missing. It has no appeal at all, looks like I just wanted to do the web controls and jump right into … | |
I am using the coding below to open my file from pc to the frame call "myRTF". its can be function in vs.net browser but cannot function when i debug it and using Internet Exporer to run it. the function cannot retrieve content of the file into "myRTF". Actually this … | |
I'm creating a web application in VB.NET 2003 that connects to a [URL="http://www.daniweb.com/techtalkforums/post334786.html#"]SQL database[/URL]... how do I display the data in separate controls (TextBoxes, labels, etc) instead of in a data grid? Thanks, [URL="http://www.daniweb.com/techtalkforums/post334786.html#"]Windows[/URL] 3.11 |
The End.