Assuming that you want tabs delimiting the columns, and each column to be 20 characters wide. A gotcha is that if any of these strings are more than 20 characters (or whatever length you specify) your value will be that length. PadLeft does not truncate, you'll have to do that yourself.
We are migrating our web application from VS.NET 2003 to VS.NET 2005.
after migrating to 2005, it is giving two major errors for the following:
1> In HTML, withing code and at page directive: strict implisit on not allow conversion from object to string.(I tried for both on and off option)
2> for declaring Text attribute for label and other controls in HTML, its giving error: text property can not assign declarative. (I have code like: Text="Jim")
I am very much new for vs.net 2005.
i really appreciate any help on this.
i do binded data from the database onto the datagrid.Datagrid contains a templated column which displays some image.i want to navigate(some anotehr page)to the respected resource while clickig on the image present in the grid. Plz send me apprapreate code or articles related to meet this scenario.
I got an ASP.NET page where I got a table with a button menu.I need to show a HTML page by clicking any button but the tricky part is to show this HTML page in the same page inside a tablecell from the same table.Any ideas?
Please check that the CDO is properly registered on your system. For that you will have to re-install cdosys.dll and cdonts.dll. First uninstall cdosys.dll and cdonts.dll from you system using these commands.- RegSvr32 "path to cdosys.dll" /u RegSvr32 "path to cdonts.dll" /u
Then install them back by.
Run the RegSvr32 "path to cdosys.dll" and RegSvr32 "path to cdonts.dll". These files usually reside in your System32 directory under the windows root directory.
You can use the command prompt to issue these commands.
hope this solves your problem.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder coolestCoder
I want to use Ajax Accordion in my asp.net website . my accordion has two accordion pane ,each contains a GridView bound to database! Now I write codes to bind GridView to DataBase but when I place my GridView in accordin pane an error occures with message "The Name GridView1 does not exist..."! How can I fix problem???
the code is :