|
Hitting the database every time the user changes cell value will not be a great idea. I suggest to have a save button or something of that sort in your form. On click of that button you can update the values back in the database. You can find lots of examples for saving data back to database on web.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
thank's for the help
what i need to do ?
after i change cell value, i need to run over the datagridview
and update the database ? this way ?
can i get sample code for this ?
thank's in advance
|
|
|
|
|
Not exactly. Let the user make changes in the values. And when he/she is done, have a save button to send the updated data back to database. You will need to handle the click event of the button and update the data in your database.
As far as sample code is concerned, this is a bit trivial thing. So, a quick search with correct keywords would give a lot of samples to you.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Hi guys,
I have a requirement to look at extending functionality of a custom Store. The store contains a tree, and what my client needs to happen is that once a folder is selected then either a VS form containing a web control, or a browser, is displayed filling the right hand pane of the screen pointing at a custom page on their intranet.
I am struggling to find if this is possible within Outlook 2003 and where to start looking.
Any help much appreciated.
Thanks
Stuart
|
|
|
|
|
007_Stu wrote: I am struggling to find if this is possible within Outlook 2003 and where to start looking.
Your problem description implies this is a web issue; could you clarify what this has to do with Outlook?
|
|
|
|
|
I need to click on a folder within an Outlook (specific) Store and display either a browser, or a .net form containing a browser in the right hand pane of outlook....
|
|
|
|
|
007_Stu wrote: I need to click on a folder within an Outlook (specific) Store and display either a browser, or a .net form containing a browser in the right hand pane of outlook....
Sorry, I'm not sure I understand what you are trying to do. Can you explain what code you are using and how it interfaces with Outlook?
|
|
|
|
|
Hi,
I know generics had come after StringCollection, but is there any major difference why we should go for List<string> and not the other...or vice-versa..
Regards,
Priya.
|
|
|
|
|
|
i m getting data from other site. the site is in aspx and paging are used in that page. i m able to get data from the first page but did not able to move to next pageing.
i have sent all the needed data. the link of the page is as
<a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GrdVwJobList','Page$2')">2</a>
thanx
amirzada
|
|
|
|
|
This question would be more likely to get an answer if posted to the ASP.NET forum.
|
|
|
|
|
i don't think so cuz i m not using web application its totaly a c# console application
amirzada
|
|
|
|
|
aamirzada wrote: i don't think so cuz i m not using web application its totaly a c# console application
The description of your problem suggests a web application. The code you posted suggests javascript. I see nothing to indicate a console application, whether C# or any other language.
|
|
|
|
|
thnax for your help i have post the issue on asp.net too.
thank you
amirzada
|
|
|
|
|
i did not find any tutorial that have discus these httpwebrequest and webresponse classes.
please help where can i find the detail tutorial book or any thing that have discuss these classes in depth
thanks
amirzada
|
|
|
|
|
A little search on Codeproject code have landed you on this[^] page.
Books are as useful to a stupid person as a mirror is useful to a blind person. - Chanakya
|
|
|
|
|
thanx for your help
but i need more advance knowledege of it i know the basic of these classes
i m stuck where the page has javascript and i want to send a values to form but it uses javascript. i don't know how to handle javascript in programing.
thanx
amirzada
|
|
|
|
|
Another ASP.NET question; please use the correct forum.
|
|
|
|
|
Hi,
My application creates an access (*.mdb) file and once the file is created, i try to launch (open) the access file through my application itself. I have used Diagnostics.Process.Start(FileName) to launch the file.But i find that in some machine when i try calling this method, the file gets opened but inturn i also used to get some win32 exception messages. Please help as to why this occurs
|
|
|
|
|
1. Help needed is not a good subject.
2. What is the exception you get? Did you searched the error message in Google?
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
What exceptions? Did you try creating and launching an instance of access on a machine that does not have it installed?
|
|
|
|
|
I have a application wherein database is located on server and there are client computer which access the central database server. How to handle a situation when more than one client tries to access the same data table on the server. I'm using SQL Server 2005. It it internally handled in SQL 2005? or i need to handle in my C# code?
Please help
|
|
|
|
|
In SQL, you can use Transactions to manage concurrency during operations. You can also lock entirely a table during an inret or update by using the WITH TABLOCK clause at the end of your query.
If you want to do it in your C# code, look at the TransactionScope class.
|
|
|
|
|
With a transaction, as mentioned, but clients can still use WITH(NOLOCK) in a SELECT statement to ignore your lock when reading.
|
|
|
|
|
Hi guys
i have built my own socket program which runs through Tcp/ip and every things work fine. However, i don't really know how can i download random files from my server by using windows directory. let me make this clear imagine that you have a client connecting to the server that is exist on your mum's computer and you really want to download the file from your mum's computer documents but you don't really know where is it exactly on the documents. It might be on the picture folder or may be it's on the music folder. Therefore, I'm trying to run my directory and search for it like I'm working on my mum's computer.
Please i would appreciate it if anyone help me to figure this out even if he/she gives me a link to a book or open source code even if it's on c# that's fine.
thanks alot
|
|
|
|