Do you know what AJAX is ? You need javascript to do what you're describing, but unless you want to store what is in which listbox in your database as it occurs, AJAX is of no value to you whatsoever in doing this.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
u can use a Check Box as Template Field : in gridview. and check the value in DB if it is set the set the value as true else false !!!
Happy Programming ----- Abhijit
We will not do your homework. Ask specific stuff. With such question, don't expect anything. Look other post, and then ask appropriate question. A HINT. Get What Treeview has, then clear grid, and write code to add to grid.
Are you asking how to display an image in a DataGridView column instead of the value of the column?? Which version of VB.NET are you using?? Are you using a DataGrid or a DataGridView control??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007
Not quite what I was looking for. I do have a datasource and what not but I am looking for a better way to grab the actualy entered data without having to declare 2 variables (Textbox and a integer) just to get the data from the formview.
Use RegisterClientScriptBlock to add javascript to your page. Better yet, as you're referencing .js files ( which is always better ), just put the code direct into the aspx. I tend to use registerclientscript block to create variables in my script which give me the names of ASP.NET generated controls, so I can interact with them in my javascript/AJAX code.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Yeah. Good call.
-------------------------------------------------- Play Nation States and join The Code Project region with the password: byalmightybob
If you want to show asp.net variable in HTML Code then u can use viewstate for this. like... viewstate("myHeight") = unit.pixel(sdr.Item('height') then in html code simply... <% response.write(viewstate("myHeight")) %>
Lets work it Out.........!
Why cant you trace the information from exceptions with the user clicks...When an error generates it need to log the message exception also to your DB... Thanx, RPM.
Why humans having 99.9% of unused brain!!!