Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
56% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
7
Posts with Downvotes
7
Downvoting Members
6
5 Commented Posts
0 Endorsements
Ranked #607
~42.5K People Reached
Member Avatar for hitro456

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 …

Member Avatar for Raj_28
0
4K
Member Avatar for Begginnerdev

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. …

Member Avatar for Ivan_14
0
6K
Member Avatar for Nada_ward

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

Member Avatar for Karthic_1
0
2K
Member Avatar for riteshsingh_22

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..

Member Avatar for annaharris
0
322
Member Avatar for Behseini

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 …

Member Avatar for rajeev_cv_2012
0
186
Member Avatar for catherine sea

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 …

Member Avatar for carrzkiss
0
8K
Member Avatar for JOSheaIV

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 …

Member Avatar for JOSheaIV
0
241
Member Avatar for chaitali238

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]

Member Avatar for desynch
0
123
Member Avatar for Mahesha999

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 + …

Member Avatar for mani-hellboy
0
224
Member Avatar for danielbala

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...........

Member Avatar for diafol
0
119
Member Avatar for virusisfound

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 …

Member Avatar for virusisfound
0
124
Member Avatar for mirzamujib

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 …

Member Avatar for mirzamujib
0
135
Member Avatar for mardTanha

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 …

Member Avatar for mardTanha
0
88
Member Avatar for srm2010

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 …

Member Avatar for bhagawatshinde
0
113
Member Avatar for kshahnazari

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:

Member Avatar for catherine sea
0
85
Member Avatar for lxXTaCoXxl

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 …

Member Avatar for catherine sea
0
83
Member Avatar for berniefitz

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 …

Member Avatar for catherine sea
0
62
Member Avatar for Alex12345

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 …

Member Avatar for phorce
0
92
Member Avatar for murithi

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 …

Member Avatar for catherine sea
0
89
Member Avatar for owaisbashir

hi here new to asp.net.cn any body help me realted to asp how can i learn asp.net.some toturails etc.

Member Avatar for naveedqadri
0
234
Member Avatar for ng5

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?

Member Avatar for codeorder
0
242
Member Avatar for aishapot

[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 …

Member Avatar for aishapot
0
1K
Member Avatar for YungSoprano

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 …

Member Avatar for YungSoprano
0
203
Member Avatar for mr1991

wen i open mdi through the login form, the forms inside the mdi child forms dont seem to execute.pleez help me.

Member Avatar for kingsonprisonic
0
120
Member Avatar for aishapot

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 …

Member Avatar for aishapot
0
253
Member Avatar for phoenix911

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 …

Member Avatar for phoenix911
0
185
Member Avatar for Woodenhousen

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 …

Member Avatar for catherine sea
0
119
Member Avatar for techlawsam

total += nValue; so would that mean that whatever the total is it will be added towards nValue, or is something being incremented? Thanks

Member Avatar for jnmisa
0
108
Member Avatar for mehdi.yazdani

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 …

Member Avatar for mehdi.yazdani
0
98
Member Avatar for mehdi.yazdani

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 …

Member Avatar for cereal
0
164