Click here to Skip to main content
15,912,329 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to add comboBox as a column in DatagridView? Pin
tonymathewt24-Jan-07 1:44
professionaltonymathewt24-Jan-07 1:44 
GeneralRe: how to add comboBox as a column in DatagridView? Pin
priya_p23324-Jan-07 18:15
priya_p23324-Jan-07 18:15 
AnswerRe: how to add comboBox as a column in DatagridView? [modified] Pin
atulks.in24-Jan-07 20:18
atulks.in24-Jan-07 20:18 
AnswerRe: how to add comboBox as a column in DatagridView? Pin
tonymathewt24-Jan-07 22:43
professionaltonymathewt24-Jan-07 22:43 
QuestionDatabase error Pin
lanache23-Jan-07 23:58
lanache23-Jan-07 23:58 
AnswerRe: Database error Pin
atulks.in24-Jan-07 19:49
atulks.in24-Jan-07 19:49 
GeneralRe: Database error Pin
lanache24-Jan-07 23:04
lanache24-Jan-07 23:04 
AnswerRe: Database error Pin
atulks.in25-Jan-07 0:11
atulks.in25-Jan-07 0:11 
hey well then we have a work around that u can try......once user adds a blank row and clicks on save with nulls in that row ....delete that row from datatable as follows...

lets say actual datatable name is dataTable
and the temp one we are creating for manipulating is temptable

temptable = dataTable
For dtblnkrowcnt = 0 To dataTable.Rows.Count - 1
For colcount = 0 To dataTable.Columns.Count - 2
'u can check for blank or system.dbnull.value as suitable.....
If dataTable.Rows(dtblnkrowcnt).Item(colcount) = "" Then
blankcount = blankcount + 1
End If
Next
If blankcount = dataTable.Columns.Count - 1 Then
temptable.Rows(dtblnkrowcnt).Delete()
End If
blankcount = 0
Next
temptable.AcceptChanges()
dataTable = temptable
i know its just a workaround but it should fix up the issue ....best of luck dude.....

" There are 10 types of people one who understands binary and one who don't................."

QuestionDatabase error Pin
lanache23-Jan-07 23:47
lanache23-Jan-07 23:47 
AnswerRe: Database error Pin
Ahmed El-Badry24-Jan-07 0:39
Ahmed El-Badry24-Jan-07 0:39 
GeneralRe: Database error Pin
lanache24-Jan-07 22:20
lanache24-Jan-07 22:20 
QuestionIs this possible??????? Pin
FeRtoll23-Jan-07 22:52
FeRtoll23-Jan-07 22:52 
AnswerRe: Is this possible??????? Pin
IqbalVB25-Jan-07 20:03
IqbalVB25-Jan-07 20:03 
GeneralRe: Is this possible??????? Pin
FeRtoll28-Jan-07 23:21
FeRtoll28-Jan-07 23:21 
Questioncreating a batch file to generate dll from code files of vb6 and vb.net Pin
atulks.in23-Jan-07 22:19
atulks.in23-Jan-07 22:19 
AnswerRe: creating a batch file to generate dll from code files of vb6 and vb.net Pin
Ahmed El-Badry24-Jan-07 0:42
Ahmed El-Badry24-Jan-07 0:42 
GeneralRe: creating a batch file to generate dll from code files of vb6 and vb.net Pin
atulks.in24-Jan-07 19:41
atulks.in24-Jan-07 19:41 
QuestionFile Watcher Question Pin
FeRtoll23-Jan-07 21:37
FeRtoll23-Jan-07 21:37 
QuestionCustom control Textbox Pin
Vikash Yadav23-Jan-07 21:16
Vikash Yadav23-Jan-07 21:16 
AnswerRe: Custom control Textbox Pin
Christian Graus23-Jan-07 22:03
protectorChristian Graus23-Jan-07 22:03 
GeneralRe: Custom control Textbox Pin
Vikash Yadav23-Jan-07 23:14
Vikash Yadav23-Jan-07 23:14 
GeneralRe: Custom control Textbox Pin
Christian Graus23-Jan-07 23:24
protectorChristian Graus23-Jan-07 23:24 
GeneralRe: Custom control Textbox Pin
Vikash Yadav23-Jan-07 23:38
Vikash Yadav23-Jan-07 23:38 
Questionremove scrollbars form datagrid ms fw 1.1 Pin
andreapv23-Jan-07 20:46
andreapv23-Jan-07 20:46 
Questioncopy of exe does not work [modified] Pin
the.bombardier23-Jan-07 20:31
the.bombardier23-Jan-07 20:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.