sqldatasource
How do I get the datasourceID of the datasource that is firing the onSelecting event?
I have a couple different sqldatasources on an asp.net page that all fire the same onSelecting Event Handler. The reason for this is because the same code in the event handler can be applied to all da[详细]
2023-02-16 07:33 分类:问答whats wrong in this update statement :?
whats wrong in this update statement : declare @s1from datetime UPDATE Table1 SET Product = @Product , fare =开发者_运维知识库 @fare, s1from = convert(datetime,convert(datetime,@s1from,103),120)[详细]
2023-02-15 17:51 分类:问答SQLdatasource select put into text box
I am trying to populate a text box from a sqldarasource but I keep getting \"Object reference not set to instance of an object\". Anyone have a clue what im doing wrong? My select statement that I\'ve[详细]
2023-02-15 04:01 分类:问答Perform Action on Each Record from SQLDataSource
I\'ve submitted a bunch of questions as of late - but this has been a great repository of information. I\'m a .NET nub, as you can see, so if I\'m missing basics or information please let me know and[详细]
2023-02-13 02:44 分类:问答Adding just Unique Data to Gridview
I have a table like this. Columns --> (MUSTERI, AVUKAT, HESAP (Unique)) My page design like this. Simply, first dropdown is MUSTERI, second dropdown is AVUKAT, when i click EKLE (it means ADD) but[详细]
2023-02-12 07:46 分类:问答PHP equivalent of ASP.NET SqlDataSource
Last night I was doing a GridView combined with SqlDataSource in Visual Studio for my school project. Usualy I use PHP for web development, but that combination is really powerful, so I would like to[详细]
2023-02-10 22:06 分类:问答SQLDatasource parameters
How can i set sql parameters for an sqlDatasource in the code behind? I am trying like this: int id=1; SqlDataSource1.SelectCommand = \"SELECT * FROM categ WHERE id=@id\";[详细]
2023-02-09 07:16 分类:问答Web forms, if eval() is 0
I have a problem in a Web Forms project. I have a gridview bound to a SqlDataSource. In my gridview\'s ItemTemplate I have following code:[详细]
2023-02-09 03:58 分类:问答Filtering SqlDataSource with multiple dropdownlists
I have an SqlDataS开发者_开发知识库ource at the moment, which I want to be able to be filtered using 3 DropDownList\'s. Basically, each DropDownList contains values for a certain column on the table,[详细]
2023-02-08 19:39 分类:问答ASP.NET - Use a checkbox to change the results of a SqlDataSource
I\'m using Visual Web Developer 2010 Express. This is my first attempt at creating a .NET page. I have a Gridview on a page that displays the results of a GridQuery. This works. I have a checkbox cont[详细]
2023-02-08 09:16 分类:问答