- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
17 Posted Topics
Do you mind posting some sample of your code that you used
Out of Interest what are you familiar with ?????
As far as i know you cant, if there is no data it will not show, if i may ask why do you want to show an empty Gridview ?
Question one.Heres a suggestion you could play with,on the Page unload event,you could Do a DB insert,during which you would insert the user id and the current DateTime will be inserted into the DB,heres an example but im writing to a text file none the less its the same concept. …
Hi,heres some sample code that i hope will help you,basically whats happening with this code is that we retrieve,the FileName from an Upload Control then we separate the fileName & Extension,what youb then do is build up the file Name with fileName+DateTime+Extension,then we save the file on the specied server …
Do you want to add users,or roles ???because there is an alternative way to go about it using the User/Role Managemnt API..If you need help with this just post any further questions,For intstance the code below shows you all the users ,similiar to the users you would see on the …
Try this section of code,basically what it does is this. it gets the DataTable rows inside the dataset(getDataSet) so that you can be able to accsess your desired values. [code] DataTable myTable = GetDataSet.Tables[0]; foreach (DataTable DT in GetDataSet.Tables) { foreach (DataRow in DR myTable.Rows) { string value1; string value2; …
Truncation usually means that there is an attemtp to insert a larger length value into a column.Example "Column= Varchar(4)", when you attempt to insert the following string "ferrari" into that column ,you will get an error because the length has been exceeded by 3 characters...So try increasing the length value …
Please Help, I am creating a Simple Crystal report that views outstanding logs for our call centre,I have a stored procedure that retrieves all the Info I need.Here is where it gets interesting.The Report retrives all the relevant data and shows me page One.When i try to view the second …
Its really easy ,just that you need need to follow these steps... navigate to the following Directory 1.C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ Execute The following tool. (aspnet_regsql.exe) Click Next accepting all default settings just pay attention to the Following though Server = SQLServerName\InstanceName DataBaseName = myDBName 2.on the Web.config add the following(Under AppSettings Tag) …
hi all,I was wondering if someone could help me, i need to retrieve DataBase aliases from BDE using C#(Windows), what ive done is so far is to manage to read the file path below from Binary to string and display it on my console application(From here i can see all …
Hi; i get what yuo are saying and i know at times its irritating when a person points you to a link but please read this one it helped me a lot.It covers the Basics if you have issues just post them and we'll work them out..... Part 1 to …
somehow your Datasource to the DropDown list Box... I am not familiar with using the Drag on DataSource but heres one way that might solve ur problem. as a global declration create and populate your DataSet(myDataSet) on The Code behind of aspx(Page load event) add the followoing code. Dataset getSet …
Hi all i seem to be having an issue with LINQ, i am currently maintaining an in house Intranet application at work,When Saving logs it seems to slow down now,upon debugging i have came to realise that everytime it saves a log the application pauses at these two section lines …
Im not to sure if your Pk is a Integer/String,but try creating a function that returns a number for PK(append int to string if ur PK includes both),this will at least ensure that only one integer is returned...Insert this Pk to the DB
Try this code,it inserts one parameter(txtName.Text) into table"tblTble",for all paramemters(OleDbProvider uses "?" to represent SQL Prameters)the analogy is the same,also Note this goes under the Button(Insert) click event...Try reading more about the DataAdapter Object from MSDN website...Hope this helps you string myConstr = "@YourConnectionString; string InsertQrt ="Insert Into tblTable(Name) Values(?)"; …
Basically this is what they are saying(in Vb.Net if using C# tramslate accordingly)..... 'The getallProjects should return a dataset with a table which has skillname as a column CbxDisplaySkillslstModality.DataSource = NewAdmin.getAllProjects() CbxDisplaySkills.DataTextField = "skillname" CbxDisplaySkills.DataBind()
The End.
samacoba