- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 8
- Downvotes Received
- 7
- Posts with Downvotes
- 7
- Downvoting Members
- 6
Re:
Hi everyone, I have database which has data of past 2 years. I want to get that data for current financial year. [COLOR="Green"](Here financial year is 1st april to 31st of March)[/COLOR] This query returns data for current calender year i.e. [Jan-to-Dec] [COde=sql] SELECT DATENAME(MONTH, DATE) AS MonthName, SUM(NetAMOUNT) AS … |
|
Re:
Hello Daniweb, and thank you for taking the time to read this post. I have a question of efficiency. I am wondering, what is the most efficient way to print from a listview. The listview's values are loaded from a database, and I would like to print from that listview. … |
|
Re:
Hello How I can retrive table names from SqlData base I Just connect to DB. and now I want to display all tables name in combobox. how I can do that?? thanks |
|
Re:
I'm new to session management so can anyone tell me ,How to store multiple values selected from gridview into session. and retrieving that values stored in session in another page.. any suggestions r appreciated..pls help.. |
|
Re:
Hi Everyone, I am trying to generate a function to enable users to insert table into a richTextBox winForm control.What I have is a Insert button which is fiering InsertForm winForm.the form contains two textboxes as txtRow and txtCol and a btnInsert. Now ,I would like to know is there … |
|
Hi, I got error "No value given for one or more required parameters" error when executing the following code. I checked the value of the query and it seems correct. Does anyone know why? [CODE]string connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Catherine\\Documents\\LearningCSharp.accdb"; OleDbConnection myConnection = new OleDbConnection(connectionString); myConnection.Open(); int employeeNumber = int.Parse(textBox1.Text); string name … |
|
Re:
Hey guys so for a class of mine we have to build a program for a client that is going to require a Database. The database is going to be purely for demo purposes so an actual server is not necessary. Now I have never done this before and I … |
|
Re:
I am using Visual studio 2008 and trying to upload files. Though the file uploaded can be seen through windows explorer, it is not shown in solution explorer. i am using the following c# code: [code] String fnm = FileUpload1.FileName; String cp = Server.MapPath("~/Uploads/"); FileUpload1.SaveAs(cp + fnm); [/code] |
|
Re:
Hi there I am writing ASP.NET app I want to access gif images stored in Images folder which is in turn stored in Project folder. See my [URL="http://img834.imageshack.us/img834/8765/capturenqm.png"]Solution Explorer[/URL]. In GetImage.ashx (see solution explorer), I am unable to get images using this: System.IO.FileStream _FileStream = new System.IO.FileStream([COLOR="Red"][B]"~/Images/" + imageFileName + … |
|
Re:
i got 3 users to be registered in the registration form through radio button admin,manager and employee... after registration of a admin the other 2 raadio buttons shud only enable in the registration form... admin shud be disable............ how to implement this in php........... |
|
Re:
how to create a discussion pages. like a blog and how to post comments on that or a small chat room. I am new in asp.net so any one can provide me some code or link where i can learn this. I want this for learning purpose so please help … |
|
Re:
Hi, I have one navigationmenu on my masterpage. Whenever a user logins, the navigationmenu should display the menuitems as per the users permission. eg: i have three navigationmenu items i.e. menuitem1, menuitem2, menuitem3. a normal user has access only to two menuitems i.e. menuitem1 and menuitem2. And the third menuitems … |
|
Re:
hi i have a listview that keep time(Second) and text. i want when player time was equal to my listview item times label1 show its text(RealTime). it is very similar to subtitle. i tried this: [code=c] private void axWindowsMediaPlayer1_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) { while (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsPlaying) foreach (ListViewItem item … |
|
Re:
I am working with an MDI application. I have three forms where in Form1 is MDIParent form.From this MDIParent form another form FOrm2 is getting open which remains within the bounds if mdiparent window.Form2 has a button, when clicked opens Form3 which I want it to get open as child … |
|
Re:
Hello everyone I need to record a sound and save it , i cant find anything on the internet so please could you give me some advice about saving a sound and recording it :icon_biggrin: |
|
Re:
I'm trying to develop my own custom controls and components that I can modify visually on a form. Like how you can put a panel onto a form and modify it's location, size, and other properties through the properties window. I'm trying to develop my own controls with their own … |
|
Re:
Okay this may be a silly question but my network / web design knowledge is pretty minimal. I have a web site where I want to display an image that has a GUID query string attached. When the page is opened using my internal IP address I can see the … |
|
Re:
I would like to do something rather complicated for a type of classifieds site. Basically, after a user creates a post in a certain category, that category is added to an SQL table. Let's assume the category is called "Books." I want the title of the user's post to be … |
|
Re:
Hi guys, I have struggled to do this but I have not made much progress. All the tutorials I have come accross online have been on C#. While I have tried these out I just can't seem to get my code to work. Am using linq to sql and jquery … |
|
Re:
hi here new to asp.net.cn any body help me realted to asp how can i learn asp.net.some toturails etc. |
|
Re:
I am trying to make a program that randomly selects a name. i have a prompt that allows me to enter the number of names and the names themselves. but i dont know how to save or open the information into an array... can anyone help me with this? |
|
Re:
[CODE]Sub retrievepic() Dim conn As New SqlConnection("data source=.\sqlexpress; integrated security=true; attachdbfilename=|datadirectory|\WAIS.mdf; user instance=true;") Dim cmd As New SqlCommand("select ImageData from ImagesStore where ImageId=@ImageId", conn) cmd.Parameters.AddWithValue("@ImageId", 3) Try conn.Open() PictureBox1.Image = Image.FromStream(New IO.MemoryStream(CType(cmd.ExecuteScalar, Byte()))) Catch ex As Exception MsgBox(ex.Message) Finally conn.Close() End Try End Sub [/CODE] This is my code for … |
|
Re:
Hi everyone, I'm creating a booking application for a hotel and have encountered an error on the following code; [CODE]Public Class Seaside_Hotel_DB Dim dbconn As OleDb.OleDbConnection Dim dbcmd As New OleDb.OleDbCommand Dim dbread As OleDb.OleDbDataReader Dim spath As String Public Sub New() spath = Application.StartupPath spath = spath.Replace("\bin\Debug", "") spath … |
|
Re:
wen i open mdi through the login form, the forms inside the mdi child forms dont seem to execute.pleez help me. |
|
Re:
I need to save pictures in my database, my database is MSSQL as of now, my code for getting the picture is this: Private Sub browsepic_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles browsepic.Click With dialogpic 'Open File Dialog sa toolbox .InitialDirectory = "C:\Users\CAMILLE\Pictures" .Filter = "JPG Files|*.jpg|PNG Files|*.png|GIF … |
|
Re:
Hi, I have a WCF Webservice, and I have an asp.net application that uses this web service. I Have them both running on the same machine, but get a time out. Is there something I have to specify myself in the web.config? I am fairly new in WCF, as this … |
|
Re:
I am trying to filter a 2nd Combobox based on the selected value of the 1st Comboxbox. For example, when the user choses "BMW" from the cbxmanufacturer control, I need the cbxModel control to display all models associated to "BMW". I am almost there but I get an error "Cannot … |
|
Re:
total += nValue; so would that mean that whatever the total is it will be added towards nValue, or is something being incremented? Thanks |
|
Re:
Hi every body i was create some forms for uploading files. when i tried to upload some files with less than a MB there is no problem and it works well but when the size of file that i want to upload it, is over than 10 MB i faced … |
|
Re:
Hi, i wrote some command for division of numbers by certain number for example 1000000 and [CODE]$filesize=$size/1000000;[/CODE] the result shown some things like this 12.24927 but i need just the first part of this number for example i want to write 12 instead of this 12.24927 . how can i … |