|
More than one GridView
|
| |
If you are using a SQLDataSource control, and considering the SelectCommand attribute is associated with that control, if you have more than one GridView, that each select data from different tables...you need a SQLDataSource control for each, correct? (Visual Studio 2005) Thanks
|
|
IIS and SQL Server 2000/2005 Windows Authntication Question
|
| |
We have asp.net application setup using Windows Authentication. For the website, under directory security the only thing checked is "Windows Authentication". We have the users specified in SQL who have rights to connect...etc. In the Web.Config, it is specified as Integrated Security=true. However, when the user goes to the site, an error message is... more »
|
|
GridView basics
|
| |
Hello, here are some basic GridView questions. I'm using a GridView in Visual Web Developer to display data from an SQLServer database. I use C# as programming language. - How can I format the text in a column. I'm looking for some event handler that takes the value from the database and formats it for... more »
|
|
gridview for two tables
|
| |
I have a SQL select command that draws data from two table. Data from table1 is for display only, while data from table2 is allowed for edit and deletion. I would like to know whether gridview is good for this kind of requirement, or if other control is more appropriate. Specifically, can columns from table1 be configurated non-editable and non-deletable in the... more »
|
|
Access Masterpage SQLDatasource
|
| |
I have a MasterPage with a SqlDatSource named "myDS". In a content page placed inside a ContentPlaceHolder I have a GridView that I need to connect to myDS. The problem is that "myDS" is not listed in the GridView's "Choose Data Source" list. If I force it to "myDS", I can access the data in runtime... more »
|
|
Hyperlink template problem
|
| |
Hi, I'm having a problem with passing two parameters via a hyperlink template. here is my code <asp:TemplateField> <ItemTemplate> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# iif(eval("Type") = "Agency", Eval("ID", "Agency.aspx?agencynum={0}"), Eval("ID", "Contact.aspx?contacttype=Agen &contactnum={0}")) %>' Text='<%... more »
|
|
gridview databinding from codebehind
|
| |
hi, I wanted to populate a gridview from codebehind. The data comes from 10 different tables. The table from which data is to be taken is chosen using a dropdownlist. I needed to update some of the fields shown on the gridview. The no. of fields will be different for different tables. Also, one of the fields in 6 of these tables must display a dropdown... more »
|
|
gridview Rowupdating
|
| |
Hello all, I have a gridview there are two check box fields on the gridview. What I'm tring to do is when the record is edited if the check boxes have changed update another field that is a hidden field on the gridview. I'm thinking I can do this in the RowUpdating event. I just don't know how to do this. below is the basic gridview code... more »
|
|
|