- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
Guys how do I set a column of a datagrid so that it will only accept numbers? I have this column labeled "Grade" which of course, should not accept letters. I have done setting its Format property but it is not working... Please | |
Hello, I am trying this.. [code] Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim cmd As OleDbCommand Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0; Data Source=c:\nikhil.mdb") conn.Open() Dim row As DataRowView=ComboBox1.SelectedValue Dim row1 As DataRowView = ComboBox2.SelectedValue Dim row2 … | |
Re:
Does anyone know how to handle errors? I want that, when errors happen such as the errors in datagrid, invalidcastexceptions or others, there should be some pop ups to show instead of the JIT dialog box. Please help me with this, this is the last part of my program (the … | |
Re:
I am not sure what I have done wrong. Essentially I am searching an array for colors. If there is no input, on button click you get an error. If the color does not exist you get an error. If it exists then it tells you. The latter two events … | |
Hello I tried a lot however I have not been able to update data entered in the datagridview into the database table Any suggestions [code] Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim icount As Integer Dim datagrid1 As New DataGrid Dim da As OleDbDataAdapter Dim ds As … | |
Re:
This snippet is to create a user control that will only take numbers. Numbers will accept decimal values, for which the NumberBox is validated to take only one. The implementation for the control is the same as it is for the TextBox, since it is inherited from this class and … | |
Re:
hi anyone who can help me how do i declare date-time format in vb.net from sql server 2005? i dont know where to put this line [CODE]CONVERT(VARCHAR(10), GETDATE(), 1) AS [MM/DD/YYYY][/CODE] | |
Re:
Hi please herlp me on How pass values from datagridview to listview thanks a lot guys :) | |
Re:
Please help me on this i really need this badly... tnx | |
Re:
I have a datagridview control on my form. i use this to display data including images. Please how can i set the row height of the datagridview control so the picture can be well displayed? Thanks | |
Re:
Mine without a doubt is Marilyn Monroe. [QUOTE]"It's not true that I had nothing on. I had the radio on."[/QUOTE] | |
Re:
Hi Guys I've made a id number textbox and wanna when users typing characters the server tell them type digits what should i do? | |
Re:
hi i'm having a problem regarding sql deleteCommand.. can someone please help me solve this problem coz it takes a lot of time for me to figure it out.. here's my code [CODE] Private Sub btnDeleteBC_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDeleteBC.Click If MessageBox.Show("Do you really want … | |
Re:
i find it difficult to add mssql dbs to asp.net website when i am using vs2008. here i intend working locally. please let someone help me. | |
Re:
Hello everybody! I'm doing my project about ASP.NET but i don't know howto create Database. Example: UserName: xxxxxxx Password: xxxxxxx Login(<<<) i want to know how the code working. i want to know where my data will be stored. for example if i am creating login control then which fields … | |
Hello i have created a webpage for a project using jsp in netbeans. I have created a listbox. I want it to display data from database(MS-access) and I should then be able to modify data in database like I should be able to change an entire record through the listbox … | |
I have decided to create Bulls and Cows game for my project. I have been checking for it's correctness. But it behaves bad in some cases. Like when I have already guessed the word it doesn't respond right. This happened rarely but I can conclude that it still is not … | |
Re:
how dogs got rabies? I dont want answers like "they got it from wild animals, who are infected by rabies, like bats, squirrel, fox, skunk etc.." , its like a loop id doesn't answer the question. i mean how was the 1st infected rabid animal got it? | |
hi the problem is when i use my own word eg here "jose" the results are correct but when i use random string it doesnt work the same here's my code [code] Imports System.Text Public Class Form2 Dim guess As String = " " Dim bulls As Integer = 0 … | |
heres the code [code] <%@ Page AspCompat ="true" %> <html xmlns="http://www.w3.org/1999/xhtml" > <body> <% dim adoconn Dim rsnikhil dim ssql%> <%adoconn = Server.CreateObject("ADODB.Connection")%> <%adoconn.Open("Provider=Microsoft.Jet.OLEDB.4.0;DataSource=c:\nikhil.mdb;")%> <% rsnikhil = Server.CreateObject("ADODB.Recordset")%> <%ssql = "SELECT * FROM kulkarni" rsnikhil.open(ssql, adoconn) %> <% Do While not rsnikhil.EOF Response.Write(rsnikhil("name")) Response.Write(rsnikhil("comments")) rsnikhil.MoveNext loop %> <% rsnikhil.close() rsnikhil … | |
i wish to create a cookie for an html form. I wish to get value from textbox(how do i do this). i wish to get the values displayed when i click the submit button my code [code] <html> <body> <form> <button type="button" name="rollno">rollno</button> <input type="text" name="rollno"> <br> <button type="button" name="name">name</button> … | |
I have this code [code] Public Class Form1 Private connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=c:/testn.mdb" Dim conn As New System.Data.OleDb.OleDbConnection(connectionstring) Dim cmd As New System.Data.OleDb.OleDbCommand Private ssql As String Dim dr As System.Data.OleDb.OleDbDataAdapter Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;data source=c:\nikhil\testn.mdb") … | |
Re:
pls help me with this problem......its for my exam for finals...pls help me.... here are the instructions: Create a Class of the ff: (focus on payroll) 1. EmployeePay (parent) define: attribute: salary(net), gross, rate, no of hours worked, tax=20% constructor: (2) method: setters/getters, reset()-set number of hours work to 0 … | |
Re:
How do you select a string in a list using its index count?? | |
Re:
Can anyone explain whats wrong with this program why this is not working. [CODE] void main(void) { long a,b=1; clrscr (); printf ("Enter number to calculate its factorial:"); scanf ("%ld",&a); if (a=0,1) printf ("You entered 0 or 1"); else for (a=a;a>0;a--) { b*=a; } printf ("Answer is %ld",b); getch (); … | |
Re:
could you please give me code in c programming of a hangman game, a converter or a phonebook??? pleaseee.... badly needed it.. dont have enough time to do it.. please... | |
ok i know connecting access. i want to learn database connectivity using sql server in vb.net. How do i create a table in sql server in vb.net visual studio i dont have sql server installed in my pc also performing database manipulation in windows application(i have been doing it in … | |
hello again i wrote a class but not able to see the output in visual studio [code] Public Class Class1 Public Shared Sub Main() Console.WriteLine(Min(10.1, 10)) Console.WriteLine(Min("last", "first")) Console.WriteLine(Min(#1/1/2000#, #3/4/2000#)) Console.ReadLine() End Sub Overloads Shared Function Min(ByVal dblA As Double, ByVal dblB As Double) As Double Min = IIf(dblA < … | |
hello. I tried this with a bit of search. I wish to have freedom while typing text in my web page. I want the right margin to be fixed so that when i type text all aligns along the right margin. I tried tables but not satisfied [code] <html> <body> … | |
Dear sirs, I am trying to learn vb.net in 2005 and 2008.Where can i get good tutorials to learn basic as well as advanced. OOPs and web development etc. thank you |