Dim balrow As DataRow = obj.Tables("openacc").NewRow()//error at this line saying Object reference not set to an instance of an object. balrow("name") = fname balrow("address") = fulladdress balrow("oldacno") = oldno balrow("status") = statusname balrow("nomineeno") = nomineeno balrow("opendate") = open_date balrow("fromdate") = frdate balrow("todate ") = todate balrow("fglhead") = fglhead balrow("open") = open obj.Tables("openacc").Rows.Add(balrow)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)