AboutHosnieh [Sara] Expertise Questions which I can answers:
1- Programming (C#.net, Vb.net, javascript, HTML) more Web applications
2- CSS
3-Databases (Ms SQL server -all versions)
4-OS (workstation and servers (windows))
5- MS office
6- General problems in computer software
I cannot answer other kinds of questions which I did not mention here.
Experience my CV: http://iran-americamarket.com/Contact.aspx
I have more than 8 years Experience in IT field.
my core skills are :
Asp.net Developer (Portal, Dynamic websites ,e-commercial websites)
Visual studio.net 2003,2005,2008 (VB.net , C#.net , AJAX.net)
O.O programming (n-tier Architecture)
Database (SQL server 2000-2005, Oracle9i, Ms Access) , TSQL, Stored procedures, Triggers
IIS 5-6 , SSL (Installation and configuration SSL) , Network(TCP/IP ,Active directory , DHCP, ), Windows 2000-2003 Server Configuration and administration
UML (usecase diagram, class diagram) , Microsoft Project
Graphics Design( Photoshop , Flash )
JavaScript , CSS, DHTML, XML
Hardware (physical installation, configuration , and driver installation)
Ms Office all versions (Ms word, Ms Access, Ms Excel, Ms Outlook , Ms FrontPage, and etc)
OS (Windows Linux) and VMware
Network Monitoring (Solarwinds)
Computer Teacher, English Teacher
MATLAB (simulations and computation projects)
Organizations -
Publications Translation Experience
English to Farsi
Use brain scan to predict when people will buy products . May 2008 (Published in AI Magazine) Medicine , AI
Totally tubular motors _Tomorrow automation technology : March 2008 (Published in AI Magazine) AI , Mechanic, Industry
Improving PLC compatibility and function flexibility: March 2008 (Published in AI Magazine) AI , Robotics , Industry
Make packaging lines more flexible: January 2008 (Published in AI Magazine) AI , Robotics , Industry
Personal CNC : December 2007 (Published in AI Magazine) AI , Medical , Industry
Multipurpose optical tools Characterize as MEMS: December 2007 (Published in AI Magazine)- optical physics
Managing Innovation: November 2007 (Published in AI Magazine) IT Management
Calculating the total value of ownership (TVO):October 2007 (Published in San-ate Hooshmand Magazine) -IT and Economics
Education/Credentials I am currently student and doing my Master in Computer Network Engineering
Awards and Honors - Poster about new methods of management in Organization( Entrepreneurship ) - 2007
Question QUESTION: Dear Hosnieh
Hi
I 'm new to ASP.NET and C#.
I have some table which are joined together.
for example: contractsDetails and Companies that are joined to each other on companyID.
I created a Dataset Item under my business layer and created a table adapter based on a select query on it to get all the information of a contract and the related company together.
it was for Fill and Get methods.
i made an update query which updates only contract details, not company details.
in my page, i have a grid View which lists the information of contracts and the company name.and the selection property of the grid view is actived.
there is a form view that shows the details of the row in which is selected.
I attached it to an ObjectDataSource which is related to my Dataset. I set the select, Update &... methods.
the process of showing data works properly, but NoT editing & deleteing data &... .
i got this error:
the ObjectDataSource cannot find a non-generic "update" method which have parameters: contractID, submitDate, submitNum & ....(all the paramethers which i used in my update query)
but i have this method in my dataset item and also i have this
parameters in my ObjectDataSource
Now is there any solution?
do you want to attach my project or my code?
by the way, i am Iranian too, can I continue this discussion in Persian?
thanks.
ANSWER: Salam,
yes you can write in Persian,
Do you set parameters to your objectdatasource, also if you have relational tables do you set their relation for update and delete command I mean when you delete something,or update something affect on both table or you don't want this happen?
if you don't know how to set parameters you can find an example in the following links on MSDN http://msdn.microsoft.com/en-us/library/57hkzhy5.aspx
if this is not what you need , let me know more about your problem.
Regards,
Answer salam,
masaleyeh aval inke agar shoma darid yek table ro update mikonid dige chera az inner join... estefade kardid niazi be on nadarid.
faghat chizi ke toyeh db barayeh in do ta table set mikoni va khodetam mikhay be cheshme khodet bebini ine ke boro toyeh ghesmate diagram/right click/new database diagram bad right click royeh safhe in dota table ro add kon , bad az id yeki be on yeki drag kon (primary key va foreign key ro dar nazar begir)bad ghesmate "insert/update specification" delete rule : cascade update rule : cascade
be in soorat har update va deleti royeh joft table tasir mizare.agar halate defaultesh bashe update anjam bedi error behet mide hamintor delete chon vabaste be on table hast.
chize digeii ke nemidoonam set kardi ine ke shoma goftid
<asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit"
Text="Edit"></asp:LinkButton>
khob ama toyeh khode form viewer barayeh command "Edit chizi tarif nakardid hamintor commnad delete faghat goftid vojood dare vali esm barash nazashtid.
<asp:FormView ID="FormView1" runat="server" OnItemDeleted="name of function in your code" OnItemUpdated="" >
in link ro negah kon