How to store the selected values of a group of check boxes in to database...
hi,How to store the selected values of a group of check boxes in to database using asp.net (c#). Eg: storing the hobbies selected by the user while registering, in to database.--bdhkrl.
View ArticleSqlDataSource Selecting/Selected events not firing
Hello, i'm having the exact similar situation as this older thread, but was unable to follow the step provided to resolve. Can anyone shed light on what's actually needed to have the event fired so i...
View ArticleWild Card Search in Asp:Repeater
helloi have a repeater control i want to search Repeaters record (wild card search) usng text boxhow can i do this using json / jquerty / javascript
View ArticleAssign returned value to a label
Hi pals,I have the following code:string connect = "SomeConnectionString"; SqlConnection con = new SqlConnection(connect); var cmd = new SqlCommand("SELECT COUNT(DISTINCT parent) AS Expr1 FROM Menus",...
View ArticleQuery timeout but no error?
Hello all, i have this query that i have stored as a function on the db and call it via sqldatasource. The query is big and works in the test environment but not in ptoduction, it produces no timeout...
View ArticleAssign different values to an array of struct
Hi pals,I have a table ("Menus") with the follwoing attributes: Id(int), name(nvarchar), parent(int), path(nvarchar)and a struct named ("menusData"). I am going to assign the data in the table to an...
View ArticleFull-text index search not returning expected results
Hello,My full-text search isn't working at all! I have a temporary table with full-text indexing enabled where files are scanned for social security numbers. If it has one, the user will see a message...
View ArticleDifferences between contains and containstable
Hi,I have the following queries that should be technically equivalent:select * from ProductSearchIndexData psid where Product_ID = 946 and contains(psid.[Text], '("exp*")')SELECT [key] as id, rank FROM...
View ArticleHow to assign timed out value for the Table Adapter in VB NET 2.0
Hi Guys,Currently i am using VB NET 2.0, and my connection to SQL Server are by wizard, which is Table Adapter, here is my current code:-As usual, after the wizard, i having a xsd file, example that is...
View ArticleASP.NET App_Code Visual Database components
Hi,I am working on web based application that has in App_Code file with extension .vbWhen I right click this file I have options- View Code- View DesignerWhen clicking View Designer I can see list of...
View ArticleHow to import an mdf file into SQL Server Management Studio Express?
HiI had to recover my computer but before I did that I grabbed a new version of my mdf file but I don't know how to actually import it into SQL Server Management Studio Express evertime I try to open...
View ArticleProblem with dynamic menu and database
Hi pals,I have created a page named "CreatePage.aspx" in which I can create a new page and also attach its title, link, and parent link to the database table "enMenu". When adding such information into...
View Articlevariable name has already been declared. Variable names must be unique within...
i'm getting the error "variable name '@old_resource_type' has already been declared"why does the command.Parameters.Clear() doesn't work?thanks...public static void Add_Resource_type(string name,...
View ArticleError While connecting to the mysql database ... Need a solution for this...
Connector/Net no longer supports server versions prior to 5.0 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more...
View Articlesqlconnection usage
Hi, I have dataobject classes which all call a dbconn object function eg GetData(strSQL as string) which returns a datatable which is then used by my data objects. I wanted to know within the dbConn...
View ArticleHelp regarding GridView
I am working on Movie Reservation System project. I need help with Seating plan arrangement.I am trying to poupulate gridview with image buttons. I am able to do so with itemtemplate field, but the...
View ArticleThe argument types 'Edm.String' and 'Edm.Int32' are incompatible for this...
<asp:EntityDataSourceID="dsSic" AutoGenerateOrderByClause="true" ContextTypeName="BaseLib.Data.DataContext" EntitySetName="CategorySet" Select="it.Id, '[' + it.Id + '] - ' + it.Name as...
View Articleerror: the provider did not return a ProviderManifest instance
HiI've started a webform project and when I drop a EntityDataSource on the page and want to configure it with selecting Named Connection, there is a message that says:the metadata specified in the...
View ArticleObjectdatasource select parameters in n-tier
I'm writing an asp.net application with gridview using objectdatasource. There are number if text box fields on the form for the user to search on. I've setup the objectdatasource with a BLL and...
View ArticleCannot pass datetime value programmatically through SqlDataSource to Access...
ASP.NET form:<asp:SqlDataSource ID="dsLoan" runat="server" ConnectionString="<%$ ConnectionStrings:connLibrarySystem %>" ProviderName="<%$ ConnectionStrings:connLibrarySystem.ProviderName...
View Article