hi all! I can't rid of Cell value error from datagridview. dim mytext as string mytext = datagridview(0,3).index.value error occurs if cell value is null.
Widgets
Posts
-
how to handle Null Datagridview cell value -
error BindingSource.current using linq [modified]I've seen a solution for this problem from other person with same problem as it is: Add "System.Web" to may references then imports System.Web.UI then by using DataBinder such this: msgbox (DataBinder.eval(MyBindingSource.Current(), "CustomerID")) but another problem pop up.. when i use the addnew method of my bindingsource an error halted me.. saying that my list is readonly and has no way to execute my addnew... MyBindingSource.Addnew() Please help! thanks in advance...
-
error BindingSource.current using linq [modified]hi all i having a problem using linq with may binding source. i coded it in this way. dim MyBindingSource as new BindingSource() dim CustomerList = FROM customer In MyDataContext.tblCustomer _ SELEC customer.CustomerID, customer.CustomerName MyBindingSource.DataSource = CustomerList msgbox (MyBindingSource.Current("CustomerID") error occur on msgbox (MyBindingSource.Current("CustomerID") line? it says "No default member found of type '<>f__AnonymousType0`11[System.String, .etc What should i do.. Please help thanks..
modified on Monday, April 26, 2010 1:05 AM
-
Indexed or Unindexed TableHow do I know that a certain table has an index or has been indexed? What is the Index Name? Please Help thanks..
-
Replication in Pocket PCGuys i am planning to develop a system that work on Pocket PC... becoz some of my client works at field which obviously can carry a computer.. so im planning to give them a system that works on Pocket PC... but im too much confuse what does Replication, Publication and Subcriptions (SQL Server 2005 and SQL Server Mobile) can do in my system.. does any can give a clear view or give me some to start with.. thanks..
-
Pocket PC Connections?Hi all, Please help me with this... I'm developing a system using pocket pc.. i can connect to database (sql server mobile (northwind.sdf) - using sqlClientCe).. but at the same time i need to connect to (SQL SERVER - Northwind database)... my problem is.. i cant make any connection to a SQL Server to fetch my datas... thanks in advance..
-
Changing Mouse CursorAnyone knows a code for changing Mouse Cursor... e.g. from vbDefault to vbHourglass using vb 2005.... Thanks
-
query for getting list of tables in a databaseyou can see list of table in sysobjects table of your database.. this is where the names of table is reside...
-
Sub Reports Limitationwhy VB 2005 doesn't allow subreport on its integrate report object..
-
Setting PRIMARY KEY using Alter Tablethanks guy i really appreaciate your help..
-
Setting PRIMARY KEY using Alter TableGuys im having a problem with this statement.. ALTER TABLE tblSample ADD SampleField nvarchar (30) NOT NULL CONSTRAINT SampleField PRIMARY KEY im just trying to set my newly added column and at the same time setting it as a primary key.. but it wont work.. Is there any other way? or can it set an existing non primary column to a primary one.. if it can then how.. thanks..
-
Setting PRIMARY KEY using Alter TableGuys im having a problem with this statement.. ALTER TABLE tblSample ADD SampleField nvarchar (30) NOT NULL CONSTRAINT SampleField PRIMARY KEY im just trying to set my newly added column and at the same time setting it as a primary key.. but it wont work.. Is there any other way? or can it set an existing non primary column to a primary one.. if it can then how.. thanks..
-
modify database using vbDoes anybody knows where to find a vb 6 code that can manipulate database.. e.g. add, edit and delete a field... also code that can manipulate existing fields.. thnks..
-
Modify DatabaseDoes anybody knows where to find a vb 6 code that can manipulate database.. e.g. add, edit and delete a field... also code that can manipulate existing fields.. thnks..
-
What is .resxSir Dave may it cause by copying one object from one for to another.. because i always do it.like copying toolstrip, menustrip, combo, etc.. is it right to do it that way? Should i need to create new object that in need in every new form i made?
-
Checkbox on Datagrid?How can I place a checkbox in a column of the Datagrid in VB6? like what datagridview in .net can do..
-
Float on Currency format..i want to retreive float data and display in currency? but with this format #,###,##0.00... can it be?
-
Float on Currency format..Guys is there any way that i make an Float Column output into Currency Format.. withoug rounding e.g. Float data is: Name Price Ambie 505.5560 James 44.240 Nicolas .5275 Moyano 20 OUTPUT Ambie 505.55 James 44.24 Nicolas .52 Moyano 20.00
-
What is .resxGuys this fuck .resx is always my proble since i migrate from vb6 to vb.net.. every i use another computer which i can't avoid.. because i work on my client and at the same at office i end up with .resx error... what really .resx means..
-
Get Computer Name Using VB6Guys how can i get my computer name using visual basic 6.. thnkz..