m using user control contains a grid
when cellvaluechanges event rais i want to rais an event in the form that have this user control,
how can i do that, i tryed set the grid to public but it didnt solve the problem ,
So any body can help me with it
i tryed set the grid to public but it didnt solve the problem ,
It's a bad idea. You have to declare an event in the user control, handle the cell changed event in the user control and fire the user controls event. Your form should handle the event fired by user control.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia
I am working on win forms C#.net and i use AppUpdater to update my version. i Use ServerManifest check option for updating. i have a xml file on server to indicate version and folder to download. i have given all permission from IIS to my folder still i get error as
Auto update Failed: with network error the remote server returned an error :(403)Forbidden.
TO correct try rebooting or relaunching application.
Some suggestions please. thanks in advance
When creating .NET Assembly for COm Usage manualy, there are many steps:
1. compile the type library you have created through C# compiler
2. use the type library exporter utility.
3. you need to create a resource script for your type library using the
command IDR_TYPELIB1 typelib "YourLibrary.tlb"
4. you need to recompile the type library with the new resource file added
i coudn't understand step number 3. what is the necessity of creating the
resource script, and is it done automatically when using visual studio to
expose the assembly and do the job for you.
Im working in .net for last 2 years and I hope I have pretty good Knowledge in C# with ASP .Net technology(.Net Framework 2.0). So I have decided to prepare for Microsoft certifications(MCTS-Microsoft Certified Technology Specialist).
I used the MS self paced learning books, which are absolutely rubbish so I can't recommend them, but I passed no problem so they were obviously enough. I'm not sure the certs are that valuable any more, I probably wouldn't have done them if it wasn't for my company paying because they wanted the points in the MS partner program.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
How can I show the records related to the checked rows in the grid?
Well to understand my point let's take a example,suppose there is grid showing User names if I checked four user names among ten and I want to show there details like address,email id etc in another grid on another page on a button click.These user details are stored in another table.
How can I pass multiple checked values to sql server db and get back multiple results???
thnx 4 your interest.I have a grid showing user names and below the grid there is a button.If I select three users in the grid by clicking the check boxes in front of them and clik on the button,then another page having detailed information about the selected users should display..
so my point is how to send these multiple names in qury to the database?
Last Visit: 23-Oct-20 15:25 Last Update: 23-Oct-20 15:25