all groups > vb.net > march 2007 > threads for monday march 26
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
SqlDataAdapter1.update for datagrid1 does not work
Posted by rodriguez.a.christian NO[at]SPAM gmail.com at 3/26/2007 10:26:08 PM
I cannot make my update command work for a datagrid:
Public Class subcatinsert
Inherits System.Web.UI.Page
Protected WithEvents SqlCon As System.Data.SqlClient.SqlConnection
Protected WithEvents SqlSelectCommand1 As
System.Data.SqlClient.SqlCommand
Protected WithEvents SqlIns... more >>
.NET Permissions
Posted by Marco Trapanese at 3/26/2007 7:22:23 PM
Hi!
I have an application composed of two executables and two dlls.
Both exe project are configured as full trust.
On the development machine all works fine.
When I test them on another machine either copying the bin folders or
using the "publish" feature in VB.NET Express they don't run... more >>
interesting math issue
Posted by param NO[at]SPAM community.nospam at 3/26/2007 6:43:08 PM
Hi all,
So here is a little brain teaser that I need to solve.
I need to calculate a tax amount based on a certain $ amount. However the
caveat is that the tax amount is a component of the $ amount. So, in my
example:-
Amount: $10,000
Formula for Tax Amount: Amount*0.0035
Howerver, ... more >>
sp_rename _BUG_
Posted by Larry Linson at 3/26/2007 3:18:46 PM
This is straight out of books online sql 2000 for sp_rename
Renaming a stored procedure, view or trigger will not change the name
of the corresponding object name in the syscomments table. This may
result in problems generating a script for the object as the old name
will be inserted from the ... more >>
Architecture question: templates
Posted by Craig Buchanan at 3/26/2007 3:12:55 PM
I would like to emulate the template/document relationship that MS Word has,
but with classes.
I would like to be able to define a MessageTemplate class (with subject,
body, recipients, etc), then be able to create an instance of the Job class
based on the MessageTemplate's values. The Job... more >>
databinding a datagridview
Posted by Jim in Arizona at 3/26/2007 2:55:13 PM
Sorry for the x-post. There seems to be very little if any activity on
the windowsforms group.
Nearly all my experience so far has been with web forms so I'm just
learning to work with windows forms.
I'm trying to bind data do a datagridview but dont' know how. This is
what I have so far... more >>
Converting String to A Date
Posted by c_shah at 3/26/2007 2:23:36 PM
I have a string in this format 100106 what is the most efficient way
to convert it to a date like 10/01/2006 thanks.
... more >>
Using interface effectively
Posted by Flomo Togba Kwele at 3/26/2007 12:11:35 PM
I have a class which is derived and generated automatically from the database.
Whenever I change the definition of the table, I regenerate the class.
I need to derive another class based on the one above. I have added a few
fields and properties, extending its function.
I do not want to chan... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how to protect a class with a principalpermissionattribute?
Posted by xamman at 3/26/2007 8:45:43 AM
hello! anyone ever manage to do this? after trying nearly everything
i
can think of my code (below) still gives 'request for principal
permissions failed' .
many thanks
x
..
..
..
..
..
..
Protecting to class - this doesnt work (& the tried
role:="administrators", name:="administr... more >>
Create a program by copying an existing program
Posted by Barry Flynn at 3/26/2007 12:00:00 AM
In VS2005, I want to write a program which will have some similarity to an
existing program.
It would be an advantage to start by copying the existing program (into a
new directory, and with new names for the forrms etc.) .
What is the easiets way to do that?
Thanks
--
Barry Flynn
C... more >>
Print datagridview How to...
Posted by Scotty at 3/26/2007 12:00:00 AM
Hi,
Hope someone can help me
I have a datagridview I want to print
Code below works fine if I print the data if there is only 1 page (without
using hasmore pages
'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If intRowPos <= 10 Then
e.HasMorePages = False
Else
e.HasMorePages = True
End If
'!!!... more >>
|