Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #2K
~13.5K People Reached
Favorite Tags
Member Avatar for markdean.expres

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

Member Avatar for Mitja Bonca
0
94
Member Avatar for abhay1234

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 …

Member Avatar for P.manidas
0
230
Member Avatar for markdean.expres

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 …

Member Avatar for markdean.expres
0
107
Member Avatar for atticusr5

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 …

Member Avatar for abhay1234
0
65
Member Avatar for abhay1234

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 …

0
54
Member Avatar for ndeniche

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 …

Member Avatar for PdotWang
0
2K
Member Avatar for bettybarnes

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]

Member Avatar for bLuEmEzzy
0
234
Member Avatar for whin_lopez
Member Avatar for whin_lopez
0
93
Member Avatar for zerubbabel
Member Avatar for Netcode

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

Member Avatar for abhay1234
0
258
Member Avatar for vegaseat

Mine without a doubt is Marilyn Monroe. [QUOTE]"It's not true that I had nothing on. I had the radio on."[/QUOTE]

Member Avatar for JamieLynnSEO
0
1K
Member Avatar for 123mehran

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?

Member Avatar for fawadkhalil
0
96
Member Avatar for bettybarnes

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 …

Member Avatar for bettybarnes
0
5K
Member Avatar for denmarkstan

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.

Member Avatar for kvprajapati
0
141
Member Avatar for sweetkinjal

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 …

Member Avatar for kvprajapati
0
305
Member Avatar for abhay1234

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 …

Member Avatar for abhay1234
0
181
Member Avatar for abhay1234

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 …

Member Avatar for Teme64
0
299
Member Avatar for vaultdweller123

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?

Member Avatar for briangreen143
0
801
Member Avatar for abhay1234

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 …

Member Avatar for abhay1234
0
84
Member Avatar for abhay1234

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 …

0
53
Member Avatar for abhay1234

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

0
57
Member Avatar for abhay1234

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") …

Member Avatar for kvprajapati
0
105
Member Avatar for saphireina

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 …

Member Avatar for saphireina
0
131
Member Avatar for slade2627
Member Avatar for abhay1234
0
90
Member Avatar for Xufyan

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 (); …

Member Avatar for Xufyan
0
1K
Member Avatar for jez23

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

Member Avatar for abhay1234
-3
311
Member Avatar for abhay1234

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 …

0
62
Member Avatar for abhay1234

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

Member Avatar for abhay1234
0
87
Member Avatar for abhay1234

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

Member Avatar for Dr.Nour
0
69
Member Avatar for abhay1234

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

Member Avatar for abhay1234
0
196