Click here to Skip to main content
15,891,136 members

Comments by dnibbo (Top 45 by date)

dnibbo 6-Apr-21 4:23am View    
Thanks Chill60
All of your suggestions are good workarounds, I was hoping someone had found a way to get the bound grid to work as a quick win. However, there does not seem to be a way which is a shame :(
I have taken away the bindings and now populate the dgv manually with an 'addable' row. I can then just ignore empty rows. User is delighted with the results so all good now :)

I a sure in the 'old days' you could drag a datasource onto a form and away you go...
dnibbo 1-Apr-21 11:33am View    
That looks like a possible solution but I don't understand why we can use a bound datagridview?
In theory you should be able to drag a datatable onto a form and boom, job done!
I need to write a few of these and dont have that much time so was looking for a quick solution. I guess this it is not going to be the case so will write my own as I have in the past.
I am just a bit surprised that there is not an obvious workaround for something that to me seems so simple...

Thanks
dnibbo 31-Mar-21 11:08am View    
Apologies, I was getting frustrated...
This is .NET 4.5, I am using VB but I am sure c# will be the same as it is not in my code that the problem occurs.
I will post some images to illustrate the problem.
Thanks Chilli
dnibbo 14-Aug-20 3:48am View    
Please note that the above does not work properly either.
Files seem to get to the c:\pub folder but not the deployment folder and manually copying does not work.
I am now getting: Parser Error Message: Could not load the assembly 'App_Web_uznma5bb'. Make sure that it is compiled before accessing the page.
The search goes on :(
dnibbo 2-Aug-20 6:53am View    
Hi Sandeep

Thanks for the reply, it did look hopeful but alas it does not fix the problem.
That path specifies where VS will compile to.
Once compiled, I have no idea why, it copies it to another temp publish folder called C:\Users\myusernamexx\AppData\Local\Temp\WebSitePublish\WebPortalNet4-872599845


I need to somehow get it to use a different path for that bit.
I have looked in that .pubxml to see if there are any other paths that can be overridden but cant see anything.

One site suggested <PublishTempFoldername>C:\Pub\ but that didn't seem to work.

Thanks