- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hie,I have Merge Sort Program .It's giving correct output but when checked through debugger it gives different values everytime.I also tried doing it manually but I am not getting the actual output. I will not ask now for complete program explanation. I just want to know the value over here.This … |
|
I am going through .net book. I happen to read that once we are storing the web form in asp.net ,it automatically shows local host path in save directory. But in my computer I don't see local host path. It shows the usual vb.net installed folder in C directory and … |
|
Hie I have started learning ASP.Net Web application. While saving first project ,it should show localhost name in the **location ** box. But it shows normal project folder present in C: path. I have also set up IIS Services. OS is Windows 8.1. ASP.Net is 4.5 and 3.5 also. When … |
|
Hie someone please tell me from which site we can download vb.net software either 2008 or 2010? |
|
I have added form1 and on it 2 text boxes. text box1 to accept fromdate and textbox2 to accept todate. After this,I added Crystal report from Add new Item. Then in Crystal report I added table and its columns. After that I wrote code behind form1. The code is not … |
|
When the array is declared,the size of an array is supplied in the following way: dim inquirybyyearmonthday(20)()() as byte My question is why there are extra 2 opening & closing brackets after (20)? |
|
In this code,while executing it does's show the result. For eg: Consider addition,in addition result it shows the second value to be added. How it can be corrected? Public Class calculator Dim add, subt, mul, res As Integer Dim div As Double Dim ch As String Private Sub Button1_Click(ByVal sender … |
|
Module throtemp Public Class TempIsZeroException : Inherits ApplicationException Public Sub New(ByVal msg As String) MyBase.New(msg) End Sub End Class Public Class temp Dim tmp As Integer = 1 Sub showtmp() If (tmp = 0) Then Throw (New TempIsZeroException("zero temp found")) Else Console.WriteLine("temp:{0}", tmp) End If End Sub End Class Sub … |
|
Console.WriteLine("Total Pay:{0:C}", pay) Why {0:C} for? |
|
Module avgarr Function getavg(ByVal arr As Integer(), ByVal size As Integer) As Double Dim i As Integer Dim avg As Double Dim sum As Integer = 0 For i = 0 To size - 1 sum += arr(i) Next i avg = sum / size Return avg End Function Sub … |
|
Well I am totally beginner. I came across this program. Module arrayredim Sub main() Dim marks() As Integer ReDim marks(2) marks(0) = 85 marks(1) = 75 marks(2) = 90 ReDim Preserve marks(10) marks(3) = 80 marks(4) = 76 marks(5) = 92 marks(6) = 99 marks(7) = 79 marks(8) = 75 … |
|
Re:
for window application I want to fill data in combo box from database using asp.net c# and sql server |
|
Accept the string from the user. Find the date from the given string with ddmmyyyy format and display the output as:"date found = " Eg:input:Eg: abc0712201345bye output:date found =07122013 how to do this? |
|
I wrote code in notepad and gave the extension as hello.php but it didn't change to web and so it did not run. Secondly ,I wrote code in Visual Studio asp.net web application <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="phphello._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" … |
|
What will be printed as the result of the operation below: #define swap(a,b) a=a+b;b=a-b;a=a-b; void main() { int x=5,y=10; swap(x,y); printf("%d%d",x,y); } |
|
I came across this question: Which of the following are the valid method of command object? The answer given here is : ExecuteQuery & ExecuteScalar My doubt is why answer can not be ExecuteNonQuery and ExecuteScalar? |
|
Re:
This module is for validating textboxes.... After using this module in your project you can simply validate all of your text boxes like [CODE] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load AssignValidation(Me.TextBox1, ValidationType.Only_Digits) AssignValidation(Me.TextBox2, ValidationType.Only_Characters) AssignValidation(Me.TextBox3, ValidationType.No_Blank) AssignValidation(Me.TextBox4, ValidationType.Only_Email) End Sub [/CODE] |
|
The program is this : Write a program which takes 10 integer numbers from user. Save all the positive numbers to one file, all the negative numbersto another file. So,the coding will be compare all integers with 0 and save according in two different files right? If I am right … |
|
My doubt is : 1] I have got many forms and MDI container. There is close button on all the forms.One of the form name is Homepage. 2]Whenever the user clicks on close button,i.e.the cross button with minimize and maximize box, The form will close but at the same time … |
|
There are 2 textboxs to accept from date and to date. I will be comparing the fromdate value and todate with the table column. If the record matches then only that row will get display in the datagridview. |
|
Follow this link: http://www.daniweb.com/software-development/vbnet/threads/423122/crystal-report-from-date-todate/2#post1808761 As I am not getting any reply there and if any one else can solve this problem then please do reply or tell me any other alternative. Ok The problem is : 1]Its not showing any report if I click on Button. The button is where … |
|
1] One Windows Form: datetimepickers to accept fromdate and todate respectively. Crsyatl Report Viewer Button to show the Crystal Report. 2]Crystal Report How to do the coding? I tried from my side and also some1 in this forum also helped it but still not able to do it. |
|
2 textboxes to accept fromdate and todate and check with the database column of ida,rda and if matches then display only that row. I tried it in the below way but not able to do. con.Open() i = DataGridView1.CurrentCell.RowIndex cmd = New SqlCommand("SELECT COUNT(*) FROM IssueMBA WHERE ida='" + TextBox1.Text … |
|
How to make only one record at a time get inserted in the database table and also delete from the other table? Once the details are filled ,I insert it in table1 as the new record and I delete the same record from table2. Note: Table2 is the table that … |
|
There are 3 textboxes->textbox1,textbox2,textbox3 and 1 button. In textbox1 bname will be stored and in textbox2 aname is stored. Bname and aname are columns of databasetable. This are not unique. There are same bnames and anames records. What I am trying to do is: when the user clicks on button … |
|
How to get get complete column from database to combo box ? |
|
I have created a Combo box with the 3 items. And one more Combo Box with the 9 items. When one item of 1st combo box selected,the 2nd combo box should show only 3 items out of 9 items. how to do this? I tried but not getting it. |
|
I have got menu bar. In that there is Logout option also. When the user clicks on Logout then it should pop up the msg that "successful logout" and close the current page and redirect to login form. I wrote this code: Me.Close() MsgBox("Logout Successful") Form1.Show() Form1.TextBox1.Text = "" Form1.TextBox2.Text … |
|
I have added 2 Combobox on form. Combobox1 and Combobox2. I have connected databasetable to Combobox1. i.e. Showing items of Combobox1 from database table column A. i.e. displayed one column of databasetable in Combobox1. Same way I have connected same databasetable but different column B to Combobox2. So,What I am … |
|
how to store all items of database to combo box. i.e. store complete column in combo box? |