unable to retain a value of a textbox which is in a gridview
Hi,
I am having a gridview with dropdownlist and textbox controls.
I
am generating a value in the textbox2 depending on the textbox1 value
using the javascript in every row of gridview. In onblur() function of
textbox2, I am disabling the textbox2.
Before textboxes, I am
having dropdownlist's in every row of gridview. when I disable the
textbox2 in the first row and select the value of dropdownlist in the
second row, the value of textbox2 in first row is not visible.
I tried by using the viewstate but I am unable to retain the value.
I searched in google but I could get the appropriate solution
Please help me.....
Answers (4)
1
Hi,
It sound like you have version 655 but the mdf version is 661 (from MS SQL Server R2). There are couple of options.
- upgrade your SQL Server 2008 to SQL Server 2008 R2
- use the Generate Scripts tool to generate scripts for the database objects (abc) and run the script on your SQL server.
NOTE: You might have Microsoft SQL Server 2008 R2 Management Studio on your machine but that doesn't mean that you have Microsoft SQL Server 2008 R2
Accepted 1
Right click the database, Tasks, Generate Scripts...
http://msdn.microsoft.com/en-us/library/ms178078%28v=sql.105%29.aspx
1
hi, where do we find this Generate Scripts tool to generate scripts for the database objects and plz share the link if its available. What are the steps to be followed to convert from sql server 2008 to sql server 2006 R2